HID: hyperv: validate initial device info bounds
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f84d777574b748b1a488723ca7be9d87a301a872, Kernel 2529737763cb4bcfcaf397beeea2664656c865b4, Kernel 334271d3812ab3197c95b4593bc6745f8d189114 and 14 more.
In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: validate initial device info bounds The Hyper-V synthetic HID host supplies SYNTH_HID_INITIAL_DEVICE_INFO messages that contain a HID descriptor followed by the report descriptor bytes. mousevsc_on_receive_device_info() trusts bLength and wDescriptorLength without checking that the received packet contains both byte ranges. A malformed host or backend message can therefore make the guest read past the received VMBus packet while copying the report descriptor. Pass the received initial-device-info size into the parser and reject descriptor lengths that exceed the packet. Impact: A malicious Hyper-V host or backend can crash a guest by sending a short initial device-info message with an oversized HID report descriptor length.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b95f5bcb811e3905b5376f87789da8d097fee682 <f84d777574b748b1a488723ca7be9d87a301a872, >=b95f5bcb811e3905b5376f87789da8d097fee682 <2529737763cb4bcfcaf397beeea2664656c865b4, >=b95f5bcb811e3905b5376f87789da8d097fee682 <334271d3812ab3197c95b4593bc6745f8d189114, >=b95f5bcb811e3905b5376f87789da8d097fee682 <390d3d9c52a710fdc9de95a537747397c0c671d1, >=b95f5bcb811e3905b5376f87789da8d097fee682 <608f8fd8c0f7b6268da43509447802955f210aac, >=b95f5bcb811e3905b5376f87789da8d097fee682 <8614c043b11cc35ffebd35542ab4da275f8f923d, >=b95f5bcb811e3905b5376f87789da8d097fee682 <934b7778aa7b7c8f6bb073d2a73ba3674885bae0, >=b95f5bcb811e3905b5376f87789da8d097fee682 <c894143c508a7e063aab9f73c9e835ab40121283, >=b95f5bcb811e3905b5376f87789da8d097fee682 <e0d5d3e45e142b7ef7525654aaa54d3e986002a6, =3.3 | f84d777574b748b1a488723ca7be9d87a301a872, 2529737763cb4bcfcaf397beeea2664656c865b4, 334271d3812ab3197c95b4593bc6745f8d189114, 390d3d9c52a710fdc9de95a537747397c0c671d1, 608f8fd8c0f7b6268da43509447802955f210aac, 8614c043b11cc35ffebd35542ab4da275f8f923d, 934b7778aa7b7c8f6bb073d2a73ba3674885bae0, c894143c508a7e063aab9f73c9e835ab40121283, e0d5d3e45e142b7ef7525654aaa54d3e986002a6 |
| linux-kernel: Kernel | >=5.11.0 <5.15.218, >=5.16.0 <6.1.185, >=6.13.0 <6.18.47, >=6.19.0 <7.1.11, >=6.2.0 <6.6.154, >=6.7.0 <6.12.106, >=7.2.0 <7.2.1, >=3.3.0 <5.10.267 | 5.15.218, 6.1.185, 6.18.47, 7.1.11, 6.6.154, 6.12.106, 7.2.1, 5.10.267 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket