CVE-2024-36953

Source
https://cve.org/CVERecord?id=CVE-2024-36953
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36953.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36953
Downstream
Related
Published
2024-05-30T15:35:48.070Z
Modified
2026-03-14T12:34:16.790643Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
Details

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

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

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

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36953.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7d450e2821710718fd6703e9c486249cee913bab
Fixed
4404465a1bee3607ad90a4c5f9e16dfd75b85728
Fixed
17db92da8be5dd3bf63c01f4109fe47db64fc66f
Fixed
3a5b0378ac6776c7c31b18e0f3c1389bd6005e80
Fixed
8d6a1c8e3de36cb0f5e866f1a582b00939e23104
Fixed
01981276d64e542c177b243f7c979fee855d5487
Fixed
6ddb4f372fc63210034b903d96ebbeb3c7195adb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36953.json"