Thread (17 messages) 17 messages, 4 authors, 2019-08-22

Re: KASAN: slab-out-of-bounds Read in hidraw_ioctl

From: Andrey Konovalov <hidden>
Date: 2019-08-21 16:26:46
Also in: linux-usb, lkml

On Wed, Aug 21, 2019 at 6:24 PM Alan Stern [off-list ref] wrote:
On Wed, 21 Aug 2019, Andrey Konovalov wrote:
quoted
On Wed, Aug 21, 2019 at 3:37 PM syzbot
[off-list ref] wrote:
quoted
Hello,

syzbot has tested the proposed patch but the reproducer still triggered
crash:
KASAN: slab-out-of-bounds Read in hidraw_ioctl
Same here, a different bug.
It looks like I've got the fix for both these bugs.  Testing now...
Great! Do you think "BUG: bad usercopy in hidraw_ioctl" can also be
fixed by one of those fixes?
quoted
quoted
Tested on:

commit:         e96407b4 usb-fuzzer: main usb gadget fuzzer driver
git tree:       https://github.com/google/kasan.git
console output: https://syzkaller.appspot.com/x/log.txt?x=14f14a1e600000
kernel config:  https://syzkaller.appspot.com/x/.config?x=cfa2c18fb6a8068e
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
patch:          https://syzkaller.appspot.com/x/patch.diff?x=171cd95a600000
Why don't these patch-test reports include the dashboard link?  It sure
would be handy to have a copy of it here.

Alan Stern
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help