INFO: task syz-executor1:10583 blocked for more than 120 seconds. Not tainted 4.9.99-gc2f9bce #25 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D28488 10583 3871 0x00000002 ffff8801d0141800 0000000000000000 ffff8801d9bd9f80 ffff8801d9a6b000 ffff8801db321b98 ffff8801b8d67838 ffffffff839e377d ffff8801d01420c8 ffffed003a028418 ffff8801d0141800 00fffc0000000000 ffff8801db322468 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3590 [] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [] mutex_lock_nested+0x326/0x870 kernel/locking/mutex.c:621 [] seq_free_client+0x1f/0xf0 sound/core/seq/seq_clientmgr.c:277 [] snd_seq_release+0x51/0xe0 sound/core/seq/seq_clientmgr.c:367 [] __fput+0x263/0x700 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x10c/0x180 kernel/task_work.c:116 [] exit_task_work include/linux/task_work.h:21 [inline] [] do_exit+0x9e1/0x27c0 kernel/exit.c:837 [] do_group_exit+0x111/0x340 kernel/exit.c:941 [] get_signal+0x4cf/0x1450 kernel/signal.c:2317 [] do_signal+0x87/0x19f0 arch/x86/kernel/signal.c:807 [] exit_to_usermode_loop+0xe1/0x120 arch/x86/entry/common.c:157 [] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:260 [inline] [] do_syscall_64+0x364/0x490 arch/x86/entry/common.c:287 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/519: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 2 locks held by getty/3771: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.+.}, at: [] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2133 1 lock held by syz-executor1/10583: #0: (register_mutex#3){+.+.+.}, at: [] seq_free_client+0x1f/0xf0 sound/core/seq/seq_clientmgr.c:277 1 lock held by syz-executor6/16226: #0: (register_mutex#3){+.+.+.}, at: [] snd_seq_open+0x45/0x570 sound/core/seq/seq_clientmgr.c:314 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.99-gc2f9bce #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d850fd08 ffffffff81eb0f09 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b7da0 ffff8801d850fd40 ffffffff81ebc207 0000000000000000 0000000000000000 0000000000000003 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6b4/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16277 Comm: syz-executor3 Not tainted 4.9.99-gc2f9bce #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801a005c800 task.stack: ffff880199530000 RIP: 0010:[] c [] ___might_sleep+0x42/0x260 kernel/sched/core.c:7958 RSP: 0018:ffff880199537ca0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8801a005c800 RCX: ffffc90001755000 RDX: 0000000000000000 RSI: 00000000000002d7 RDI: 0000000000000246 RBP: ffff880199537cc8 R08: ffffed00332a6fb9 R09: ffffed00332a6fb1 R10: ffffed00332a6fb8 R11: ffff880199537dc7 R12: 0000000000000000 R13: ffffffff83ea5c80 R14: 00000000000002d7 R15: 000000007fffffff FS: 00007f5d33013700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020e00000 CR3: 00000001b80bc000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801a005c800c ffffffff83ea5c80c 00000000000002d7c 0000000000000000c 000000007fffffffc ffff880199537d08c ffffffff811b9335c ffff880199537ce8c 0000000000000286c ffff8801a005c800c ffffffff83ea5c80c 00000000000002d7c Call Trace: [] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7949 [] __might_fault+0xaf/0x1d0 mm/memory.c:4011 [] copy_to_user arch/x86/include/asm/uaccess.h:727 [inline] [] extract_crng_user drivers/char/random.c:1014 [inline] [] urandom_read+0x1d5/0x580 drivers/char/random.c:1805 [] SYSC_getrandom drivers/char/random.c:1957 [inline] [] SyS_getrandom+0xcd/0x280 drivers/char/random.c:1938 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: ca5 c0f c0c c00 c85 cc0 c74 c0d c80 c3d c6e c11 ca9 c03 c00 c0f c84 cc7 c01 c00 c00 ce8 c8f c0f c0c c00 c85 cc0 c74 c0d c80 c3d c57 c11 ca9 c03 c00 c0f c84 c79 c01 c00 c00 c<65> c4c c8b c3c c25 c40 c7d c01 c00 c49 c8d cbf ce0 c03 c00 c00 c48 cb8 c00 c00 c00 c