CVE-2024-43855
md: fix deadlock between mddev_suspend and flush bio
Mitigation
- Upgrade Linux to 6.8 or later.
Who should check
- Anyone running Linux >= f9f2d957a8ea93c73182aebf7de30935a58c027d, < 32226070813140234b6c507084738e8e8385c5c6; >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730, < 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < ca963eefbc3331222b6121baa696d49ba2008811; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < 611d5cbc0b35a752e657a83eebadf40d814d006b; c4c2345214b66e2505a26fd2ea58839dd7a1d48d; >= 6.1.75, < 6.1.103; >= 6.6.14, < 6.6.44; >= 6.7.2, < 6.8
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= f9f2d957a8ea93c73182aebf7de30935a58c027d, < 32226070813140234b6c507084738e8e8385c5c6; >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730, < 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < ca963eefbc3331222b6121baa696d49ba2008811; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < 611d5cbc0b35a752e657a83eebadf40d814d006b; c4c2345214b66e2505a26fd2ea58839dd7a1d48d; >= 6.1.75, < 6.1.103; >= 6.6.14, < 6.6.44; >= 6.7.2, < 6.8; Linux 6.8
- Fixed in
- Linux 32226070813140234b6c507084738e8e8385c5c6, Linux 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf, Linux 611d5cbc0b35a752e657a83eebadf40d814d006b, Linux 6.1.103, Linux 6.6.44, Linux 6.8
- 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.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: md: fix deadlock between mddev_suspend and flush bio Deadlock occurs when mddev is being suspended while some flush bio is in progress. It is a complex issue. T1. the first flush is at the ending stage, it clears 'mddev->flush_bio' and tries to submit data, but is blocked because mddev is suspended by T4. T2. the second flush sets 'mddev->flush_bio', and attempts to queue md_submit_flush_data(), which is already running (T1) and won't execute again if on the same CPU as T1. T3. the third flush inc active_io and tries to flush, but is blocked because 'mddev->flush_bio' is not NULL (set by T2). T4. mddev_suspend() is called and waits for active_io dec to 0 which is inc by T3. T1 T2 T3 T4 (flush 1) (flush 2) (third 3) (suspend) md_submit_flush_data mddev->flush_bio = NULL; . . md_flush_request . mddev->flush_bio = bio . queue submit_flushes . . . . md_handle_request . . active_io + 1 . . md_flush_request . . wait !mddev->flush_bio . . . . mddev_suspend . . wait !active_io . . . submit_flushes . queue_work md_submit_flush_data . //md_submit_flush_data is already running (T1) . md_handle_request wait resume The root issue is non-atomic inc/dec of active_io during flush process. active_io is dec before md_submit_flush_data is queued, and inc soon after md_submit_flush_data() run. md_flush_request active_io + 1 submit_flushes active_io - 1 md_submit_flush_data md_handle_request active_io + 1 make_request active_io - 1 If active_io is dec after md_handle_request() instead of within submit_flushes(), make_request() can be called directly intead of md_handle_request() in md_submit_flush_data(), and active_io will only inc and dec once in the whole flush process. Deadlock will be fixed. Additionally, the only difference between fixing the issue and before is that there is no return error handling of make_request(). But after previous patch cleaned md_write_start(), make_requst() only return error in raid5_make_request() by dm-raid, see commit 41425f96d7aa ("dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape)". Since dm always splits data and flush operation into two separate io, io size of flush submitted by dm always is 0, make_request() will not be called in md_submit_flush_data(). To prevent future modifications from introducing issues, add WARN_ON to ensure make_request() no error is returned in this context.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f9f2d957a8ea93c73182aebf7de30935a58c027d, < 32226070813140234b6c507084738e8e8385c5c6; >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730, < 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < ca963eefbc3331222b6121baa696d49ba2008811; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < 611d5cbc0b35a752e657a83eebadf40d814d006b; c4c2345214b66e2505a26fd2ea58839dd7a1d48d; >= 6.1.75, < 6.1.103; >= 6.6.14, < 6.6.44; >= 6.7.2, < 6.8 | — | cvelist |
| Linux | 6.8 | — | 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-43855. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-43855.md Affected: Linux >= f9f2d957a8ea93c73182aebf7de30935a58c027d, < 32226070813140234b6c507084738e8e8385c5c6; >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730, < 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < ca963eefbc3331222b6121baa696d49ba2008811; >= fa2bbff7b0b4e211fec5e56… Fixed in: Linux 32226070813140234b6c507084738e8e8385c5c6, Linux 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf, Linux 611d5cbc0b35a752e657a83eebadf40d814d006b, Linux 6.1.103, Linux 6.6.44, Linux 6.8 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
Patches
FAQ
Is CVE-2024-43855 being exploited?
There is no confirmed exploitation: CVE-2024-43855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-43855?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-43855?
Linux >= f9f2d957a8ea93c73182aebf7de30935a58c027d, < 32226070813140234b6c507084738e8e8385c5c6; >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730, < 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < ca963eefbc3331222b6121baa696d49ba2008811; >= fa2bbff7b0b4e211fec5e5686ef96350690597b5, < 611d5cbc0b35a752e657a83eebadf40d814d006b; c4c2345214b66e2505a26fd2ea58839dd7a1d48d; >= 6.1.75, < 6.1.103; >= 6.6.14, < 6.6.44; >= 6.7.2, < 6.8; Linux 6.8.
Is there a fix for CVE-2024-43855?
Yes. Fixed in Linux 32226070813140234b6c507084738e8e8385c5c6, Linux 2d0738a8322bf4e5bfe693d16b3111928a9ccfbf, Linux 611d5cbc0b35a752e657a83eebadf40d814d006b, Linux 6.1.103, Linux 6.6.44, Linux 6.8. Upgrade Linux to 6.8 or later.
How do I check if I'm affected by CVE-2024-43855?
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.