# CVE-2024-36953: KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()

- Severity: Medium 4.4 (CVSS:3.1, scored by CISA-ADP) `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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-30T15:35:48.070Z
- Modified: 2026-06-17T07:37:26.420Z
- Weaknesses: CWE-476
- 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: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()

vgic_v2_parse_attr() is responsible for finding the vCPU that matches
the user-provided CPUID, which (of course) may not be valid. If the ID
is invalid, kvm_get_vcpu_by_id() returns NULL, which isn't handled
gracefully.

Similar to the GICv3 uaccess flow, check that kvm_get_vcpu_by_id()
actually returns something and fail the ioctl if not.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d450e2821710718fd6703e9c486249cee913bab before 4404465a1bee3607ad90a4c5f9e16dfd75b85728; from 7d450e2821710718fd6703e9c486249cee913bab before 17db92da8be5dd3bf63c01f4109fe47db64fc66f; from 7d450e2821710718fd6703e9c486249cee913bab before 3a5b0378ac6776c7c31b18e0f3c1389bd6005e80; from 7d450e2821710718fd6703e9c486249cee913bab before 8d6a1c8e3de36cb0f5e866f1a582b00939e23104; from 7d450e2821710718fd6703e9c486249cee913bab before 01981276d64e542c177b243f7c979fee855d5487; from 7d450e2821710718fd6703e9c486249cee913bab before 6ddb4f372fc63210034b903d96ebbeb3c7195adb; 4.7 (not affected: before 4.7; from 5.10.217 up to 5.10.*; from 5.15.159 up to 5.15.*; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.7 before 5.10.217; from 5.11 before 5.15.159; from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9
- debian debian_linux: 10.0

## Every score

- CISA-ADP: 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: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/4404465a1bee3607ad90a4c5f9e16dfd75b85728> (patch)
- <https://git.kernel.org/stable/c/17db92da8be5dd3bf63c01f4109fe47db64fc66f> (patch)
- <https://git.kernel.org/stable/c/3a5b0378ac6776c7c31b18e0f3c1389bd6005e80> (patch)
- <https://git.kernel.org/stable/c/8d6a1c8e3de36cb0f5e866f1a582b00939e23104> (patch)
- <https://git.kernel.org/stable/c/01981276d64e542c177b243f7c979fee855d5487> (patch)
- <https://git.kernel.org/stable/c/6ddb4f372fc63210034b903d96ebbeb3c7195adb> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-36953 · Whole record: https://cve.day/CVE-2024-36953.json · Rebuilt by cve.day 2026-11-25T22:58:41.299Z
