CVE-2024-36953

MEDIUM

Linux Kernel - NULL Pointer Dereference in vgic_v2_parse_attr

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (22)
debian/debian_linux 10.0
linux/Kernel 4.7.0 - 5.10.217linux
linux/Kernel 5.11.0 - 5.15.159linux
linux/Kernel 5.16.0 - 6.1.91linux
linux/Kernel 6.2.0 - 6.6.31linux
linux/Kernel 6.7.0 - 6.8.10linux
Linux/Linux < 4.7
Linux/Linux 4.7
Linux/Linux 5.10.217 - 5.10.*
Linux/Linux 5.15.159 - 5.15.*
... and 12 more
Published May 30, 2024
Tracked Since Feb 18, 2026