# KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio

CVE record · `CVE-2021-47341`

- **Identifiers:** `CVE-2021-47341`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 14:35 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: `7d1bc32d6477ff96a32695ea4be8144e4513ab2d to before f2ff9d03432fcb160e9f7d4be26174d89de2779a` (git)
  - affected: `2a20592baff59c5351c5200ec667e1a2aa22af85 to before 679837dc0abaa2c6e2a7bcd86483e05eee1d5066` (git)
  - affected: `50cbad42bfea8c052b7ca590bd4126cdc898713c to before 8d7c539316d652d217e5e82b89ee204c812a7061` (git)
  - affected: `5d3c4c79384af06e3c8e25b7770b6247496b4417 to before 069d44a24c0ff8f85adf49233aae7a8ca16f5c7e` (git)
  - affected: `5d3c4c79384af06e3c8e25b7770b6247496b4417 to before 23fa2e46a5556f787ce2ea1a315d3ab93cced204` (git)
  - affected: `168e82f640ed1891a700bdb43e37da354b2ab63c` (git)
  - affected: `5.4.119 to before 5.4.134` (semver)
  - affected: `5.10.37 to before 5.10.52` (semver)
  - affected: `5.12.4 to before 5.12.19` (semver)
  - affected: `5.11.21 to before 5.12` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.13`
  - unaffected: `before 5.13` (semver)
  - unaffected: `5.4.134 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.52 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.19 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13.4 to 5.13.*, inclusive` (semver)
  - unaffected: `5.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

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

## Timeline

This record came from the full history of the CVE Program, published 21 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f2ff9d03432fcb160e9f7d4be26174d89de2779a>
- <https://git.kernel.org/stable/c/679837dc0abaa2c6e2a7bcd86483e05eee1d5066>
- <https://git.kernel.org/stable/c/8d7c539316d652d217e5e82b89ee204c812a7061>
- <https://git.kernel.org/stable/c/069d44a24c0ff8f85adf49233aae7a8ca16f5c7e>
- <https://git.kernel.org/stable/c/23fa2e46a5556f787ce2ea1a315d3ab93cced204>

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-2021-47341>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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