Bug 2586988 (CVE-2026-139348) - CVE-2026-139348 kernel: kernel: Privilege escalation via use-after-free in SMC subsystem
Summary: CVE-2026-139348 kernel: kernel: Privilege escalation via use-after-free in SM...
Keywords:
Status: NEW
Alias: CVE-2026-139348
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:52 UTC by OSIDB Bzimport
Modified: 2026-12-01 07:46 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:52:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.