syzbot


general protection fault in input_ff_erase

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+ef158c69e682516f7d50@syzkaller.appspotmail.com
First crash: 2212d, last: 2083d

Sample crash report:
input: syz0 as /devices/virtual/input/input4
input: syz0 as /devices/virtual/input/input5
kasan: CONFIG_KASAN_INLINE enabled[   33.004665] input: syz0 as /devices/virtual/input/input7
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 2070 Comm: syz-executor848 Not tainted 4.4.172+ #13
task: ffff8801d5ff8000 task.stack: ffff8800b75d8000
input: syz0 as /devices/virtual/input/input6
RIP: 0010:[<ffffffff811ff993>]  [<ffffffff811ff993>] __lock_acquire+0x5f3/0x4f50 kernel/locking/lockdep.c:3092
RSP: 0018:ffff8800b75df8d0  EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff8801d5ff8000 RCX: 0000000000000001
RDX: 0000000000000015 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8800b75dfa48 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff82836880 R11: ffffffff831a4d78 R12: ffff8801d5ff8000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000001fc7880(0063) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006d0090 CR3: 00000000ba3e2000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d5ff8000 ffff8801d5ff88c8 0000000000000003 0000000000000000
 ffff8800b75dfa78 0000000000000046 0000000000000000 0000000000000000
 ffff8800b75dfa98 ffffffff811ffdef ffff8800b75dfb30 ffffffff00000000
Call Trace:
 [<ffffffff81205d5e>] lock_acquire+0x15e/0x450 kernel/locking/lockdep.c:3592
 [<ffffffff8270bc11>] __mutex_lock_common kernel/locking/mutex.c:521 [inline]
 [<ffffffff8270bc11>] mutex_lock_nested+0xc1/0xb80 kernel/locking/mutex.c:621
 [<ffffffff81f89e0c>] input_ff_erase+0x7c/0xc0 drivers/input/ff-core.c:231
 [<ffffffff81f96692>] evdev_do_ioctl drivers/input/evdev.c:1107 [inline]
 [<ffffffff81f96692>] evdev_ioctl_handler+0x752/0x19c0 drivers/input/evdev.c:1302
 [<ffffffff81f97958>] evdev_ioctl+0x28/0x30 drivers/input/evdev.c:1311
 [<ffffffff814d2037>] vfs_ioctl fs/ioctl.c:43 [inline]
 [<ffffffff814d2037>] file_ioctl fs/ioctl.c:470 [inline]
 [<ffffffff814d2037>] do_vfs_ioctl+0x6e7/0xfa0 fs/ioctl.c:605
 [<ffffffff814d297f>] SYSC_ioctl fs/ioctl.c:622 [inline]
 [<ffffffff814d297f>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:613
 [<ffffffff82718621>] entry_SYSCALL_64_fastpath+0x1e/0x9a
Code: 0f 85 7f 32 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 8b 94 24 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 33 00 00 48 8b 84 24 88 00 00 00 48 81 38 
RIP  [<ffffffff811ff993>] __lock_acquire+0x5f3/0x4f50 kernel/locking/lockdep.c:3092
 RSP <ffff8800b75df8d0>
---[ end trace d5d3d8ec0a45731f ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/29 08:11 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 aa432daf .config console log report syz C ci-android-44-kasan-gce
2019/01/31 16:18 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 0e8ea0a3 .config console log report syz C ci-android-44-kasan-gce-386
2019/01/29 07:18 https://android.googlesource.com/kernel/common android-4.4 b3e9e81ee068 aa432daf .config console log report ci-android-44-kasan-gce
2019/03/10 05:10 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report ci-android-44-kasan-gce-386
2018/11/12 23:27 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 74dbb806 .config console log report ci-android-44-kasan-gce-386
2018/11/01 03:21 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 1f38e9ae .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.