diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2025-07-10 16:01:36 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2025-07-13 09:53:28 +0200 |
commit | 3a1d22bd85381c4e358fc3340e776c3a3223a1d0 (patch) | |
tree | 65e4b12915ac932198b0c28c128b6f4ac5ccea03 /scripts/gdb/linux/xarray.py | |
parent | c2ca42f190b6714d6c481dfd3d9b62ea091c946b (diff) |
selftests/hid: add a test case for the recent syzbot underflow
Syzbot found a buffer underflow in __hid_request(). Add a related test
case for it.
It's not perfect, but it allows to catch a corner case when a report
descriptor is crafted so that it has a size of 0.
Link: https://patch.msgid.link/20250710-report-size-null-v2-4-ccf922b7c4e5@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions