{"id":"CVE-2022-49987","aliases":["CVE-2022-49987"],"related":[],"kind":"vulnerability","state":"published","title":"md: call __md_stop_writes in md_stop","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: md: llamada a __md_stop_writes en md_stop. En el enlace [1], podemos ver que raid1d se ejecutaba incluso después de la ruta raid_dtr -&gt; md_stop -&gt; __md_stop. Primero detengamos la escritura en el destructor para alinearla con el comando md-raid normal y solucionar el problema de KASAN. [1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a","source":"nvd"}],"published":"2025-06-18T11:00:48.687Z","modified":"2026-11-05T20:17:19.710Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"1678ca35b80a94d474fdc31e2497ce5d7ed52512","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"690b5c90fd2d81fd1d2b6110fa36783232f6dce2","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"8e7fb19f1a744fd34e982633ced756fee0498ef7","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"a5a58fab556bfe618b4c9719eb85712d78c6cb10","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"661c01b2181d9413c799127f13143583b69f20fd","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"f42a9819ba84bed2e609a4dff56af37063dcabdc","status":"affected"},{"type":"git","introduced":"48df498daf62e1292868005675331929305067f0","fixed":"0dd84b319352bb8ba64752d4e45396d8b13e6018","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"4.14.292","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.257","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.212","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.140","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.64","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.6","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"4.14.292"},{"status":"affected","introduced":"4.15","fixed":"4.19.257"},{"status":"affected","introduced":"4.20","fixed":"5.4.212"},{"status":"affected","introduced":"5.5","fixed":"5.10.140"},{"status":"affected","introduced":"5.11","fixed":"5.15.64"},{"status":"affected","introduced":"5.16","fixed":"5.19.6"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:52:25.099Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49987","url":"https://www.cve.org/CVERecord?id=CVE-2022-49987","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:13.053Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49987","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49987","licence":"Public domain","modified":"2026-11-05T20:17:19.710Z"}],"updatedAt":"2026-11-25T22:58:20.996Z","epss":{"score":0.00267,"percentile":0.2015,"date":"2026-12-01T12:00:22.000Z"}}