syzbot


INFO: task hung in evdev_flush

Status: auto-closed as invalid on 2019/10/25 08:39
Reported-by: syzbot+58a0b0d5e452ed58c445@syzkaller.appspotmail.com
First crash: 2098d, last: 1877d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in evdev_flush 30 1868d 1893d 0/3 auto-closed as invalid on 2019/10/25 08:46
android-44 INFO: task hung in evdev_flush 6 2040d 1893d 0/2 auto-closed as invalid on 2019/05/17 03:15
upstream INFO: task hung in evdev_flush input 1 2066d 2060d 0/27 auto-closed as invalid on 2019/04/21 11:45
android-44 INFO: task hung in evdev_flush (2) 2 1851d 1857d 0/2 auto-closed as invalid on 2019/10/25 08:52

Sample crash report:
ip6_tunnel: ip6tnl1 xmit: Local address not yet configured!
ip6_tunnel: ip6tnl2 xmit: Local address not yet configured!
INFO: task syz-executor.0:15382 blocked for more than 140 seconds.
      Not tainted 4.14.113+ #61
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D28808 15382   3589 0x00000004
Call Trace:
 schedule+0x92/0x1c0 kernel/sched/core.c:3498
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893
 evdev_flush+0x6d/0x120 drivers/input/evdev.c:350
 filp_close+0xa0/0x130 fs/open.c:1154
INFO: task syz-executor.0:15388 blocked for more than 140 seconds.
      Not tainted 4.14.113+ #61
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D29568 15388   3589 0x80000006
Call Trace:
 schedule+0x92/0x1c0 kernel/sched/core.c:3498
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893
 evdev_flush+0x6d/0x120 drivers/input/evdev.c:350
 filp_close+0xa0/0x130 fs/open.c:1154

Showing all locks held in the system:
1 lock held by khungtaskd/23:
 #0:  (tasklist_lock){.+.+}, at: [<00000000ed210190>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544
2 locks held by getty/1764:
 #0:  (&tty->ldisc_sem){++++}, at: [<000000003e1d1ee1>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284
 #1:  (&ldata->atomic_read_lock){+.+.}, at: [<000000000720ae96>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156
1 lock held by syz-executor.0/15382:
 #0:  (&evdev->mutex){+.+.}, at: [<00000000f5bf74c8>] evdev_flush+0x6d/0x120 drivers/input/evdev.c:350
1 lock held by syz-executor.0/15388:
 #0:  (&evdev->mutex){+.+.}, at: [<00000000f5bf74c8>] evdev_flush+0x6d/0x120 drivers/input/evdev.c:350

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.113+ #61
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x10e lib/dump_stack.c:53
 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 28768 Comm: syz-executor.5 Not tainted 4.14.113+ #61
task: 00000000107f2310 task.stack: 000000006c3f9f23
RIP: 0010:lock_is_held_type+0xd/0x150 kernel/locking/lockdep.c:4021
RSP: 0018:ffff8881a205fe40 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff2342558
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff918d3320
RBP: ffff8881a205fe80 R08: 0000000000000005 R09: 0000000000000006
R10: 1ffff1103440bff9 R11: 0000000000000000 R12: ffffffff912ceb40
R13: 0000000000000437 R14: 0000000000000007 R15: 0000000000000000
FS:  00007f977133d700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000400300 CR3: 00000001d6eb4003 CR4: 00000000001606a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 lock_is_held include/linux/lockdep.h:437 [inline]
 ___might_sleep+0x203/0x280 kernel/sched/core.c:6084
Code: e8 99 9c 33 00 e9 39 ff ff ff e8 6f 9c 33 00 e9 5a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 54 55 <48> 89 fd 53 65 48 8b 1c 25 c0 de 01 00 48 8d bb 2c 08 00 00 48 

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/30 03:42 android-4.14 ffa22221c473 b617407b .config console log report ci-android-414-kasan-gce-root
2019/03/08 11:39 android-4.14 4df61bb7f2f6 12365b99 .config console log report ci-android-414-kasan-gce-root
2019/01/20 17:22 android-4.14 5a76363f1262 fd37a550 .config console log report ci-android-414-kasan-gce-root
2018/09/21 19:01 android-4.14 666c420fa3ea 37079712 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.