CVE-2024-36953

published 30 May 2024 · updated 11 May 2026

KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 01981276d64e542c177b243f7c979fee855d5487, Kernel 17db92da8be5dd3bf63c01f4109fe47db64fc66f, Kernel 3a5b0378ac6776c7c31b18e0f3c1389bd6005e80 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=7d450e2821710718fd6703e9c486249cee913bab <01981276d64e542c177b243f7c979fee855d5487, >=7d450e2821710718fd6703e9c486249cee913bab <17db92da8be5dd3bf63c01f4109fe47db64fc66f, >=7d450e2821710718fd6703e9c486249cee913bab <3a5b0378ac6776c7c31b18e0f3c1389bd6005e80, >=7d450e2821710718fd6703e9c486249cee913bab <4404465a1bee3607ad90a4c5f9e16dfd75b85728, >=7d450e2821710718fd6703e9c486249cee913bab <6ddb4f372fc63210034b903d96ebbeb3c7195adb, >=7d450e2821710718fd6703e9c486249cee913bab <8d6a1c8e3de36cb0f5e866f1a582b00939e2310401981276d64e542c177b243f7c979fee855d5487, 17db92da8be5dd3bf63c01f4109fe47db64fc66f, 3a5b0378ac6776c7c31b18e0f3c1389bd6005e80, 4404465a1bee3607ad90a4c5f9e16dfd75b85728, 6ddb4f372fc63210034b903d96ebbeb3c7195adb, 8d6a1c8e3de36cb0f5e866f1a582b00939e23104

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36953 severity on Zeptric[![CVE-2024-36953](https://zeptric.io/badge/cve/CVE-2024-36953.svg)](https://zeptric.io/cve/CVE-2024-36953)