# md: call \_\_md_stop_writes in md_stop

CVE record · `CVE-2022-49987`

- **Identifiers:** `CVE-2022-49987`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `48df498daf62e1292868005675331929305067f0 to before 1678ca35b80a94d474fdc31e2497ce5d7ed52512` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before 690b5c90fd2d81fd1d2b6110fa36783232f6dce2` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before 8e7fb19f1a744fd34e982633ced756fee0498ef7` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before a5a58fab556bfe618b4c9719eb85712d78c6cb10` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before 661c01b2181d9413c799127f13143583b69f20fd` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before f42a9819ba84bed2e609a4dff56af37063dcabdc` (git)
  - affected: `48df498daf62e1292868005675331929305067f0 to before 0dd84b319352bb8ba64752d4e45396d8b13e6018` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.12`
  - unaffected: `before 4.12` (semver)
  - unaffected: `4.14.292 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.257 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.212 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.140 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.64 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.6 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel versions from 4.12 before the fixing commits are affected by an md (RAID) bug in which raid1d can keep running during device teardown, causing a KASAN issue. The source gives few details on attacker access or impact. Upgrade to stable releases 4.14.292, 4.19.257, 5.4.212, 5.10.140 or later; no workaround is listed.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 18 Jun 2025, 11:00 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-49987)
- 18 Jun 2025, 11:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-49987)

## Sources

- [CVE List: CVE-2022-49987](https://www.cve.org/CVERecord?id=CVE-2022-49987)
- [NVD: CVE-2022-49987](https://nvd.nist.gov/vuln/detail/CVE-2022-49987)

### References from the CNA

- <https://git.kernel.org/stable/c/1678ca35b80a94d474fdc31e2497ce5d7ed52512>
- <https://git.kernel.org/stable/c/690b5c90fd2d81fd1d2b6110fa36783232f6dce2>
- <https://git.kernel.org/stable/c/8e7fb19f1a744fd34e982633ced756fee0498ef7>
- <https://git.kernel.org/stable/c/a5a58fab556bfe618b4c9719eb85712d78c6cb10>
- <https://git.kernel.org/stable/c/661c01b2181d9413c799127f13143583b69f20fd>
- <https://git.kernel.org/stable/c/f42a9819ba84bed2e609a4dff56af37063dcabdc>
- <https://git.kernel.org/stable/c/0dd84b319352bb8ba64752d4e45396d8b13e6018>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49987>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49987/>. Everything for agents: <https://agentprime.io/llms.txt>.
