Re: [PATCH 0/2] HID: hyperv: bound initial device info descriptor

From
Jiri Kosina <jikos@kernel.org>
Date
2026-08-03 19:10:29
Also in
linux-input, lkml, stable
Reply to
Michael Bommarito, 2026-07-10
On Thu, 9 Jul 2026, Michael Bommarito wrote:
A malicious Hyper-V host or backend can crash a guest with a short
SYNTH_HID_INITIAL_DEVICE_INFO message. mousevsc_on_receive_device_info()
trusts the HID descriptor bLength and wDescriptorLength without checking
that the received VMBus packet actually contains both byte ranges, so a
truncated packet with an oversized report-descriptor length makes the
guest read past the received packet while copying the descriptor. This
matters most for a confidential guest, where the host is outside the trust
boundary.
Well, untrusted host can crash the (confidential) guest in various other 
ways.

Anyway, the sanitization is good, so I've now applied it.

Thanks,

-- 
Jiri Kosina
SUSE Labs
Thread (10 messages) 10 messages, 6 authors, last reply 2026-08-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help