# CVE-2021-4032: A vulnerability was found in the Linux kernel's KVM subsystem in arch/x86/kvm/lapic.c kvmfreelapic when a failure allocation was detected.

- Severity: Medium 4.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/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.41%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-01-21T18:17:29.000Z
- Modified: 2026-06-17T04:18:55.510Z
- Weaknesses: CWE-459
- Assigned by: redhat

## Description

A vulnerability was found in the Linux kernel's KVM subsystem in arch/x86/kvm/lapic.c kvm_free_lapic when a failure allocation was detected. In this flaw the KVM subsystem may crash the kernel due to mishandling of memory errors that happens during VCPU construction, which allows an attacker with special user privilege to cause a denial of service. This flaw affects kernel versions prior to 5.15 rc7.

(As written by CVE List.)

## Affected

- kernel: kernel 5.15 rc7
- linux linux_kernel: up to 5.14; 5.15

## Every score

- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.9 Medium `AV:L/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f7d8a19f9a056a05c5c509fa65af472a322abfee> (exploit, patch, third-party-advisory)
- <https://lkml.org/lkml/2021/9/8/587> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2027403> (issue-tracking, patch, third-party-advisory)

## Sources

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

---

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