INFO: task syz-executor.4:14814 blocked for more than 140 seconds. Not tainted 5.0.0+ #7 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28224 14814 13881 0x00000004 Call Trace: context_switch kernel/sched/core.c:2844 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3485 schedule+0x92/0x180 kernel/sched/core.c:3529 exp_funnel_lock kernel/rcu/tree_exp.h:319 [inline] _synchronize_rcu_expedited.constprop.0+0x4d4/0x530 kernel/rcu/tree_exp.h:622 synchronize_rcu_expedited+0x27/0xa0 kernel/rcu/tree_exp.h:762 synchronize_net+0x3b/0x60 net/core/dev.c:9247 packet_release+0x766/0xbf0 net/packet/af_packet.c:3012 __sock_release+0xd3/0x2b0 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1162 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411e31 Code: 48 39 c8 0f 8e 87 01 00 00 48 89 ca 48 85 c9 0f 84 5f 01 00 00 48 89 4c 24 40 48 8b 9c 24 98 00 00 00 48 89 5c 24 50 48 8b b4 <24> b0 00 00 00 48 89 74 24 48 0f b6 3d 53 2f 29 01 40 84 ff 0f 85 RSP: 002b:00007ffe6e64d220 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411e31 RDX: 0000000000000000 RSI: ffffffff87043990 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffff8132991a R09: 0000000045bf3005 R10: 00007ffe6e64d150 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe6e64d260 R14: 0000000000000000 R15: 00007ffe6e64d270 INFO: task syz-executor.2:14817 blocked for more than 140 seconds. Not tainted 5.0.0+ #7 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28224 14817 14297 0x00000004 Call Trace: context_switch kernel/sched/core.c:2844 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3485 schedule+0x92/0x180 kernel/sched/core.c:3529 exp_funnel_lock kernel/rcu/tree_exp.h:319 [inline] _synchronize_rcu_expedited.constprop.0+0x4d4/0x530 kernel/rcu/tree_exp.h:622 synchronize_rcu_expedited+0x27/0xa0 kernel/rcu/tree_exp.h:762 synchronize_net+0x3b/0x60 net/core/dev.c:9247 packet_release+0x766/0xbf0 net/packet/af_packet.c:3012 __sock_release+0xd3/0x2b0 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1162 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411e31 Code: 48 39 c8 0f 8e 87 01 00 00 48 89 ca 48 85 c9 0f 84 5f 01 00 00 48 89 4c 24 40 48 8b 9c 24 98 00 00 00 48 89 5c 24 50 48 8b b4 <24> b0 00 00 00 48 89 74 24 48 0f b6 3d 53 2f 29 01 40 84 ff 0f 85 RSP: 002b:00007ffd6e5d9cb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411e31 RDX: 0000000000000000 RSI: ffffffff87043990 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffff8132991a R09: 000000007ff132a2 R10: 00007ffd6e5d9be0 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd6e5d9cf0 R14: 0000000000000000 R15: 00007ffd6e5d9d00 Showing all locks held in the system: 1 lock held by khungtaskd/1041: #0: 000000001d83af8b (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 2 locks held by rsyslogd/7485: #0: 0000000002414d52 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 #1: 000000004441f7e1 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1149 [inline] #1: 000000004441f7e1 (&rq->lock){-.-.}, at: __schedule+0x1fc/0x1cc0 kernel/sched/core.c:3423 2 locks held by getty/7629: #0: 00000000e438bce4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000453bf3d4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7630: #0: 00000000844eb1de (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c919c3ef (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7631: #0: 000000002b8841c0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004aea0057 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7632: #0: 000000005253a8fb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005a1b0b79 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7633: #0: 000000006e120c7c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e1ec56f4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7634: #0: 00000000b4f3de14 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005006a8fd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7635: #0: 000000003286f5f7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000006ef78829 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.4/14814: #0: 00000000e390ab99 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:763 [inline] #0: 00000000e390ab99 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2b0 net/socket.c:578 1 lock held by syz-executor.2/14817: #0: 0000000044e156aa (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:763 [inline] #0: 0000000044e156aa (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2b0 net/socket.c:578 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1041 Comm: khungtaskd Not tainted 5.0.0+ #7 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:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x2/0x10 arch/x86/include/asm/irqflags.h:57