CVE-2022-49987

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49987
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49987.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49987
Downstream
Related
Published
2025-06-18T11:15:26Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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

md: call _mdstopwrites in mdstop

From the link [1], we can see raid1d was running even after the path raiddtr -> mdstop -> _mdstop.

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

References

Affected packages