5.5

CVE-2022-49987

md: call __md_stop_writes in md_stop

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
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 4.12 < 4.14.292
LinuxLinux Kernel Version >= 4.15 < 4.19.257
LinuxLinux Kernel Version >= 4.20 < 5.4.212
LinuxLinux Kernel Version >= 5.5 < 5.10.140
LinuxLinux Kernel Version >= 5.11 < 5.15.64
LinuxLinux Kernel Version >= 5.16 < 5.19.6
LinuxLinux Kernel Version6.0 Updaterc1
LinuxLinux Kernel Version6.0 Updaterc2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.21% 0.112
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512
Patch
https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2
Patch
https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7
Patch
https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10
Patch
https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd
Patch
https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc
Patch
https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018
Patch