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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-26899— block: fix deadlock between bd_link_disk_holder and partition scan

EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26899

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
block: fix deadlock between bd_link_disk_holder and partition scan
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: block: fix deadlock between bd_link_disk_holder and partition scan 'open_mutex' of gendisk is used to protect open/close block devices. But in bd_link_disk_holder(), it is used to protect the creation of symlink between holding disk and slave bdev, which introduces some issues. When bd_link_disk_holder() is called, the driver is usually in the process of initialization/modification and may suspend submitting io. At this time, any io hold 'open_mutex', such as scanning partitions, can cause deadlocks. For example, in raid: T1 T2 bdev_open_by_dev lock open_mutex [1] ... efi_partition ... md_submit_bio md_ioctl mddev_syspend -> suspend all io md_add_new_disk bind_rdev_to_array bd_link_disk_holder try lock open_mutex [2] md_handle_request -> wait mddev_resume T1 scan partition, T2 add a new device to raid. T1 waits for T2 to resume mddev, but T2 waits for open_mutex held by T1. Deadlock occurs. Fix it by introducing a local mutex 'blk_holder_mutex' to replace 'open_mutex'.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于 bd_link_disk_holder 和分区扫描之间存在死锁问题。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 1b0a2d950ee2a54aa04fb31ead32144be0bbf690 ~ 1e5c5b0abaee7b62a10b9707a62083b71ad21f62 -
LinuxLinux 6.7 -

II. Public POCs for CVE-2024-26899

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26899

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-04-17 · 100 CVEs total

CVE-2024-26883bpf: Fix stackmap overflow check on 32-bit arches
CVE-2024-26877crypto: xilinx - call finalize with bh disabled
CVE-2024-26873scsi: hisi_sas: Fix a deadlock issue related to automatic dump
CVE-2024-26872RDMA/srpt: Do not register event handler until srpt device is fully setup
CVE-2024-26871f2fs: fix NULL pointer dereference in f2fs_submit_page_write()
CVE-2024-26870NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
CVE-2024-26869f2fs: fix to truncate meta inode pages forcely
CVE-2024-26874drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
CVE-2024-26881net: hns3: fix kernel crash when 1588 is received on HIP08 devices
CVE-2024-26882net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()
CVE-2024-26880dm: call the resume method on internal suspend
CVE-2024-26884bpf: Fix hashtab overflow check on 32-bit arches
CVE-2024-26885bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
CVE-2024-26886Bluetooth: af_bluetooth: Fix deadlock
CVE-2024-26887Bluetooth: btusb: Fix memory leak
CVE-2024-26888Bluetooth: msft: Fix memory leak
CVE-2024-26889Bluetooth: hci_core: Fix possible buffer overflow
CVE-2024-26890Bluetooth: btrtl: fix out of bounds memory access
CVE-2024-26891iommu/vt-d: Don't issue ATS Invalidation request when device is disconnected
CVE-2024-26892wifi: mt76: mt7921e: fix use-after-free in free_irq()

Showing top 20 of 100 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26899

No comments yet


Leave a comment