CVE-2024-36953
Vulnerability Summary
Timeline
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 Metrics
- v3.1•MEDIUM•Score: 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.23%• Percentile: 14%
Techniques & Countermeasures
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
Affected Systems
- debian•linux
< 5.10.218-1 | < 6.1.94-1 | < 6.8.11-1 | < 6.8.11-1
- ubuntu•linux
< 4.15.0-231.243 | < 5.4.0-202.222 | < 5.15.0-118.128 | < 6.8.0-40.40
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.15.0-1175.188 | < 5.4.0-1136.146 | < 5.15.0-1067.73 | < 6.8.0-1013.14
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1067.73~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1136.146~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1013.14~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2113.119 | all | < 5.4.0-1136.146+fips1 | < 5.15.0-1067.73+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1175.188~16.04.1
- ubuntu•linux-azure
< 4.15.0-1183.198~14.04.1 | < 4.15.0-1183.198~16.04.1 | all | < 5.4.0-1142.149 | < 5.15.0-1070.79 | < 6.8.0-1012.14
- ubuntu•linux-azure-4.15
< 4.15.0-1183.198
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1070.79~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1142.149~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1012.14~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1070.79.1
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2092.98 | all | < 5.4.0-1142.149+fips1 | < 5.15.0-1070.79+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1096.103 | < 5.15.0-1050.52
- ubuntu•linux-fips
< 4.15.0-1129.140 | all | < 5.4.0-1110.120 | < 5.15.0-118.128+fips1 | < 6.8.0-78.78+fips1
- ubuntu•linux-gcp
< 4.15.0-1168.185~16.04.1 | all | < 5.4.0-1140.149 | < 5.15.0-1066.74 | < 6.8.0-1012.13
- ubuntu•linux-gcp-4.15
< 4.15.0-1168.185
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1066.74~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1140.149~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-6.8
< 6.8.0-1012.13~22.04.1
- ubuntu•linux-gcp-fips
< 4.15.0-2076.81 | all | < 5.4.0-1140.149+fips1 | < 5.15.0-1066.74+fips1
- ubuntu•linux-gke
all | < 5.15.0-1064.70 | < 6.8.0-1008.11
Showing first 50 affected entries in server-rendered view.
References (33)
- https://git.kernel.org/stable/c/4404465a1bee3607ad90a4c5f9e16dfd75b85728
- https://git.kernel.org/stable/c/17db92da8be5dd3bf63c01f4109fe47db64fc66f
- https://git.kernel.org/stable/c/3a5b0378ac6776c7c31b18e0f3c1389bd6005e80
- https://git.kernel.org/stable/c/8d6a1c8e3de36cb0f5e866f1a582b00939e23104
- https://git.kernel.org/stable/c/01981276d64e542c177b243f7c979fee855d5487
- https://git.kernel.org/stable/c/6ddb4f372fc63210034b903d96ebbeb3c7195adb
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
- https://ubuntu.com/security/CVE-2024-36953
- https://www.cve.org/CVERecord?id=CVE-2024-36953
- https://git.kernel.org/linus/6ddb4f372fc63210034b903d96ebbeb3c7195adb
- https://ubuntu.com/security/notices/USN-6949-1
- https://ubuntu.com/security/notices/USN-6950-1
- https://ubuntu.com/security/notices/USN-6952-1
- https://ubuntu.com/security/notices/USN-6955-1
- https://ubuntu.com/security/notices/USN-6956-1
- https://ubuntu.com/security/notices/USN-6957-1
- https://ubuntu.com/security/notices/USN-6950-2
- https://ubuntu.com/security/notices/USN-6950-3
- https://ubuntu.com/security/notices/USN-6949-2
- https://ubuntu.com/security/notices/USN-6952-2
- https://ubuntu.com/security/notices/USN-6950-4
- https://ubuntu.com/security/notices/USN-7019-1
- https://ubuntu.com/security/notices/USN-7121-1
- https://ubuntu.com/security/notices/USN-7121-2
- https://ubuntu.com/security/notices/USN-7121-3
- https://ubuntu.com/security/notices/USN-7159-1
- https://ubuntu.com/security/notices/USN-7159-2
- https://ubuntu.com/security/notices/USN-7159-3
- https://ubuntu.com/security/notices/USN-7159-4
- https://ubuntu.com/security/notices/USN-7159-5
- https://ubuntu.com/security/notices/USN-7195-1
- https://ubuntu.com/security/notices/USN-7195-2
- https://security-tracker.debian.org/tracker/CVE-2024-36953