What’s Vulnerable › Vulnerabilities

CVE-2022-49987: md: call __md_stop_writes in md_stop

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.292, 4.19.257, 5.10.140, 5.15.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49987 or the next vulnerability affects your stack