aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorF.A.Sulaiman <[email protected]>2021-08-24 15:07:30 +0000
committerJiri Kosina <[email protected]>2021-09-15 14:31:21 +0000
commit1e4ce418b1cb1a810256b5fb3fd33d22d1325993 (patch)
tree3e7e93b21eb520c9a0263b892516a2a90614ac9b /fs/ext4/fast_commit.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff)
downloadkernel-1e4ce418b1cb1a810256b5fb3fd33d22d1325993.tar.gz
kernel-1e4ce418b1cb1a810256b5fb3fd33d22d1325993.zip
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 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions