{"id":"CVE-2022-49987","title":"md: call __md_stop_writes in md_stop","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: call __md_stop_writes in md_stop\n\nFrom the link [1], we can see raid1d was running even after the path\nraid_dtr -> md_stop -> __md_stop.\n\nLet's stop write first in …","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 48df498daf62e1292868005675331929305067f0 < 1678ca35b80a94d474fdc31e2497ce5d7ed52512","Linux >= 48df498daf62e1292868005675331929305067f0 < 690b5c90fd2d81fd1d2b6110fa36783232f6dce2","Linux >= 48df498daf62e1292868005675331929305067f0 < 8e7fb19f1a744fd34e982633ced756fee0498ef7","Linux >= 48df498daf62e1292868005675331929305067f0 < a5a58fab556bfe618b4c9719eb85712d78c6cb10","Linux >= 48df498daf62e1292868005675331929305067f0 < 661c01b2181d9413c799127f13143583b69f20fd","Linux >= 48df498daf62e1292868005675331929305067f0 < f42a9819ba84bed2e609a4dff56af37063dcabdc","Linux >= 48df498daf62e1292868005675331929305067f0 < 0dd84b319352bb8ba64752d4e45396d8b13e6018","Linux 4.12"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:52:25.099226Z"},"published":"2025-06-18","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:00:13.053Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-49987","references":[{"url":"https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512"},{"url":"https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2"},{"url":"https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7"},{"url":"https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10"},{"url":"https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd"},{"url":"https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc"},{"url":"https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018"}],"tags":["cve.org"],"epss":0.00253,"epssPercentile":0.16943,"ingestedAt":"2026-11-05T22:38:31.632Z","slug":"CVE-2022-49987","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmd: call __md_stop_writes in md_stop\n\nFrom the link [1], we can see raid1d was running even after the path\nraid_dtr -> md_stop -> __md_stop.\n\nLet's stop write first in destructor to align with normal md-raid to\nfix the KASAN issue.\n\n[1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a\n\n## Affected\n\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < 1678ca35b80a94d474fdc31e2497ce5d7ed52512`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < 690b5c90fd2d81fd1d2b6110fa36783232f6dce2`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < 8e7fb19f1a744fd34e982633ced756fee0498ef7`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < a5a58fab556bfe618b4c9719eb85712d78c6cb10`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < 661c01b2181d9413c799127f13143583b69f20fd`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < f42a9819ba84bed2e609a4dff56af37063dcabdc`\n- `Linux >= 48df498daf62e1292868005675331929305067f0 < 0dd84b319352bb8ba64752d4e45396d8b13e6018`\n- `Linux 4.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}