NetSight
medium5.5

CVE-2022-49987

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 …

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.12 before 4.14.292
from 4.15 before 4.19.257
from 4.20 before 5.4.212
from 5.5 before 5.10.140
from 5.11 before 5.15.64
from 5.16 before 5.19.6

References