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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26638— nbd: always initialize struct msghdr completely

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存在安全漏洞,该漏洞源于msg->msg_get_inq值未初始化。

AI Predicted 5.5 Difficulty: Hard EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1201 · Password Policy Discovery

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60< d9c54763e5cdbbd3f81868597fe8aca3c96e6387 affected
f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60< 1960f2b534da1e6c65fb96f9e98bda773495f406 affected
f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60< b0028f333420a65a53a63978522db680b37379dd affected
f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60< 78fbb92af27d0982634116c7a31065f24d092826 affected
5.19 affected
< 5.19 unaffected
6.1.76≤ 6.1.* unaffected
6.6.15≤ 6.6.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26638

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
nbd: always initialize struct msghdr completely
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nbd: always initialize struct msghdr completely syzbot complains that msg->msg_get_inq value can be uninitialized [1] struct msghdr got many new fields recently, we should always make sure their values is zero by default. [1] BUG: KMSAN: uninit-value in tcp_recvmsg+0x686/0xac0 net/ipv4/tcp.c:2571 tcp_recvmsg+0x686/0xac0 net/ipv4/tcp.c:2571 inet_recvmsg+0x131/0x580 net/ipv4/af_inet.c:879 sock_recvmsg_nosec net/socket.c:1044 [inline] sock_recvmsg+0x12b/0x1e0 net/socket.c:1066 __sock_xmit+0x236/0x5c0 drivers/block/nbd.c:538 nbd_read_reply drivers/block/nbd.c:732 [inline] recv_work+0x262/0x3100 drivers/block/nbd.c:863 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2700 worker_thread+0xf45/0x1490 kernel/workqueue.c:2781 kthread+0x3ed/0x540 kernel/kthread.c:388 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Local variable msg created at: __sock_xmit+0x4c/0x5c0 drivers/block/nbd.c:513 nbd_read_reply drivers/block/nbd.c:732 [inline] recv_work+0x262/0x3100 drivers/block/nbd.c:863 CPU: 1 PID: 7465 Comm: kworker/u5:1 Not tainted 6.7.0-rc7-syzkaller-00041-gf016f7547aee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: nbd5-recv recv_work
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存在安全漏洞,该漏洞源于msg->msg_get_inq值未初始化。
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 f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60 ~ d9c54763e5cdbbd3f81868597fe8aca3c96e6387 -
Linux Linux 5.19 -

II. Public POCs for CVE-2024-26638

# 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-26638

请登录查看更多情报信息。

Other References for CVE-2024-26638 (4)

Same Patch Batch · Linux · 2024-03-18 · 21 CVEs total

CVE-2024-26641 8.6 HIGH ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
CVE-2023-52616 7.8 HIGH crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
CVE-2024-26640 7.8 HIGH tcp: add sanity checks to rx zerocopy
CVE-2024-26637 7.8 HIGH wifi: ath11k: rely on mac80211 debugfs handling for vif
CVE-2023-52614 7.8 HIGH PM / devfreq: Fix buffer overflow in trans_stat_show
CVE-2024-26632 7.8 HIGH block: Fix iterating over an empty bio with bio_for_each_folio_all
CVE-2024-26631 7.8 HIGH ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
CVE-2023-52612 7.8 HIGH crypto: scomp - fix req->dst buffer overflow
CVE-2023-52610 7.5 HIGH net/sched: act_ct: fix skb leak and crash on ooo frags
CVE-2024-26633 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
CVE-2023-52613 drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment
CVE-2023-52615 hwrng: core - Fix page fault dead lock on mmap-ed hwrng
CVE-2023-52609 binder: fix race between mmput() and do_exit()
CVE-2024-26634 net: fix removing a namespace with conflicting altnames
CVE-2024-26635 llc: Drop support for ETH_P_TR_802_2.
CVE-2024-26636 llc: make llc_ui_sendmsg() more robust against bonding changes
CVE-2023-52617 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
CVE-2023-52618 block/rnbd-srv: Check for unlikely string overflow
CVE-2023-52619 pstore/ram: Fix crash when setting number of cpus to an odd number
CVE-2023-52611 wifi: rtw88: sdio: Honor the host max_req_size in the RX path

IV. Related Vulnerabilities

V. Comments for CVE-2024-26638

No comments yet


Leave a comment