Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-35934— net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 net/smc 模块存在漏洞。

AI Predicted 7.5 Difficulty: Easy EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux e888a2e8337c96dd785d204cf8ff775e79173add< bc4d1ebca11b4f194e262326bd45938e857c59d2 affected
e888a2e8337c96dd785d204cf8ff775e79173add< b9117dc783c0ab0a3866812f70e07bf2ea071ac4 affected
e888a2e8337c96dd785d204cf8ff775e79173add< d7ee3bf0caf599c14db0bf4af7aacd6206ef8a23 affected
e888a2e8337c96dd785d204cf8ff775e79173add< a2e6bffc0388526ed10406040279a693d62b36ec affected
e888a2e8337c96dd785d204cf8ff775e79173add< 6e920422e7104928f760fc0e12b6d65ab097a2e7 affected
e888a2e8337c96dd785d204cf8ff775e79173add< 00af2aa93b76b1bade471ad0d0525d4d29ca5cc0 affected
5.10 affected
< 5.10 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-35934

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list() Many syzbot reports show extreme rtnl pressure, and many of them hint that smc acquires rtnl in netns creation for no good reason [1] This patch returns early from smc_pnet_net_init() if there is no netdevice yet. I am not even sure why smc_pnet_create_pnetids_list() even exists, because smc_pnet_netdev_event() is also calling smc_pnet_add_base_pnetid() when handling NETDEV_UP event. [1] extract of typical syzbot reports 2 locks held by syz-executor.3/12252: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.4/12253: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.1/12257: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.2/12261: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.0/12265: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.3/12268: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.4/12271: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.1/12274: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878 2 locks held by syz-executor.2/12280: #0: ffffffff8f369610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8f375b88 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x10a/0x1e0 net/smc/smc_pnet.c:878
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 net/smc 模块存在漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux e888a2e8337c96dd785d204cf8ff775e79173add ~ bc4d1ebca11b4f194e262326bd45938e857c59d2 -
Linux Linux 5.10 -

II. Public POCs for CVE-2024-35934

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-35934

登录查看更多情报信息。

Mailing List Discussions for CVE-2024-35934 (1)

Other References for CVE-2024-35934 (6)

Same Patch Batch · Linux · 2024-05-19 · 82 CVEs total

CVE-2024-35861 9.8 CRITICAL smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
CVE-2024-35862 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_network_name_deleted()
CVE-2024-35863 9.8 CRITICAL smb: client: fix potential UAF in is_valid_oplock_break()
CVE-2024-35864 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_valid_lease_break()
CVE-2024-35865 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_valid_oplock_break()
CVE-2024-35884 9.8 CRITICAL udp: do not accept non-tunnel GSO skbs landing in a tunnel
CVE-2024-35870 9.8 CRITICAL smb: client: fix UAF in smb2_reconnect_server()
CVE-2024-35869 9.8 CRITICAL smb: client: guarantee refcounted children from parent session
CVE-2024-35939 9.3 CRITICAL dma-direct: Leak pages on dma_set_decrypted() failure
CVE-2024-35887 8.8 HIGH ax25: fix use-after-free bugs caused by ax25_ds_del_timer
CVE-2024-35915 8.8 HIGH nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
CVE-2024-35889 8.6 HIGH idpf: fix kernel panic on unknown packet types
CVE-2024-35875 8.4 HIGH x86/coco: Require seeding RNG with RDRAND on CoCo systems
CVE-2024-35937 8.1 HIGH wifi: cfg80211: check A-MSDU format more carefully
CVE-2024-35921 7.8 HIGH media: mediatek: vcodec: Fix oops when HEVC init fails
CVE-2024-35905 7.8 HIGH bpf: Protect against int overflow for stack access size
CVE-2024-35890 7.8 HIGH gro: fix ownership transfer
CVE-2024-35920 7.8 HIGH media: mediatek: vcodec: adding lock to protect decoder context list
CVE-2024-35919 7.8 HIGH media: mediatek: vcodec: adding lock to protect encoder context list
CVE-2024-35897 7.8 HIGH netfilter: nf_tables: discard table flag update with pending basechain deletion

Showing top 20 of 82 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-35934

No comments yet


Leave a comment