CVE-2024-26899
block: fix deadlock between bd_link_disk_holder and partition scan
Mitigation
- Upgrade Linux to 03f12122b20b6e6028e9ed69030a49f9cffcbb75 or later.
Who should check
- Anyone running Linux >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 1e5c5b0abaee7b62a10b9707a62083b71ad21f62; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 5a87c1f7993bc8ac358a3766bac5dc7126e01e98; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 03f12122b20b6e6028e9ed69030a49f9cffcbb75
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 1e5c5b0abaee7b62a10b9707a62083b71ad21f62; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 5a87c1f7993bc8ac358a3766bac5dc7126e01e98; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 03f12122b20b6e6028e9ed69030a49f9cffcbb75; Linux 6.7
- Fixed in
- Linux 1e5c5b0abaee7b62a10b9707a62083b71ad21f62, Linux 5a87c1f7993bc8ac358a3766bac5dc7126e01e98, Linux 03f12122b20b6e6028e9ed69030a49f9cffcbb75
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-667
- Modified
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'.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 1e5c5b0abaee7b62a10b9707a62083b71ad21f62; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 5a87c1f7993bc8ac358a3766bac5dc7126e01e98; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 03f12122b20b6e6028e9ed69030a49f9cffcbb75 | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26899. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26899.md Affected: Linux >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 1e5c5b0abaee7b62a10b9707a62083b71ad21f62; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 5a87c1f7993bc8ac358a3766bac5dc7126e01e98; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 03f12122b20b6e6028e9ed69030a49f9cffcbb75; Linux 6.7 Fixed in: Linux 1e5c5b0abaee7b62a10b9707a62083b71ad21f62, Linux 5a87c1f7993bc8ac358a3766bac5dc7126e01e98, Linux 03f12122b20b6e6028e9ed69030a49f9cffcbb75 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-26899 being exploited?
There is no confirmed exploitation: CVE-2024-26899 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26899?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26899?
Linux >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 1e5c5b0abaee7b62a10b9707a62083b71ad21f62; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 5a87c1f7993bc8ac358a3766bac5dc7126e01e98; >= 1b0a2d950ee2a54aa04fb31ead32144be0bbf690, < 03f12122b20b6e6028e9ed69030a49f9cffcbb75; Linux 6.7.
Is there a fix for CVE-2024-26899?
Yes. Fixed in Linux 1e5c5b0abaee7b62a10b9707a62083b71ad21f62, Linux 5a87c1f7993bc8ac358a3766bac5dc7126e01e98, Linux 03f12122b20b6e6028e9ed69030a49f9cffcbb75. Upgrade Linux to 03f12122b20b6e6028e9ed69030a49f9cffcbb75 or later.
How do I check if I'm affected by CVE-2024-26899?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.