CVE-2022-48764
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/06/2024
Last modified:
24/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
KVM: x86: Free kvm_cpuid_entry2 array on post-KVM_RUN KVM_SET_CPUID{,2}<br />
<br />
Free the "struct kvm_cpuid_entry2" array on successful post-KVM_RUN<br />
KVM_SET_CPUID{,2} to fix a memory leak, the callers of kvm_set_cpuid()<br />
free the array only on failure.<br />
<br />
BUG: memory leak<br />
unreferenced object 0xffff88810963a800 (size 2048):<br />
comm "syz-executor025", pid 3610, jiffies 4294944928 (age 8.080s)<br />
hex dump (first 32 bytes):<br />
00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 ................<br />
47 65 6e 75 6e 74 65 6c 69 6e 65 49 00 00 00 00 GenuntelineI....<br />
backtrace:<br />
[] kmalloc_node include/linux/slab.h:604 [inline]<br />
[] kvmalloc_node+0x3e/0x100 mm/util.c:580<br />
[] kvmalloc include/linux/slab.h:732 [inline]<br />
[] vmemdup_user+0x22/0x100 mm/util.c:199<br />
[] kvm_vcpu_ioctl_set_cpuid2+0x8f/0xf0 arch/x86/kvm/cpuid.c:423<br />
[] kvm_arch_vcpu_ioctl+0xb99/0x1e60 arch/x86/kvm/x86.c:5251<br />
[] kvm_vcpu_ioctl+0x4ad/0x950 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4066<br />
[] vfs_ioctl fs/ioctl.c:51 [inline]<br />
[] __do_sys_ioctl fs/ioctl.c:874 [inline]<br />
[] __se_sys_ioctl fs/ioctl.c:860 [inline]<br />
[] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:860<br />
[] do_syscall_x64 arch/x86/entry/common.c:50 [inline]<br />
[] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80<br />
[] entry_SYSCALL_64_after_hwframe+0x44/0xae
Impact
Base Score 3.x
5.30
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16.3 (including) | 5.16.5 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



