Security mailing lists by PureSourceCode

CVE-2026-139348

HIGH 7.8CVSS 3.1

net/smc: hold a reference on net_device returned by pnet_find_base_ndev()

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.

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < e3f992158d96d47aae01aa76c5e35af941d726c2; >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < 6176fa6b14c1ab439936b6d8ceda9a38dfb149dd; >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < bd8ea7ddb909807b2200e4d72b38a0bc7d746298; >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98; >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < 521c06e5d15386013de2196aa6917039ecf192ce; >= 0afff91c6f5ecef27715ea71e34dc2baacba1060, < e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e e3f992158d96d47aae01aa76c5e35af941d726c2, 6176fa6b14c1ab439936b6d8ceda9a38dfb149dd, bd8ea7ddb909807b2200e4d72b38a0bc7d746298, ea3bf68cfa530b4c1e5a4fe15fca5409a32b8c98, 521c06e5d15386013de2196aa6917039ecf192ce, e6435b2cc5fdf008cdb67ad9a811a266e8ac9c1e
CVE List Linux Linux = 4.19

References

History

  • 1 Dec 2026 06:48 UTC · NVD: scored 7.8
  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.