INFO: task syz-executor.0:12862 blocked for more than 143 seconds. Not tainted 5.2.0-rc4-next-20190611 #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28216 12862 8503 0x80004006 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7c5/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3567 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __input_unregister_device+0x161/0x490 drivers/input/input.c:2021 input_unregister_device+0xc5/0x110 drivers/input/input.c:2203 uinput_destroy_device+0x1f4/0x250 drivers/input/misc/uinput.c:294 uinput_release+0x3c/0x60 drivers/input/misc/uinput.c:705 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x90a/0x2fa0 kernel/exit.c:877 do_group_exit+0x135/0x360 kernel/exit.c:981 get_signal+0x463/0x2490 kernel/signal.c:2728 do_signal+0x87/0x1990 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: ac 00 00 00 48 83 ec 28 48 89 6c 24 20 48 8d 6c 24 20 48 8b 42 08 48 89 44 24 08 84 00 48 89 04 24 e8 eb 61 fb ff 48 8b 44 24 <08> 8b 48 10 85 c9 76 18 ff c9 89 48 10 48 89 04 24 e8 71 63 fb ff RSP: 002b:00007fd147c94cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000075bf28 RCX: 0000000000459279 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c R13: 00007fffd1115d3f R14: 00007fd147c959c0 R15: 000000000075bf2c INFO: task syz-executor.0:12986 can't die for more than 143 seconds. syz-executor.0 D28584 12986 8503 0x00004004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7c5/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 exp_funnel_lock kernel/rcu/tree_exp.h:309 [inline] synchronize_rcu_expedited+0x54e/0x5b0 kernel/rcu/tree_exp.h:790 synchronize_rcu.part.0+0x76/0xe0 kernel/rcu/tree.c:2565 synchronize_rcu+0x27/0xa0 kernel/rcu/tree.c:2568 input_unregister_handle+0x20a/0x2a0 drivers/input/input.c:2371 evdev_disconnect+0x90/0xc0 drivers/input/evdev.c:1445 __input_unregister_device+0x1fa/0x490 drivers/input/input.c:2024 input_unregister_device+0xc5/0x110 drivers/input/input.c:2203 uinput_destroy_device+0x1f4/0x250 drivers/input/misc/uinput.c:294 uinput_ioctl_handler.isra.0+0x159/0x1c50 drivers/input/misc/uinput.c:869 uinput_ioctl+0x4a/0x60 drivers/input/misc/uinput.c:1036 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: ac 00 00 00 48 83 ec 28 48 89 6c 24 20 48 8d 6c 24 20 48 8b 42 08 48 89 44 24 08 84 00 48 89 04 24 e8 eb 61 fb ff 48 8b 44 24 <08> 8b 48 10 85 c9 76 18 ff c9 89 48 10 48 89 04 24 e8 71 63 fb ff RSP: 002b:00007fd147c52c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459279 RDX: 0000000000000000 RSI: 0000000000005502 RDI: 0000000000000008 RBP: 000000000075c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd147c536d4 R13: 00000000004c3ea9 R14: 00000000004d7ae8 R15: 00000000ffffffff INFO: task syz-executor.0:12986 blocked for more than 144 seconds. Not tainted 5.2.0-rc4-next-20190611 #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28584 12986 8503 0x00004004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7c5/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 exp_funnel_lock kernel/rcu/tree_exp.h:309 [inline] synchronize_rcu_expedited+0x54e/0x5b0 kernel/rcu/tree_exp.h:790 synchronize_rcu.part.0+0x76/0xe0 kernel/rcu/tree.c:2565 synchronize_rcu+0x27/0xa0 kernel/rcu/tree.c:2568 input_unregister_handle+0x20a/0x2a0 drivers/input/input.c:2371 evdev_disconnect+0x90/0xc0 drivers/input/evdev.c:1445 __input_unregister_device+0x1fa/0x490 drivers/input/input.c:2024 input_unregister_device+0xc5/0x110 drivers/input/input.c:2203 uinput_destroy_device+0x1f4/0x250 drivers/input/misc/uinput.c:294 uinput_ioctl_handler.isra.0+0x159/0x1c50 drivers/input/misc/uinput.c:869 uinput_ioctl+0x4a/0x60 drivers/input/misc/uinput.c:1036 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: ac 00 00 00 48 83 ec 28 48 89 6c 24 20 48 8d 6c 24 20 48 8b 42 08 48 89 44 24 08 84 00 48 89 04 24 e8 eb 61 fb ff 48 8b 44 24 <08> 8b 48 10 85 c9 76 18 ff c9 89 48 10 48 89 04 24 e8 71 63 fb ff RSP: 002b:00007fd147c52c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459279 RDX: 0000000000000000 RSI: 0000000000005502 RDI: 0000000000000008 RBP: 000000000075c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd147c536d4 R13: 00000000004c3ea9 R14: 00000000004d7ae8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1044: #0: 00000000cf8f6755 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5262 1 lock held by rsyslogd/8371: #0: 000000002a709cdc (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8461: #0: 000000006e640426 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002c5484a8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8462: #0: 00000000084dbea0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000cc99d32f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8463: #0: 000000003b484db8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b39d7eb4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8464: #0: 0000000094f3f8f7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002fa31708 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8465: #0: 000000006d43f75f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000340353f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8466: #0: 000000003e7c6f54 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000012eb7611 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8467: #0: 00000000030710e0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c2015b23 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/12862: #0: 0000000055f2f9de (input_mutex){+.+.}, at: __input_unregister_device+0x161/0x490 drivers/input/input.c:2021 2 locks held by syz-executor.0/12986: #0: 00000000188a0d84 (&newdev->mutex){+.+.}, at: uinput_ioctl_handler.isra.0+0xb5/0x1c50 drivers/input/misc/uinput.c:846 #1: 0000000055f2f9de (input_mutex){+.+.}, at: __input_unregister_device+0x161/0x490 drivers/input/input.c:2021 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1044 Comm: khungtaskd Not tainted 5.2.0-rc4-next-20190611 #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:249 [inline] watchdog+0xb88/0x12b0 kernel/hung_task.c:333 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.2.0-rc4-next-20190611 #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:reschedule_interrupt+0x0/0x20 arch/x86/entry/entry_64.S:830 Code: 66 2e 0f 1f 84 00 00 00 00 00 68 03 ff ff ff e8 26 f2 ff ff e8 f1 20 00 00 e9 fb f2 ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 <68> 02 ff ff ff e8 06 f2 ff ff e8 71 1c 00 00 e9 db f2 ff ff 66 90 RSP: 0018:ffff8880a98e7d48 EFLAGS: 00000082 RAX: 1ffffffff11a4f61 RBX: ffff8880a98d4340 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffff8880a98d4bcc RBP: ffff8880a98e7da8 R08: ffff8880a98d4340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88d27af8 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000a4703000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:571 default_idle_call+0x36/0x90 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x377/0x560 kernel/sched/idle.c:263 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:354 start_secondary+0x34e/0x4c0 arch/x86/kernel/smpboot.c:270 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243