summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Jones <lee@kernel.org>2026-02-27 19:30:25 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2026-03-17 13:36:16 +0300
commite716edafedad4952fe3a4a273d2e039a84e8681a (patch)
tree0cdcea7537049f1fe7240da4e6575273748cbba3 /include
parentf7a4c78bfeb320299c1b641500fe7761eadbd101 (diff)
downloadlinux-e716edafedad4952fe3a4a273d2e039a84e8681a.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions