KVM: x86: Handle SRCU initialization failure during page track init
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.10.715.14.105.15In 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]
From the CVE record · Linux
KVM page tracking in the Linux kernel did not check whether SRCU initialization failed due to out-of-memory conditions. This can lead to a NULL pointer dereference; the input does not establish an attack path, authentication requirement, or user interaction.
Engineers running Linux kernels with KVM should check whether their kernel includes the fix; affected versions were not provided.