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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
48df498daf62e1292868005675331929305067f0 to < 1678ca35b80a94d474fdc31e2497ce5d7ed52512affected48df498daf62e1292868005675331929305067f0 to < 690b5c90fd2d81fd1d2b6110fa36783232f6dce2affected48df498daf62e1292868005675331929305067f0 to < 8e7fb19f1a744fd34e982633ced756fee0498ef7affected48df498daf62e1292868005675331929305067f0 to < a5a58fab556bfe618b4c9719eb85712d78c6cb10affected48df498daf62e1292868005675331929305067f0 to < 661c01b2181d9413c799127f13143583b69f20fdaffected48df498daf62e1292868005675331929305067f0 to < f42a9819ba84bed2e609a4dff56af37063dcabdcaffected48df498daf62e1292868005675331929305067f0 to < 0dd84b319352bb8ba64752d4e45396d8b13e6018affected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected4.14.292 to ≤ 4.14.*unaffected4.19.257 to ≤ 4.19.*unaffected5.4.212 to ≤ 5.4.*unaffected5.10.140 to ≤ 5.10.*unaffected5.15.64 to ≤ 5.15.*unaffected5.19.6 to ≤ 5.19.*unaffected6.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512 ↗
- https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2 ↗
- https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7 ↗
- https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10 ↗
- https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd ↗
- https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc ↗
- https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018 ↗