CVE-2022-49987

published 18 Jun 2025 · updated 7 Nov 2026

md: call __md_stop_writes in md_stop

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.14.292, Kernel 4.19.257, Kernel 5.4.212 and 10 more.

In the Linux kernel, the following vulnerability has been resolved: md: call __md_stop_writes in md_stop From the link [1], we can see raid1d was running even after the path raid_dtr -> md_stop -> __md_stop. Let's stop write first in destructor to align with normal md-raid to fix the KASAN issue. [1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.12 <4.14.292, >=4.15 <4.19.257, >=4.20 <5.4.212, >=5.11 <5.15.64, >=5.16 <5.19.6, >=5.5 <5.10.140, =6.0, >=48df498daf62e1292868005675331929305067f0 <1678ca35b80a94d474fdc31e2497ce5d7ed52512, >=48df498daf62e1292868005675331929305067f0 <661c01b2181d9413c799127f13143583b69f20fd, >=48df498daf62e1292868005675331929305067f0 <690b5c90fd2d81fd1d2b6110fa36783232f6dce2, >=48df498daf62e1292868005675331929305067f0 <8e7fb19f1a744fd34e982633ced756fee0498ef7, >=48df498daf62e1292868005675331929305067f0 <a5a58fab556bfe618b4c9719eb85712d78c6cb10, >=48df498daf62e1292868005675331929305067f0 <f42a9819ba84bed2e609a4dff56af37063dcabdc, =4.12, >=48df498daf62e1292868005675331929305067f0 <0dd84b319352bb8ba64752d4e45396d8b13e60184.14.292, 4.19.257, 5.4.212, 5.15.64, 5.19.6, 5.10.140, 1678ca35b80a94d474fdc31e2497ce5d7ed52512, 661c01b2181d9413c799127f13143583b69f20fd, 690b5c90fd2d81fd1d2b6110fa36783232f6dce2, 8e7fb19f1a744fd34e982633ced756fee0498ef7, a5a58fab556bfe618b4c9719eb85712d78c6cb10, f42a9819ba84bed2e609a4dff56af37063dcabdc, 0dd84b319352bb8ba64752d4e45396d8b13e6018
linux-kernel: Kernel>=4.12.0 <4.14.292, >=4.15.0 <4.19.257, >=4.20.0 <5.4.212, >=5.11.0 <5.15.64, >=5.16.0 <5.19.6, >=5.5.0 <5.10.1404.14.292, 4.19.257, 5.4.212, 5.15.64, 5.19.6, 5.10.140

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49987 severity on Zeptric[![CVE-2022-49987](https://zeptric.io/badge/cve/CVE-2022-49987.svg)](https://zeptric.io/cve/CVE-2022-49987)