In the Linux kernel, the following vulnerability has been resolved:
drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
In the "pmcmd_ioctl" function, three memory objects allocated by kmalloc are initialized by "hcall_get_cpu_state", which are then copied to user space. The initializer is indeed implemented in "acrn_hypercall2" (arch/x86/include/asm/acrn.h). There is a risk of information leakage due to uninitialized bytes.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.12 | 5.15.179 |
| linux / linux_kernel | 5.16 | 6.1.131 |
| linux / linux_kernel | 6.2 | 6.6.83 |
| linux / linux_kernel | 6.7 | 6.12.19 |
| linux / linux_kernel | 6.13 | 6.13.7 |
| linux / linux_kernel | 6.14-rc1 | 6.14-rc1.x |
| linux / linux_kernel | 6.14-rc2 | 6.14-rc2.x |
| linux / linux_kernel | 6.14-rc3 | 6.14-rc3.x |
| linux / linux_kernel | 6.14-rc4 | 6.14-rc4.x |
| linux / linux_kernel | 6.14-rc5 | 6.14-rc5.x |
| debian / debian_linux | 11.0 | 11.0.x |