Re: WARNING: bad usercopy in fanotify_read

2019-03-19 Thread Jan Kara
On Mon 18-03-19 11:27:12, Kees Cook wrote: > On Wed, Mar 13, 2019 at 8:47 AM Jan Kara wrote: > > > > On Wed 13-03-19 08:35:33, Kees Cook wrote: > > > On Wed, Mar 13, 2019 at 7:35 AM Jan Kara wrote: > > > > On Tue 12-03-19 23:26:22, Kees Cook wrote: > > > > > On Mon, Mar 11, 2019 at 1:42 PM syzbot

Re: WARNING: bad usercopy in fanotify_read

2019-03-18 Thread Kees Cook
On Wed, Mar 13, 2019 at 8:47 AM Jan Kara wrote: > > On Wed 13-03-19 08:35:33, Kees Cook wrote: > > On Wed, Mar 13, 2019 at 7:35 AM Jan Kara wrote: > > > On Tue 12-03-19 23:26:22, Kees Cook wrote: > > > > On Mon, Mar 11, 2019 at 1:42 PM syzbot > > > > wrote: > > > > > C reproducer: > > > > > h

Re: WARNING: bad usercopy in fanotify_read

2019-03-16 Thread syzbot
syzbot has bisected this bug to: commit a8b13aa20afb69161b5123b4f1acc7ea0a03d360 Author: Amir Goldstein Date: Thu Jan 10 17:04:36 2019 + fanotify: enable FAN_REPORT_FID init flag bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11e78d6f20 start commit: a8b13aa2 fano

Re: WARNING: bad usercopy in fanotify_read

2019-03-13 Thread Jan Kara
On Wed 13-03-19 08:35:33, Kees Cook wrote: > On Wed, Mar 13, 2019 at 7:35 AM Jan Kara wrote: > > On Tue 12-03-19 23:26:22, Kees Cook wrote: > > > On Mon, Mar 11, 2019 at 1:42 PM syzbot > > > wrote: > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > > > > [...] > >

Re: WARNING: bad usercopy in fanotify_read

2019-03-13 Thread Kees Cook
On Wed, Mar 13, 2019 at 7:35 AM Jan Kara wrote: > On Tue 12-03-19 23:26:22, Kees Cook wrote: > > On Mon, Mar 11, 2019 at 1:42 PM syzbot > > wrote: > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > > > [...] > > > [ cut here ] > > > Bad or mis

Re: WARNING: bad usercopy in fanotify_read

2019-03-13 Thread Jan Kara
On Tue 12-03-19 23:26:22, Kees Cook wrote: > On Mon, Mar 11, 2019 at 1:42 PM syzbot > wrote: > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > > [...] > > [ cut here ] > > Bad or missing usercopy whitelist? Kernel memory exposure attempt detecte

Re: WARNING: bad usercopy in fanotify_read

2019-03-12 Thread Amir Goldstein
On Wed, Mar 13, 2019 at 8:26 AM Kees Cook wrote: > > On Mon, Mar 11, 2019 at 1:42 PM syzbot > wrote: > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > > [...] > > [ cut here ] > > Bad or missing usercopy whitelist? Kernel memory exposure attemp

Re: WARNING: bad usercopy in fanotify_read

2019-03-12 Thread Kees Cook
On Mon, Mar 11, 2019 at 1:42 PM syzbot wrote: > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > [...] > [ cut here ] > Bad or missing usercopy whitelist? Kernel memory exposure attempt detected > from SLAB object 'fanotify_event' (offset 40, size

WARNING: bad usercopy in fanotify_read

2019-03-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:12ad143e Merge branch 'perf-urgent-for-linus' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12776f5720 kernel config: https://syzkaller.appspot.com/x/.config?x=e9d91b7192a5e96e da