Read the docs
TI-2024-29448 Aliases CVE-2024-43855GHSA-5ffp-85mp-h2q2

md: fix deadlock between mddev_suspend and flush bio

Priority LOW 24CWE-476Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00209 11th percentileScored 2026-11-07
Fix Partial Linux (Linux): 6.1.103, 6.6.44, 6.8 +2Red Hat: 1 advisoryRed Hat: 5 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.1.75 to before 6.1.103; 6.6.14 to before 6.6.44; 6.7.2 to before 6.86.1.103, 6.6.44, 6.8Patch availableCNA
LinuxLinux6.8 and later6.1.103, 6.6.44, 6.10.3, 6.11Patch availableCNA
  • Linux VendorLinux Affected 6.1.75 to before 6.1.103; 6.6.14 to before 6.6.44; 6.7.2 to before 6.8 Fixed in 6.1.103, 6.6.44, 6.8 Patch available CNA
  • Linux VendorLinux Affected 6.8 and later Fixed in 6.1.103, 6.6.44, 6.10.3, 6.11 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*before 6.1.103; 6.2 to before 6.6.44; 6.7 to before 6.10.3VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 6.1.103; 6.2 to before 6.6.44; 6.7 to before 6.10.3 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.1.103, 6.6.44, 6.8
  • Fix · CNA Linux (Linux) Fixed in 6.1.103, 6.6.44, 6.10.3, 6.11

Red Hat 1 advisory

  • RHSA-2025:3506 Released 2025-04-02 · Red Hat rating Moderate
    kernel security update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-503.35.1.el9_5, libperf-5.14.0-503.35.1.el9_5
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-503.35.1.el9_5, kernel-64k-debug-devel-matched-5.14.0-503.35.1.el9_5, kernel-64k-devel-5.14.0-503.35.1.el9_5 +11
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.4.0-503.35.1.el9_5, kernel-5.14.0-503.35.1.el9_5, kernel-64k-5.14.0-503.35.1.el9_5 +30
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-503.35.1.el9_5, kernel-rt-core-5.14.0-503.35.1.el9_5, kernel-rt-debug-5.14.0-503.35.1.el9_5 +9
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-503.35.1.el9_5, kernel-rt-core-5.14.0-503.35.1.el9_5, kernel-rt-debug-5.14.0-503.35.1.el9_5 +11

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2025:3506
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:3506
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2025:3506
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2025:3506
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2025:3506
Not affected: 2 products
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-43855
  2. 2026-10-03 Alias added: GHSA-5ffp-85mp-h2q2

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources