{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49987","id":"CVE-2022-49987","title":"md: call __md_stop_writes in md_stop","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: call __md_stop_writes in md_stop\n\nFrom the link [1], we can see raid1d was running even after the path\nraid_dtr -> md_stop -> __md_stop.\n\nLet's stop write first in destructor to align with normal md-raid to\nfix the KASAN issue.\n\n[1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.g","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: call __md_stop_writes in md_stop\n\nFrom the link [1], we can see raid1d was running even after the path\nraid_dtr -> md_stop -> __md_stop.\n\nLet's stop write first in destructor to align with normal md-raid to\nfix the KASAN issue.\n\n[1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a","published":"2025-06-18T11:00:48.687Z","updated":"2026-11-07T02:30:44.765878786Z","reserved":"2025-06-18T10:57:27.386Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"1678ca35b80a94d474fdc31e2497ce5d7ed52512","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"690b5c90fd2d81fd1d2b6110fa36783232f6dce2","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"8e7fb19f1a744fd34e982633ced756fee0498ef7","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"a5a58fab556bfe618b4c9719eb85712d78c6cb10","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"661c01b2181d9413c799127f13143583b69f20fd","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"f42a9819ba84bed2e609a4dff56af37063dcabdc","status":"affected","versionType":"git"},{"version":"48df498daf62e1292868005675331929305067f0","lessThan":"0dd84b319352bb8ba64752d4e45396d8b13e6018","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.12","status":"unaffected","versionType":"semver"},{"version":"4.14.292","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.257","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.212","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.140","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.64","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.6","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49987.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49987","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00266,"epssPercentile":0.19021,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49987","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49987","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49987","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49987","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}