{"id":"CVE-2026-43309","aliases":["CVE-2026-43309"],"related":[],"kind":"vulnerability","state":"published","title":"md raid: fix hang when stopping arrays with metadata through dm-raid","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd raid: fix hang when stopping arrays with metadata through dm-raid\n\nWhen using device-mapper's dm-raid target, stopping a RAID array can cause\nthe system to hang under specific conditions.\n\nThis occurs when:\n\n- A dm-raid managed device tree is suspended from top to bottom\n   (the top-level RAID device is suspended first, followed by its\n    underlying metadata and data devices)\n\n- The top-level RAID device is then removed\n\nRemoving the top-level device triggers a hang in the following sequence:\nthe dm-raid destructor calls md_stop(), which tries to flush the\nwrite-intent bitmap by writing to the metadata sub-devices. However, these\ndevices are already suspended, making them unable to complete the write-intent\noperations and causing an indefinite block.\n\nFix:\n\n- Prevent bitmap flushing when md_stop() is called from dm-raid\ndestructor context\n  and avoid a quiescing/unquescing cycle which could also cause I/O\n\n- Still allow write-intent bitmap flushing when called from dm-raid\nsuspend context\n\nThis ensures that RAID array teardown can complete successfully even when the\nunderlying devices are in a suspended state.\n\nThis second patch uses md_is_rdwr() to distinguish between suspend and\ndestructor paths as elaborated on above.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd raid: fix hang when stopping arrays with metadata through dm-raid\n\nWhen using device-mapper's dm-raid target, stopping a RAID array can cause\nthe system to hang under specific conditions.\n\nThis occurs when:\n\n- A dm-raid managed device tree is suspended from top to bottom\n   (the top-level RAID device is suspended first, followed by its\n    underlying metadata and data devices)\n\n- The top-level RAID device is then removed\n\nRemoving the top-level device triggers a hang in the following sequence:\nthe dm-raid destructor calls md_stop(), which tries to flush the\nwrite-intent bitmap by writing to the metadata sub-devices. However, these\ndevices are already suspended, making them unable to complete the write-intent\noperations and causing an indefinite block.\n\nFix:\n\n- Prevent bitmap flushing when md_stop() is called from dm-raid\ndestructor context\n  and avoid a quiescing/unquescing cycle which could also cause I/O\n\n- Still allow write-intent bitmap flushing when called from dm-raid\nsuspend context\n\nThis ensures that RAID array teardown can complete successfully even when the\nunderlying devices are in a suspended state.\n\nThis second patch uses md_is_rdwr() to distinguish between suspend and\ndestructor paths as elaborated on above.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nmd raid: corrige el cuelgue al detener arreglos con metadatos a través de dm-raid\n\nAl usar el objetivo dm-raid de device-mapper, detener un arreglo RAID puede provocar que el sistema se cuelgue bajo condiciones específicas.\n\nEsto ocurre cuando:\n\n- Un árbol de dispositivos gestionado por dm-raid se suspende de arriba a abajo (el dispositivo RAID de nivel superior se suspende primero, seguido de sus dispositivos subyacentes de metadatos y datos)\n\n- El dispositivo RAID de nivel superior se elimina a continuación\n\nLa eliminación del dispositivo de nivel superior desencadena un cuelgue en la siguiente secuencia: el destructor de dm-raid llama a md_stop(), que intenta vaciar el mapa de bits de intención de escritura escribiendo en los subdispositivos de metadatos. Sin embargo, estos dispositivos ya están suspendidos, lo que les impide completar las operaciones de intención de escritura y provoca un bloqueo indefinido.\n\nSolución:\n\n- Evitar el vaciado del mapa de bits cuando se llama a md_stop() desde el contexto del destructor de dm-raid y evitar un ciclo de quiescencia/desquiescencia que también podría causar E/S\n\n- Seguir permitiendo el vaciado del mapa de bits de intención de escritura cuando se llama desde el contexto de suspensión de dm-raid\n\nEsto asegura que el desmantelamiento del arreglo RAID pueda completarse con éxito incluso cuando los dispositivos subyacentes están en un estado suspendido.\n\nEste segundo parche utiliza md_is_rdwr() para distinguir entre las rutas de suspensión y de destructor, como se explicó anteriormente.","source":"nvd"}],"published":"2026-05-08T13:11:27.595Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0dd84b319352bb8ba64752d4e45396d8b13e6018","fixed":"63054027d95200b04f3cf624faa7817e0555d56a","status":"affected"},{"type":"git","introduced":"0dd84b319352bb8ba64752d4e45396d8b13e6018","fixed":"24783dd06de870d646c25207bae186f78195f912","status":"affected"},{"type":"git","introduced":"0dd84b319352bb8ba64752d4e45396d8b13e6018","fixed":"338378dfffbdbb8d37a18f0a0c0358812671f91e","status":"affected"},{"type":"git","introduced":"0dd84b319352bb8ba64752d4e45396d8b13e6018","fixed":"cefcb9297fbdb6d94b61787b4f8d84f55b741470","status":"affected"},{"type":"git","version":"1678ca35b80a94d474fdc31e2497ce5d7ed52512","status":"affected"},{"type":"git","version":"690b5c90fd2d81fd1d2b6110fa36783232f6dce2","status":"affected"},{"type":"git","version":"8e7fb19f1a744fd34e982633ced756fee0498ef7","status":"affected"},{"type":"git","version":"a5a58fab556bfe618b4c9719eb85712d78c6cb10","status":"affected"},{"type":"git","version":"661c01b2181d9413c799127f13143583b69f20fd","status":"affected"},{"type":"git","version":"f42a9819ba84bed2e609a4dff56af37063dcabdc","status":"affected"},{"type":"semver","introduced":"4.14.292","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.257","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.212","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.140","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.64","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"5.19.6","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.292","fixed":"4.15"},{"status":"affected","introduced":"4.19.257","fixed":"4.20"},{"status":"affected","introduced":"5.4.212","fixed":"5.5"},{"status":"affected","introduced":"5.10.140","fixed":"5.11"},{"status":"affected","introduced":"5.15.64","fixed":"5.16"},{"status":"affected","introduced":"5.19.6","fixed":"6.0"},{"status":"affected","introduced":"6.0.1","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/63054027d95200b04f3cf624faa7817e0555d56a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24783dd06de870d646c25207bae186f78195f912","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/338378dfffbdbb8d37a18f0a0c0358812671f91e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cefcb9297fbdb6d94b61787b4f8d84f55b741470","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:35:03.007Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43309","url":"https://www.cve.org/CVERecord?id=CVE-2026-43309","licence":"CVE Terms of Use","modified":"2026-11-06T15:42:47.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43309","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43309","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.984Z","epss":{"score":0.00155,"percentile":0.0485,"date":"2026-12-01T12:00:22.000Z"}}