CVE-2024-36953

Source
https://cve.org/CVERecord?id=CVE-2024-36953
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36953.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-36953
Downstream
Related
Published
2024-05-30T15:35:48.070Z
Modified
2026-05-28T03:53:26.018594735Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36953.json"
}
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/osv-test-cve-osv-conversion/osv-output/CVE-2024-36953.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
5.10.217
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.159
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.91
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.31
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.10

Database specific

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