diff options
| author | Rosalie Wanders <rosalie@mailbox.org> | 2026-04-12 04:08:06 +0300 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-04-28 19:27:26 +0300 |
| commit | a4170b63eda999d20ad6dc39ddc3ce5c1ac619e6 (patch) | |
| tree | 0dd4ef8c1ba2fab3a64d0f5c15902f9c6322efd8 /include/linux | |
| parent | 0f2b8466fb744a8b3313a9c1e2008f8cd53b2db7 (diff) | |
| download | linux-a4170b63eda999d20ad6dc39ddc3ce5c1ac619e6.tar.xz | |
HID: sony: add missing size validation for SMK-Link remotes
This commit adds the missing size validation for SMK-Link remotes in
sony_raw_event(), this prevents a malicious device from allowing
hid-sony to read out of bounds of the provided buffer.
I do not own these devices so the size check only forces that the buffer
is large enough for nsg_mrxu_parse_report().
Signed-off-by: Rosalie Wanders <rosalie@mailbox.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
