diff options
author | F.A.Sulaiman <[email protected]> | 2021-08-24 20:37:30 +0530 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2021-09-15 16:31:21 +0200 |
commit | 1e4ce418b1cb1a810256b5fb3fd33d22d1325993 (patch) | |
tree | 3e7e93b21eb520c9a0263b892516a2a90614ac9b /Documentation/filesystems/caching/backend-api.rst | |
parent | 83ec91697412ae64d25dcca74597ed03029aa00d (diff) |
HID: betop: fix slab-out-of-bounds Write in betop_probe
Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver.
The problem is the driver assumes the device must have an input report but
some malicious devices violate this assumption.
So this patch checks hid_device's input is non empty before it's been used.
Reported-by: [email protected]
Signed-off-by: F.A. SULAIMAN <[email protected]>
Reviewed-by: Pavel Skripkin <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions