summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/add_negative
diff options
context:
space:
mode:
authorLee Jones <lee@kernel.org>2026-02-27 16:30:25 +0000
committerBenjamin Tissoires <bentiss@kernel.org>2026-03-17 11:36:16 +0100
commite716edafedad4952fe3a4a273d2e039a84e8681a (patch)
tree0cdcea7537049f1fe7240da4e6575273748cbba3 /scripts/atomic/fallbacks/add_negative
parentf7a4c78bfeb320299c1b641500fe7761eadbd101 (diff)
HID: multitouch: Check to ensure report responses match the request
It is possible for a malicious (or clumsy) device to respond to a specific report's feature request using a completely different report ID. This can cause confusion in the HID core resulting in nasty side-effects such as OOB writes. Add a check to ensure that the report ID in the response, matches the one that was requested. If it doesn't, omit reporting the raw event and return early. Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/atomic/fallbacks/add_negative')
0 files changed, 0 insertions, 0 deletions