# CVE-2021-47450: KVM: arm64: Fix host stage-2 PGD refcount

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-22T06:19:41.443Z
- Modified: 2026-08-05T08:47:53.018Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Fix host stage-2 PGD refcount

The KVM page-table library refcounts the pages of concatenated stage-2
PGDs individually. However, when running KVM in protected mode, the
host's stage-2 PGD is currently managed by EL2 as a single high-order
compound page, which can cause the refcount of the tail pages to reach 0
when they shouldn't, hence corrupting the page-table.

Fix this by introducing a new hyp_split_page() helper in the EL2 page
allocator (matching the kernel's split_page() function), and make use of
it from host_s2_zalloc_pages_exact().

(As written by CVE List.)

## Affected

- Linux Linux: from 1025c8c0c6accfcbdc8f52ca1940160f65cd87d6 before b372264c66ef78f2cab44e877fbd765ad6d24c39; from 1025c8c0c6accfcbdc8f52ca1940160f65cd87d6 before 1d58a17ef54599506d44c45ac95be27273a4d2b1; 5.13 (not affected: before 5.13; from 5.14.15 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 5.13 before 5.14.15; 5.15

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b372264c66ef78f2cab44e877fbd765ad6d24c39> (patch)
- <https://git.kernel.org/stable/c/1d58a17ef54599506d44c45ac95be27273a4d2b1> (patch)

## Sources

- CVE List: [CVE-2021-47450](https://www.cve.org/CVERecord?id=CVE-2021-47450), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47450](https://nvd.nist.gov/vuln/detail/CVE-2021-47450), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47450 · Whole record: https://cve.day/CVE-2021-47450.json · Rebuilt by cve.day 2026-11-25T22:58:08.864Z
