CVE-2024-36953 KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.7
해결 버전
- 4.7 미만
- 5.10.217 이상
- 5.15.159 이상
- 6.1.91 이상
- 6.6.31 이상
- 6.8.10 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/01981276d64e542c177b243f7c979fee855d5487 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/17db92da8be5dd3bf63c01f4109fe47db64fc66f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/3a5b0378ac6776c7c31b18e0f3c1389bd6005e80 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4404465a1bee3607ad90a4c5f9e16dfd75b85728 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6ddb4f372fc63210034b903d96ebbeb3c7195adb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8d6a1c8e3de36cb0f5e866f1a582b00939e23104 (새 창)