syzbot


WARNING: bad usercopy in fanotify_read
Status: fixed on 2019/04/01 10:28
Reported-by: syzbot+2c49971e251e36216d1f@syzkaller.appspotmail.com
Fix commit: b2d22b6bb33a fanotify: Allow copying of file handle to userspace
First crash: 997d, last: 997d

Cause bisection: introduced by (bisect log) :
commit a8b13aa20afb69161b5123b4f1acc7ea0a03d360
Author: Amir Goldstein <amir73il@gmail.com>
Date: Thu Jan 10 17:04:36 2019 +0000

  fanotify: enable FAN_REPORT_FID init flag

Crash: WARNING: bad usercopy in fanotify_read (log)
Repro: C syz .config

Sample crash report:

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2019/03/12 01:18 upstream a089e4fed5c5 12365b99 .config log report syz C
ci-upstream-kasan-gce-root 2019/03/11 19:16 upstream 12ad143e1b80 12365b99 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/03/11 18:59 upstream 12ad143e1b80 12365b99 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/03/12 10:38 linux-next cf08baa29613 12365b99 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/03/11 18:39 upstream 12ad143e1b80 12365b99 .config log report