INFO: task syz-executor.5:17965 blocked for more than 140 seconds. Not tainted 4.4.174+ #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D ffff8801a6f37d08 29096 17965 2144 0x00000004 ffff8801a6f37d08 ffff88008b9fdf00 71653f11810e3822 ffff88008b9fdf00 0000000000000000 ffff88008b9fe700 ffff8801db61f180 ffff8801db61f1a8 ffff8801db61e898 ffff880097a297c0 ffff88008b9fdf00 ffffed0034de6001 Call Trace: [] schedule+0x99/0x1d0 kernel/sched/core.c:3355 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3388 [] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [] mutex_lock_nested+0x3c2/0xb80 kernel/locking/mutex.c:621 [] evdev_flush+0x72/0x120 drivers/input/evdev.c:350 [] filp_close+0xa9/0x140 fs/open.c:1095 [] __close_fd+0x1a1/0x2b0 fs/file.c:650 [] SYSC_close fs/open.c:1114 [inline] [] SyS_close+0x46/0xa0 fs/open.c:1112 [] entry_SYSCALL_64_fastpath+0x1e/0x9a 1 lock held by syz-executor.5/17965: #0: (&evdev->mutex){+.+.+.}, at: [] evdev_flush+0x72/0x120 drivers/input/evdev.c:350 Sending NMI to all CPUs: NMI backtrace for cpu 0 CPU: 0 PID: 20 Comm: khungtaskd Not tainted 4.4.174+ #4 task: ffff8801da6f4740 task.stack: ffff8800001d0000 RIP: 0010:[] [] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:62 [inline] RIP: 0010:[] [] flat_send_IPI_mask+0xf7/0x1b0 arch/x86/kernel/apic/apic_flat_64.c:69 RSP: 0018:ffff8800001d7c88 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000 RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300 RBP: ffff8800001d7cb8 R08: 0000000000000018 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000003000000 R14: ffffffff82e5f2e0 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000090000003 CR3: 00000000895e5000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000001 ffffffff82e5f2e0 ffffffff831a6ac0 fffffbfff0634c34 000000000001b6c0 0000000000000008 ffff8800001d7cd8 ffffffff81092bee 0000000000000008 ffffffff82924260 ffff8800001d7d30 ffffffff81ab8252 Call Trace: [] nmi_raise_cpu_backtrace+0x5e/0x80 arch/x86/kernel/apic/hw_nmi.c:33 [] nmi_trigger_all_cpu_backtrace.cold+0xa1/0xae lib/nmi_backtrace.c:85 [] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 [] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog.cold+0xd3/0xee kernel/hung_task.c:238 [] kthread+0x273/0x310 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:537 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 1e 4c 89 e7 57 9d 0f 1f 44 00 00 e8 f1 NMI backtrace for cpu 1 CPU: 1 PID: 1982 Comm: syz-executor.4 Not tainted 4.4.174+ #4 task: ffff880097a297c0 task.stack: ffff8801d14e0000 RIP: 0010:[] [] lock_release+0x580/0xcf0 kernel/locking/lockdep.c:3615 RSP: 0018:ffff8801d14e7e40 EFLAGS: 00000282 RAX: 0000000000000007 RBX: 0000000000000100 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000246 RBP: ffff8801d14e7e60 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff880097a2a060 R14: 0000000000000000 R15: ffff880097a2a0aa FS: 00007f7d1dc75700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000050000049 CR3: 00000000b3151000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d653cfc0 ffff880090fda4e0 0000000000000000 00000000ffffffe8 ffff8801d14e7e78 ffffffff82717f5b ffff8801d653cf00 ffff8801d14e7ef8 ffffffff814f32ea ffff880097a297c0 ffff8801d653cf50 ffff8801d653cff8 Call Trace: [] __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] [] _raw_spin_unlock+0x1b/0x50 kernel/locking/spinlock.c:183 [] spin_unlock include/linux/spinlock.h:347 [inline] [] __alloc_fd+0x1ea/0x490 fs/file.c:550 [] get_unused_fd_flags+0x9e/0xd0 fs/file.c:561 [] SYSC_dup fs/file.c:938 [inline] [] SyS_dup+0x36/0xb0 fs/file.c:932 [] entry_SYSCALL_64_fastpath+0x1e/0x9a Code: 03 38 d0 7c 09 84 d2 74 05 e8 7d e7 27 00 c7 83 c4 08 00 00 00 00 00 00 48 8b 7d b0 57 9d 0f 1f 44 00 00 48 81 c4 88 00 00 00 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c0 80 7a 05 84 49 bf 00 00