diff options
| author | Lee Jones <lee@kernel.org> | 2026-02-27 16:30:25 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-03-17 11:36:16 +0100 |
| commit | e716edafedad4952fe3a4a273d2e039a84e8681a (patch) | |
| tree | 0cdcea7537049f1fe7240da4e6575273748cbba3 /tools/perf/python | |
| parent | f7a4c78bfeb320299c1b641500fe7761eadbd101 (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 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
