HID: hyperv: validate initial device info bounds
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.267, 5.15.218, 6.1.185, 6.6.154, 6.12.106, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in e0d5d3e45e142b7ef7525654aaa54d3e986002a6; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 390d3d9c52a710fdc9de95a537747397c0c671d1; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 8614c043b11cc35ffebd35542ab4da275f8f923d; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 334271d3812ab3197c95b4593bc6745f8d189114; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in f84d777574b748b1a488723ca7be9d87a301a872; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 608f8fd8c0f7b6268da43509447802955f210aac; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 2529737763cb4bcfcaf397beeea2664656c865b4; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in c894143c508a7e063aab9f73c9e835ab40121283; From b95f5bcb811e3905b5376f87789da8d097fee682 · fixed in 934b7778aa7b7c8f6bb073d2a73ba3674885bae0
- Linux Linux
3.3
- KernelLinux
From 3.3.0 · fixed in 5.10.267; From 5.11.0 · fixed in 5.15.218; From 5.16.0 · fixed in 6.1.185; From 6.2.0 · fixed in 6.6.154; From 6.7.0 · fixed in 6.12.106; From 6.13.0 · fixed in 6.18.47; From 6.19.0 · fixed in 7.1.11; From 7.2.0 · fixed in 7.2.1
References 9
git.kernel.org
- stable/c/e0d5d3e45e142b7ef7525654aaa54d3e986002a6
- stable/c/390d3d9c52a710fdc9de95a537747397c0c671d1
- stable/c/8614c043b11cc35ffebd35542ab4da275f8f923d
- stable/c/334271d3812ab3197c95b4593bc6745f8d189114
- stable/c/f84d777574b748b1a488723ca7be9d87a301a872
- stable/c/608f8fd8c0f7b6268da43509447802955f210aac
- stable/c/2529737763cb4bcfcaf397beeea2664656c865b4
- stable/c/c894143c508a7e063aab9f73c9e835ab40121283
- stable/c/934b7778aa7b7c8f6bb073d2a73ba3674885bae0