md: call __md_stop_writes in md_stop (Linux Linux)

CVE-2022-49987
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 48df498daf62e1292868005675331929305067f0 < 1678ca35b80a94d474fdc31e2497ce5d7ed52512 ; affected 48df498daf62e1292868005675331929305067f0 < 690b5c90fd2d81fd1d2b6110fa36783232f6dce2 ; affected 48df498daf62e1292868005675331929305067f0 < 8e7fb19f1a744fd34e982633ced756fee0498ef7 ; affected 48df498daf62e1292868005675331929305067f0 < a5a58fab556bfe618b4c9719eb85712d78c6cb10 ; affected 48df498daf62e1292868005675331929305067f0 < 661c01b2181d9413c799127f13143583b69f20fd ; affected 48df498daf62e1292868005675331929305067f0 < f42a9819ba84bed2e609a4dff56af37063dcabdc
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 4.14.292 ≤ 4.14.* ; unaffected 4.19.257 ≤ 4.19.* ; unaffected 5.4.212 ≤ 5.4.* ; unaffected 5.10.140 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD