# CVE-2026-43309: md raid: fix hang when stopping arrays with metadata through dm-raid

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-08T13:11:27.595Z
- Modified: 2026-11-11T20:10:00.273Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

md raid: fix hang when stopping arrays with metadata through dm-raid

When using device-mapper's dm-raid target, stopping a RAID array can cause
the system to hang under specific conditions.

This occurs when:

- A dm-raid managed device tree is suspended from top to bottom
   (the top-level RAID device is suspended first, followed by its
    underlying metadata and data devices)

- The top-level RAID device is then removed

Removing the top-level device triggers a hang in the following sequence:
the dm-raid destructor calls md_stop(), which tries to flush the
write-intent bitmap by writing to the metadata sub-devices. However, these
devices are already suspended, making them unable to complete the write-intent
operations and causing an indefinite block.

Fix:

- Prevent bitmap flushing when md_stop() is called from dm-raid
destructor context
  and avoid a quiescing/unquescing cycle which could also cause I/O

- Still allow write-intent bitmap flushing when called from dm-raid
suspend context

This ensures that RAID array teardown can complete successfully even when the
underlying devices are in a suspended state.

This second patch uses md_is_rdwr() to distinguish between suspend and
destructor paths as elaborated on above.

(As written by CVE List.)

## Affected

- Linux Linux: from 0dd84b319352bb8ba64752d4e45396d8b13e6018 before 63054027d95200b04f3cf624faa7817e0555d56a; from 0dd84b319352bb8ba64752d4e45396d8b13e6018 before 24783dd06de870d646c25207bae186f78195f912; from 0dd84b319352bb8ba64752d4e45396d8b13e6018 before 338378dfffbdbb8d37a18f0a0c0358812671f91e; from 0dd84b319352bb8ba64752d4e45396d8b13e6018 before cefcb9297fbdb6d94b61787b4f8d84f55b741470; 1678ca35b80a94d474fdc31e2497ce5d7ed52512; 690b5c90fd2d81fd1d2b6110fa36783232f6dce2; 8e7fb19f1a744fd34e982633ced756fee0498ef7; a5a58fab556bfe618b4c9719eb85712d78c6cb10; 661c01b2181d9413c799127f13143583b69f20fd; f42a9819ba84bed2e609a4dff56af37063dcabdc; from 4.14.292 before 4.15; from 4.19.257 before 4.20; and 5 more (not affected: before 6.0; from 6.12.114 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.14.292 before 4.15; from 4.19.257 before 4.20; from 5.4.212 before 5.5; from 5.10.140 before 5.11; from 5.15.64 before 5.16; from 5.19.6 before 6.0; from 6.0.1 before 6.18.16; from 6.19 before 6.19.6; 6.0

## References

- <https://git.kernel.org/stable/c/63054027d95200b04f3cf624faa7817e0555d56a>
- <https://git.kernel.org/stable/c/24783dd06de870d646c25207bae186f78195f912> (patch)
- <https://git.kernel.org/stable/c/338378dfffbdbb8d37a18f0a0c0358812671f91e> (patch)
- <https://git.kernel.org/stable/c/cefcb9297fbdb6d94b61787b4f8d84f55b741470> (patch)

## Sources

- CVE List: [CVE-2026-43309](https://www.cve.org/CVERecord?id=CVE-2026-43309), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43309](https://nvd.nist.gov/vuln/detail/CVE-2026-43309), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43309 · Whole record: https://cve.day/CVE-2026-43309.json · Rebuilt by cve.day 2026-11-25T22:59:20.984Z
