Re: KASAN: use-after-free Read in ld_usb_release

2019-08-12 Thread Greg KH
On Fri, Aug 09, 2019 at 12:51:00PM -0400, Alan Stern wrote: > Greg: > > See below... > > On Fri, 9 Aug 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-12 Thread Greg KH
On Mon, Aug 12, 2019 at 10:21:14AM -0400, Alan Stern wrote: > On Mon, 12 Aug 2019, Andrey Konovalov wrote: > > > Alan, could you submit this patch (if you haven't already)? Looks like > > it fixes this bug (and might fix some others). > > I will. I was waiting to see if Greg KH had any comments.

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-12 Thread Alan Stern
On Mon, 12 Aug 2019, Andrey Konovalov wrote: > Alan, could you submit this patch (if you haven't already)? Looks like > it fixes this bug (and might fix some others). I will. I was waiting to see if Greg KH had any comments. Alan Stern > > drivers/usb/core/file.c | 10 +- > > 1 fil

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-12 Thread Andrey Konovalov
On Fri, Aug 9, 2019 at 6:51 PM Alan Stern wrote: > > Greg: > > See below... > > On Fri, 9 Aug 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com/google/kasan

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-09 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+30cf45ebfe0b0c484...@syzkaller.appspotmail.com Tested on: commit: e96407b4 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasa

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-09 Thread Andrey Konovalov
On Fri, Aug 9, 2019 at 6:51 PM Alan Stern wrote: > > Greg: > > See below... > > On Fri, 9 Aug 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com/google/kasan

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-09 Thread Alan Stern
Greg: See below... On Fri, 9 Aug 2019, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.t

KASAN: use-after-free Read in ld_usb_release

2019-08-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=15a16f2660 kernel config: https://syzkaller.appspot.com/x/.