linux/tools/testing/selftests/hid/tests
Benjamin Tissoires 3a1d22bd85 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>
2025-07-13 09:53:28 +02:00
..
__init__.py
base.py selftests/hid: skip tests with HID-BPF if udev-hid-bpf is not installed 2024-05-07 15:39:58 +02:00
base_device.py selftests/hid: add support for HID-BPF pre-loading before starting a test 2024-05-07 15:39:26 +02:00
base_gamepad.py selftests/hid: import base_gamepad.py from hid-tools 2024-05-07 15:39:47 +02:00
conftest.py
descriptors_wacom.py
test_apple_keyboard.py
test_gamepad.py selftests/hid: add tests for the Raptor Mach 2 joystick 2024-05-07 15:39:55 +02:00
test_hid_core.py
test_ite_keyboard.py
test_keyboard.py
test_mouse.py selftests/hid: add a test case for the recent syzbot underflow 2025-07-13 09:53:28 +02:00
test_multitouch.py
test_sony.py
test_tablet.py selftests/hid: add Huion Kamvas Pro 19 tests 2024-05-07 15:39:43 +02:00
test_usb_crash.py
test_wacom_generic.py