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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26671— blk-mq: fix IO hang from sbitmap wakeup race

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存在安全漏洞,该漏洞源于__sbitmap_queue_wake_up()存在安全漏洞。

AI Predicted 5.9 Difficulty: Moderate EPSS 0.19% · P8

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux da55f2cc78418dee88400aafbbaed19d7ac8188e< 9525b38180e2753f0daa1a522b7767a2aa969676 affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< ecd7744a1446eb02ccc63e493e2eb6ede4ef1e10 affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< 7610ba1319253225a9ba8a9d28d472fc883b4e2f affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< 89e0e66682e1538aeeaa3109503473663cd24c8b affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< 1d9c777d3e70bdc57dddf7a14a80059d65919e56 affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< 6d8b01624a2540336a32be91f25187a433af53a0 affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< f1bc0d8163f8ee84a8d5affdf624cfad657df1d2 affected
da55f2cc78418dee88400aafbbaed19d7ac8188e< 5266caaf5660529e3da53004b8b7174cab6374ed affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26671

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
blk-mq: fix IO hang from sbitmap wakeup race
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: blk-mq: fix IO hang from sbitmap wakeup race In blk_mq_mark_tag_wait(), __add_wait_queue() may be re-ordered with the following blk_mq_get_driver_tag() in case of getting driver tag failure. Then in __sbitmap_queue_wake_up(), waitqueue_active() may not observe the added waiter in blk_mq_mark_tag_wait() and wake up nothing, meantime blk_mq_mark_tag_wait() can't get driver tag successfully. This issue can be reproduced by running the following test in loop, and fio hang can be observed in < 30min when running it on my test VM in laptop. modprobe -r scsi_debug modprobe scsi_debug delay=0 dev_size_mb=4096 max_queue=1 host_max_queue=1 submit_queues=4 dev=`ls -d /sys/bus/pseudo/drivers/scsi_debug/adapter*/host*/target*/*/block/* | head -1 | xargs basename` fio --filename=/dev/"$dev" --direct=1 --rw=randrw --bs=4k --iodepth=1 \ --runtime=100 --numjobs=40 --time_based --name=test \ --ioengine=libaio Fix the issue by adding one explicit barrier in blk_mq_mark_tag_wait(), which is just fine in case of running out of tag.
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存在安全漏洞,该漏洞源于__sbitmap_queue_wake_up()存在安全漏洞。
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 da55f2cc78418dee88400aafbbaed19d7ac8188e ~ 9525b38180e2753f0daa1a522b7767a2aa969676 -
Linux Linux 4.11 -

II. Public POCs for CVE-2024-26671

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

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

Mailing List Discussions for CVE-2024-26671 (2)

Other References for CVE-2024-26671 (8)

Same Patch Batch · Linux · 2024-04-02 · 35 CVEs total

CVE-2024-26665 9.1 CRITICAL tunnels: fix out of bounds access when building IPv6 PMTU error
CVE-2023-52636 8.2 HIGH libceph: just wait for more data to be available on the socket
CVE-2024-26659 7.8 HIGH xhci: handle isoc Babble and Buffer Overrun events properly
CVE-2024-26656 7.8 HIGH drm/amdgpu: fix use-after-free bug
CVE-2024-26663 7.8 HIGH tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
CVE-2024-26664 7.8 HIGH hwmon: (coretemp) Fix out-of-bounds memory access
CVE-2024-26666 7.1 HIGH wifi: mac80211: fix RCU use in TDLS fast-xmit
CVE-2024-26660 7.0 HIGH drm/amd/display: Implement bounds check for stream encoder creation in DCN301
CVE-2024-26673 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
CVE-2023-52633 um: time-travel: fix time corruption
CVE-2024-26674 x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() fixups
CVE-2024-26675 ppp_async: limit MRU to 64K
CVE-2024-26676 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
CVE-2024-26677 rxrpc: Fix delayed ACKs to not set the reference serial number
CVE-2024-26678 x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section
CVE-2024-26679 inet: read sk->sk_family once in inet_recv_error()
CVE-2024-26680 net: atlantic: Fix DMA mapping for PTP hwts ring
CVE-2024-26681 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
CVE-2024-26682 wifi: mac80211: improve CSA/ECSA connection refusal
CVE-2024-26683 wifi: cfg80211: detect stuck ECSA element in probe resp

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26671

No comments yet


Leave a comment