PT-2026-163389
CVE-2026-139348
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Found an issue in the description? Have something to add? Feel free to write us 👾