mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| progs | ||
| tests | ||
| .gitignore | ||
| Makefile | ||
| config | ||
| config.common | ||
| config.x86_64 | ||
| hid-apple.sh | ||
| hid-core.sh | ||
| hid-gamepad.sh | ||
| hid-ite.sh | ||
| hid-keyboard.sh | ||
| hid-mouse.sh | ||
| hid-multitouch.sh | ||
| hid-sony.sh | ||
| hid-tablet.sh | ||
| hid-usb_crash.sh | ||
| hid-wacom.sh | ||
| hid_bpf.c | ||
| hid_common.h | ||
| hidraw.c | ||
| run-hid-tools-tests.sh | ||
| settings | ||
| vmtest.sh | ||