Linux Kernel HID Hyper-V Struct Memcpy Overrun Vulnerability

Vulnerability

A vulnerability in the Linux kernel's Hyper-V HID driver has been addressed, which involved a potential overrun warning related to the fortified memcpy function. This issue was particularly noticeable when using GCC 9. The problem arose in the 'mousevsc_on_receive' function, where the compiler detected a write overflow, suggesting that the code could be improved to avoid such warnings. The vulnerability was resolved by reworking the code to enhance readability and eliminate the warning, ensuring that memory is not corrupted when handling data from the hypervisor.

Impact

The vulnerability could lead to memory corruption by allowing a write operation to exceed the allocated size of a data field, potentially causing undefined behavior or exploitation opportunities.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable tree.

Added: Oct 4, 2025, 6:48 PM
Updated: Oct 4, 2025, 6:48 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
5.3
remediation
7.7
relevance
0.7
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.