INFO: task syz-executor2:15108 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #209 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D24208 15108 5361 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 exp_funnel_lock kernel/rcu/tree_exp.h:320 [inline] _synchronize_rcu_expedited+0xc68/0xfd0 kernel/rcu/tree_exp.h:667 synchronize_rcu_expedited+0x35/0xb0 kernel/rcu/tree_exp.h:795 synchronize_net+0x3b/0x60 net/core/dev.c:9015 packet_set_ring+0x286/0x1da0 net/packet/af_packet.c:4336 packet_setsockopt+0x16ef/0x23b0 net/packet/af_packet.c:3646 __sys_setsockopt+0x1ba/0x3c0 net/socket.c:1900 __do_sys_setsockopt net/socket.c:1911 [inline] __se_sys_setsockopt net/socket.c:1908 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1908 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: 48 8b 54 24 38 48 8b 7c 24 48 eb 8d 48 8b 6c 24 50 48 83 c4 58 c3 48 89 04 24 48 89 5c 24 08 e8 fd a8 fb ff 48 8b 44 24 40 48 <8b> 4c 24 48 48 8b 54 24 38 4c 8b 54 24 18 e9 ee fe ff ff 48 89 74 RSP: 002b:00007fb2d3658c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fb2d36596d4 RCX: 0000000000457099 RDX: 000000000000000d RSI: 0000000000000107 RDI: 0000000000000008 RBP: 0000000000930320 R08: 0000000000000717 R09: 0000000000000000 R10: 0000000020001000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4ed8 R14: 00000000004c9283 R15: 0000000000000004 INFO: task syz-executor2:15109 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #209 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D25400 15109 5361 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __lock_sock+0x1fb/0x350 net/core/sock.c:2312 lock_sock_nested+0xfe/0x120 net/core/sock.c:2834 lock_sock include/net/sock.h:1491 [inline] packet_do_bind+0x9c/0xdb0 net/packet/af_packet.c:3044 packet_bind+0x15d/0x1b0 net/packet/af_packet.c:3165 __sys_bind+0x331/0x440 net/socket.c:1481 __do_sys_bind net/socket.c:1492 [inline] __se_sys_bind net/socket.c:1490 [inline] __x64_sys_bind+0x73/0xb0 net/socket.c:1490 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: 48 8b 54 24 38 48 8b 7c 24 48 eb 8d 48 8b 6c 24 50 48 83 c4 58 c3 48 89 04 24 48 89 5c 24 08 e8 fd a8 fb ff 48 8b 44 24 40 48 <8b> 4c 24 48 48 8b 54 24 38 4c 8b 54 24 18 e9 ee fe ff ff 48 89 74 RSP: 002b:00007fb2d3637c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007fb2d36386d4 RCX: 0000000000457099 RDX: 0000000000000014 RSI: 0000000020000200 RDI: 0000000000000008 RBP: 00000000009303c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cb740 R14: 00000000004c316a R15: 0000000000000005 Showing all locks held in the system: 2 locks held by kworker/1:0/19: #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 00000000ccf262a6 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 1 lock held by khungtaskd/984: #0: 0000000058044375 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/5221: #0: 0000000061e80dca (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5311: #0: 0000000037245e29 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000074f89684 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5312: #0: 00000000ab56078f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000004ef28127 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5313: #0: 000000006ab32432 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000d7bf1de8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5314: #0: 000000008820554a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000004ede55d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5315: #0: 00000000be87cd1c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000006b777fe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5316: #0: 000000000580080f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000001e73482 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5317: #0: 000000007003a909 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000089a33e9d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by kworker/1:3/5640: #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000c21fc10f ((wq_completion)"events"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 000000009b361ae5 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 1 lock held by syz-executor2/15108: #0: 000000001e88df8f (sk_lock-AF_PACKET){+.+.}, at: lock_sock include/net/sock.h:1491 [inline] #0: 000000001e88df8f (sk_lock-AF_PACKET){+.+.}, at: packet_setsockopt+0x602/0x23b0 net/packet/af_packet.c:3629 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 984 Comm: khungtaskd Not tainted 4.19.0-rc2+ #209 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+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57