CVEvulnerability
CVE-2021-47407
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: Handle SRCU initialization failure during page track init
Check the return of init_srcu_struct(), which can fail due to OOM, when
initializing the page track mechanism. Lack of checking leads to a NULL
pointer deref found by a modified syzkaller.
[Move the call towards the beginning of kvm_arch_init_vm. - Paolo]
Affected configurations
• linux linux kernel (< 5.10.71)
• linux linux kernel (>= 5.11 < 5.14.10)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/4664318f73e496cd22c71b10888e75434a123e23 Mailing List, Patch
- https://git.kernel.org/stable/c/deb2949417677649e2413266d7ce8c2ff73952b4 Mailing List, Patch
- https://git.kernel.org/stable/c/eb7511bf9182292ef1df1082d23039e856d1ddfb Mailing List, Patch
- https://git.kernel.org/stable/c/4664318f73e496cd22c71b10888e75434a123e23 Mailing List, Patch
- https://git.kernel.org/stable/c/deb2949417677649e2413266d7ce8c2ff73952b4 Mailing List, Patch
- https://git.kernel.org/stable/c/eb7511bf9182292ef1df1082d23039e856d1ddfb Mailing List, Patch