CVE-2026-139348

Source
https://cve.org/CVERecord?id=CVE-2026-139348
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139348.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139348
Downstream
Published
2026-11-30T13:33:55Z
Modified
2026-12-01T07:00:37Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net/smc: hold a reference on net_device returned by pnet_find_base_ndev()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139348.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0afff91c6f5ecef27715ea71e34dc2baacba1060
Fixed
e3f992158d96d47aae01aa76c5e35af941d726c2
Fixed
6176fa6b14c1ab439936b6d8ceda9a38dfb149dd
Fixed
bd8ea7ddb909807b2200e4d72b38a0bc7d746298
Fixed
ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98
Fixed
521c06e5d15386013de2196aa6917039ecf192ce
Fixed
e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139348.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139348.json"