diff options
author | Andrew Ballance <andrewjballance@gmail.com> | 2024-06-02 03:50:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 13:52:32 +0200 |
commit | 5c117d5936ca7a271437f3d9eee0fce65edaca2c (patch) | |
tree | 58eb16d687f78bd39d3da6e7b78378b669ec7741 /drivers/isdn/mISDN/stack.c | |
parent | c47b27715604b40e4096ffb16ac6a21654d97416 (diff) | |
download | linux-stable-5c117d5936ca7a271437f3d9eee0fce65edaca2c.tar.gz linux-stable-5c117d5936ca7a271437f3d9eee0fce65edaca2c.tar.bz2 linux-stable-5c117d5936ca7a271437f3d9eee0fce65edaca2c.zip |
hid: asus: asus_report_fixup: fix potential read out of bounds
commit 89e1ee118d6f0ee6bd6e80d8fe08839875daa241 upstream.
syzbot reported a potential read out of bounds in asus_report_fixup.
this patch adds checks so that a read out of bounds will not occur
Signed-off-by: Andrew Ballance <andrewjballance@gmail.com>
Reported-by: <syzbot+07762f019fd03d01f04c@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=07762f019fd03d01f04c
Fixes: 59d2f5b7392e ("HID: asus: fix more n-key report descriptors if n-key quirked")
Link: https://lore.kernel.org/r/20240602085023.1720492-1-andrewjballance@gmail.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn/mISDN/stack.c')
0 files changed, 0 insertions, 0 deletions