CVE-2026-139348
net/smc: hold a reference on net_device returned by pnet_find_base_ndev()
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: hold a reference on net_device returned by pnet_find_base_ndev() pnet_find_base_ndev() resolves the base net_device for stacked devices under RTNL, then drops the lock and returns the raw pointer without taking a reference. All three callers dereference the pointer after RTNL has been released, creating a use-after-free window if the device is concurrently unregistered. Take a reference with netdev_hold() before dropping RTNL and add the matching netdev_put() in every return path of the three callers: - smc_pnet_add_eth() - smc_pnet_find_roce_by_pnetid() - smc_pnet_find_ism_by_pnetid() Found by code analysis, confirmed with a proof-of-concept that triggers a KASAN slab-use-after-free report.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Dec. 1, 2026, 6:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Hold a reference using netdev_hold() before dropping RTNL.
- Add matching netdev_put() in all return paths.
- Apply kernel patches that implement these changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139348.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139348 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139348
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139348 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139348 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/smc: hold a reference on net_device returned by pnet_find_base_ndev() pnet_find_base_ndev() resolves the base net_device for stacked devices under RTNL, then drops the lock and returns the raw pointer without taking a reference. All three callers dereference the pointer after RTNL has been released, creating a use-after-free window if the device is concurrently unregistered. Take a reference with netdev_hold() before dropping RTNL and add the matching netdev_put() in every return path of the three callers: - smc_pnet_add_eth() - smc_pnet_find_roce_by_pnetid() - smc_pnet_find_ism_by_pnetid() Found by code analysis, confirmed with a proof-of-concept that triggers a KASAN slab-use-after-free report. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139348.json">CVE-2026-139348</a> Added Reference https://git.kernel.org/stable/c/521c06e5d15386013de2196aa6917039ecf192ce Added Reference https://git.kernel.org/stable/c/6176fa6b14c1ab439936b6d8ceda9a38dfb149dd Added Reference https://git.kernel.org/stable/c/bd8ea7ddb909807b2200e4d72b38a0bc7d746298 Added Reference https://git.kernel.org/stable/c/e3f992158d96d47aae01aa76c5e35af941d726c2 Added Reference https://git.kernel.org/stable/c/e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e Added Reference https://git.kernel.org/stable/c/ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98