Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.7, < 5.10.217 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/01981276d64e542c177b243f7c979fee855d5487Patch
- https://git.kernel.org/stable/c/17db92da8be5dd3bf63c01f4109fe47db64fc66fPatch
- https://git.kernel.org/stable/c/3a5b0378ac6776c7c31b18e0f3c1389bd6005e80Patch
- https://git.kernel.org/stable/c/4404465a1bee3607ad90a4c5f9e16dfd75b85728Patch
- https://git.kernel.org/stable/c/6ddb4f372fc63210034b903d96ebbeb3c7195adbPatch
- https://git.kernel.org/stable/c/8d6a1c8e3de36cb0f5e866f1a582b00939e23104Patch
- https://git.kernel.org/stable/c/01981276d64e542c177b243f7c979fee855d5487Patch
- https://git.kernel.org/stable/c/17db92da8be5dd3bf63c01f4109fe47db64fc66fPatch
- https://git.kernel.org/stable/c/3a5b0378ac6776c7c31b18e0f3c1389bd6005e80Patch
- https://git.kernel.org/stable/c/4404465a1bee3607ad90a4c5f9e16dfd75b85728Patch
- https://git.kernel.org/stable/c/6ddb4f372fc63210034b903d96ebbeb3c7195adbPatch
- https://git.kernel.org/stable/c/8d6a1c8e3de36cb0f5e866f1a582b00939e23104Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlThird Party Advisory
FAQ
What is CVE-2024-36953?
CVE-2024-36953 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2024-36953?
CVE-2024-36953 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-36953?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux.