syzbot


INFO: task hung in evdev_flush

Status: auto-closed as invalid on 2019/05/17 03:15
Reported-by: syzbot+a3a90f83a5aea38396a1@syzkaller.appspotmail.com
First crash: 2268d, last: 2195d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in evdev_flush 4 2032d 2048d 0/1 auto-closed as invalid on 2019/10/25 08:39
android-49 INFO: task hung in evdev_flush 30 2023d 2048d 0/3 auto-closed as invalid on 2019/10/25 08:46
upstream INFO: task hung in evdev_flush input 1 2221d 2215d 0/28 auto-closed as invalid on 2019/04/21 11:45
android-44 INFO: task hung in evdev_flush (2) 2 2005d 2011d 0/2 auto-closed as invalid on 2019/10/25 08:52

Sample crash report:
INFO: task syz-executor5:23620 blocked for more than 140 seconds.
      Not tainted 4.4.157+ #101
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5   D ffff88009b657d58 29016 23620   2115 0x00000004
 ffff88009b657d58 0000000000000000 ffff8801b4722088 ffffed00368e4410
 ffff8801b4721700 ffff8801db61f180 ffff8801db61f1a8 ffff8801db61e898
 ffff8801db61e880 ffff8800b4e697c0 ffff8801b47217c0 0000000000000000
Call Trace:
 [<ffffffff826845ba>] schedule+0x7a/0x1b0 kernel/sched/core.c:3355
 [<ffffffff82684d53>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3388
 [<ffffffff82686a77>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff82686a77>] mutex_lock_nested+0x307/0x840 kernel/locking/mutex.c:621
 [<ffffffff81f22f92>] evdev_flush+0x72/0x120 drivers/input/evdev.c:350
 [<ffffffff8146e627>] filp_close+0xa7/0x140 fs/open.c:1095
 [<ffffffff814cdf01>] __close_fd+0x1a1/0x2b0 fs/file.c:650
 [<ffffffff8146e70c>] SYSC_close fs/open.c:1114 [inline]
 [<ffffffff8146e70c>] SyS_close+0x4c/0x90 fs/open.c:1112
 [<ffffffff82690f61>] entry_SYSCALL_64_fastpath+0x1e/0x9a
1 lock held by syz-executor5/23620:
 #0:  (&evdev->mutex){+.+.+.}, at: [<ffffffff81f22f92>] evdev_flush+0x72/0x120 drivers/input/evdev.c:350
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 22808 Comm: syz-executor2 Not tainted 4.4.157+ #101
task: ffff8801d6c5af80 task.stack: ffff8801d0070000
RIP: 0010:[<ffffffff812f4d80>]  [<ffffffff812f4d80>] __sanitizer_cov_trace_pc+0x0/0x50
RSP: 0018:ffff8801d00779c8  EFLAGS: 00000246
RAX: ffffffff8135abe3 RBX: dffffc0000000000 RCX: 1ffff1003a00eff3
RDX: 0000000000000000 RSI: ffffffff81358129 RDI: ffffffff82881518
RBP: ffff8801d0077d38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffff8801d0077d10
R13: ffffffff82880f20 R14: ffffc9000f938028 R15: 00000000000000bf
FS:  00007fa771640700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020627000 CR3: 00000001b6186000 CR4: 00000000001606b0
Stack:
 ffffffff8135abe8 ffff8801d6c5b868 00000000d6c5b848 1ffff1003a00ef3e
 0000000000028130 0000000041b58ab3 ffffffff82c48290 ffffffff81358050
 ffffffff8118a52c 000000000000860a 0000000000000000 ffff8801d0077a70
Call Trace:
 [<ffffffff812f93bc>] seccomp_run_filters kernel/seccomp.c:200 [inline]
 [<ffffffff812f93bc>] __seccomp_phase1_filter kernel/seccomp.c:606 [inline]
 [<ffffffff812f93bc>] seccomp_phase1+0x1cc/0xbf0 kernel/seccomp.c:685
 [<ffffffff81004a98>] syscall_trace_enter_phase1+0x2c8/0x480 arch/x86/entry/common.c:134
 [<ffffffff82690ffc>] tracesys+0xd/0x44
Code: 89 ff e8 f4 cb 16 00 eb 85 4c 89 e7 e8 4a cb 16 00 eb b7 e8 e3 cb 16 00 eb 89 4c 89 e7 e8 39 cb 16 00 e9 14 ff ff ff 0f 1f 40 00 <55> 48 89 e5 65 48 8b 04 25 80 67 01 00 65 8b 15 7c 19 d2 7e 81 
NMI backtrace for cpu 1
CPU: 1 PID: 20 Comm: khungtaskd Not tainted 4.4.157+ #101
task: ffff8801da6f4740 task.stack: ffff8800001c8000
RIP: 0010:[<ffffffff8109a386>]  [<ffffffff8109a386>] native_apic_mem_write arch/x86/include/asm/apic.h:93 [inline]
RIP: 0010:[<ffffffff8109a386>]  [<ffffffff8109a386>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff8109a386>]  [<ffffffff8109a386>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff8109a386>]  [<ffffffff8109a386>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8800001cfcc8  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300
RBP: ffff8800001cfcf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000003000000 R14: ffffffff82e5f3a0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f197f651000 CR3: 00000000b7e8b000 CR4: 00000000001606b0
Stack:
 ffffffff82e5f3a0 ffffffff831a3020 0000000000000007 fffffbfff06344e4
 0000000000000008 ffff8800001cfd10 ffffffff81091a11 ffffffff82920920
 0000000000000003 ffff8800001cfd68 ffffffff81a604a2 ffffffff813919a5
Call Trace:
 [<ffffffff81091a11>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81a604a2>] nmi_trigger_all_cpu_backtrace.cold.0+0x70/0xae lib/nmi_backtrace.c:85
 [<ffffffff81091ab4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8139b367>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8139b367>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8139b367>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8139b367>] watchdog.cold.0+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff8112f458>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff82691345>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: 00 c3 5f ff 80 e6 10 75 e1 41 c1 e5 18 44 89 2c 25 10 c3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 c3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 f2 

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/24 04:56 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 28d9ac76 .config console log report ci-android-44-kasan-gce
2018/09/23 01:04 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 37079712 .config console log report ci-android-44-kasan-gce
2018/09/22 08:20 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 37079712 .config console log report ci-android-44-kasan-gce
2018/09/10 15:17 https://android.googlesource.com/kernel/common android-4.4 b3f777efd917 f167cb6b .config console log report ci-android-44-kasan-gce
2018/09/06 03:14 https://android.googlesource.com/kernel/common android-4.4 b2cf10ee86d7 873745f2 .config console log report ci-android-44-kasan-gce
2018/11/18 03:14 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 adf636a8 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.