INFO: task syz-executor.2:14579 blocked for more than 143 seconds. Not tainted 5.2.0-rc5+ #40 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28128 14579 8412 0x00000004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3445 schedule+0xa8/0x260 kernel/sched/core.c:3509 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:601 [inline] rwsem_down_write_failed+0x7a1/0xc60 kernel/locking/rwsem-xadd.c:633 __down_write kernel/locking/rwsem.h:227 [inline] down_write+0x93/0xa0 kernel/locking/rwsem.c:68 unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 bcm_release+0x93/0x5d0 net/can/bcm.c:1525 __sock_release+0xce/0x2a0 net/socket.c:601 sock_close+0x1b/0x30 net/socket.c:1273 __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 tracehook_notify_resume include/linux/tracehook.h:185 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:168 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:0x412fb1 Code: 80 3b 7c 0f 84 c7 02 00 00 c7 85 d0 00 00 00 00 00 00 00 48 8b 05 cf a6 24 00 49 8b 14 24 41 b9 cb 2a 44 00 48 89 ee 48 89 df <48> 85 c0 4c 0f 45 c8 45 31 c0 31 c9 e8 0e 5b 00 00 85 c0 41 89 c7 RSP: 002b:00007fff3e40e160 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000412fb1 RDX: 0000001b31620000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 000000002dfb80b4 R09: 000000002dfb80b8 R10: 00007fff3e40e240 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 000000000003583a R15: 000000000075bfd4 Showing all locks held in the system: 3 locks held by kworker/u4:3/972: 1 lock held by khungtaskd/1043: #0: 000000006e6edf6f (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 1 lock held by rsyslogd/8278: #0: 00000000d796d4d8 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8368: #0: 000000007e064b1e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000006107f79 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8369: #0: 000000003d94d08a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005d63d51e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8370: #0: 000000003e9dc0da (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000670fc9d5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8371: #0: 0000000084a8f79a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000eb32d019 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8372: #0: 00000000d9ff77cf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000049b0ef8f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8373: #0: 00000000acad50a2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000068ca618e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8374: #0: 00000000b9269be8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000068824fc9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.2/14579: #0: 000000005fba4e56 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 000000005fba4e56 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2a0 net/socket.c:600 #1: 00000000d675fce6 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 1 lock held by syz-executor.0/14620: #0: 00000000d675fce6 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1c0/0x340 net/core/net_namespace.c:452 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1043 Comm: khungtaskd Not tainted 5.2.0-rc5+ #40 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:205 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:289 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: 972 Comm: kworker/u4:3 Not tainted 5.2.0-rc5+ #40 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:arch_local_irq_disable arch/x86/include/asm/paravirt.h:772 [inline] RIP: 0010:__local_bh_enable_ip+0x100/0x270 kernel/softirq.c:171 Code: 08 00 00 85 c0 0f 84 bf 00 00 00 48 c7 c0 f8 73 d2 88 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 47 01 00 00 <48> 83 3d 00 ea 8d 07 00 0f 84 cd 00 00 00 fa 66 0f 1f 44 00 00 e8 RSP: 0018:ffff8880a82dfb08 EFLAGS: 00000246 RAX: 1ffffffff11a4e7f RBX: 0000000000000200 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000200 RDI: ffff8880a81ccc88 RBP: ffff8880a82dfb20 R08: 1ffffffff118b83e R09: fffffbfff118b83f R10: fffffbfff118b83e R11: ffffffff88c5c1f3 R12: ffffffff85b85bc1 R13: ffff8880a81cc440 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c428de5010 CR3: 000000008b78b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2018 [inline] nf_ct_iterate_cleanup+0x217/0x4e0 net/netfilter/nf_conntrack_core.c:2041 nf_conntrack_cleanup_net_list+0x7a/0x240 net/netfilter/nf_conntrack_core.c:2228 nf_conntrack_pernet_exit+0x159/0x1a0 net/netfilter/nf_conntrack_standalone.c:1151 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:168 cleanup_net+0x4e2/0xa40 net/core/net_namespace.c:575 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352