Buffer Overflow Vulnerability in Linux Kernel Affecting KVM Functions
CVE-2025-39704
Currently unrated
What is CVE-2025-39704?
A vulnerability exists in the Kernel-based Virtual Machine (KVM) of the Linux kernel, specifically within the send_ipi_data() function. Improper buffer size handling for the parameter *val—expected to be at least 8 bytes—can lead to potential stack corruption when CONFIG_STACKPROTECTOR is enabled. Functions such as loongarch_ipi_readl() and kvm_eiointc_read() may incorrectly write to the buffer, triggering a kernel panic and allowing exploitation. Immediate patching is recommended to mitigate this risk.
Affected Version(s)
Linux daee2f9cae5510ba1bd9eed6b0cf0ca8dc276118
Linux daee2f9cae5510ba1bd9eed6b0cf0ca8dc276118 < 5c68549c81bcca70fc464e305ffeefd9af968287
Linux 6.13