{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-49987", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-06-18T10:57:27.386Z", "datePublished": "2025-06-18T11:00:48.687Z", "dateUpdated": "2026-05-11T19:10:33.303Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:10:33.303Z" }, "descriptions": [ { "lang": "en", "value": "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" } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/md/md.c" ], "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" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/md/md.c" ], "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" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "4.14.292" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "4.19.257" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.4.212" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.10.140" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.15.64" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.19.6" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "6.0" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512" }, { "url": "https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2" }, { "url": "https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7" }, { "url": "https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10" }, { "url": "https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd" }, { "url": "https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc" }, { "url": "https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018" } ], "title": "md: call __md_stop_writes in md_stop", "x_generator": { "engine": "bippy-1.2.0" } } } }