{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139348",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.928Z",
        "datePublished": "2026-11-30T13:33:55.855Z",
        "dateUpdated": "2026-11-30T13:33:55.855Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:33:55.855Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: hold a reference on net_device returned by pnet_find_base_ndev()\n\npnet_find_base_ndev() resolves the base net_device for stacked devices\nunder RTNL, then drops the lock and returns the raw pointer without\ntaking a reference.  All three callers dereference the pointer after\nRTNL has been released, creating a use-after-free window if the device\nis concurrently unregistered.\n\nTake a reference with netdev_hold() before dropping RTNL and add the\nmatching netdev_put() in every return path of the three callers:\n\n  - smc_pnet_add_eth()\n  - smc_pnet_find_roce_by_pnetid()\n  - smc_pnet_find_ism_by_pnetid()\n\nFound by code analysis, confirmed with a proof-of-concept that triggers\na KASAN slab-use-after-free report."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/smc/smc_pnet.c"
                    ],
                    "versions": [
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "e3f992158d96d47aae01aa76c5e35af941d726c2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "6176fa6b14c1ab439936b6d8ceda9a38dfb149dd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "bd8ea7ddb909807b2200e4d72b38a0bc7d746298",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "521c06e5d15386013de2196aa6917039ecf192ce",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
                            "lessThan": "e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/smc/smc_pnet.c"
                    ],
                    "versions": [
                        {
                            "version": "4.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e3f992158d96d47aae01aa76c5e35af941d726c2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6176fa6b14c1ab439936b6d8ceda9a38dfb149dd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bd8ea7ddb909807b2200e4d72b38a0bc7d746298"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98"
                },
                {
                    "url": "https://git.kernel.org/stable/c/521c06e5d15386013de2196aa6917039ecf192ce"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e"
                }
            ],
            "title": "net/smc: hold a reference on net_device returned by pnet_find_base_ndev()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}