INFO: task syz-executor.5:11094 blocked for more than 140 seconds. Not tainted 4.19.37 #5 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29496 11094 31434 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x813/0x1d00 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:573 [inline] rwsem_down_write_failed+0x774/0xcc0 kernel/locking/rwsem-xadd.c:602 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 bcm_init+0x1a8/0x220 net/can/bcm.c:1502 can_create+0x28a/0x4b0 net/can/af_can.c:183 __sock_create+0x3e6/0x750 net/socket.c:1276 sock_create net/socket.c:1316 [inline] __sys_socket+0x103/0x220 net/socket.c:1346 __do_sys_socket net/socket.c:1355 [inline] __se_sys_socket net/socket.c:1353 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1353 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007f35686bbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f35686bc6d4 R13: 00000000004c739e R14: 00000000004dd070 R15: 00000000ffffffff INFO: task syz-executor.5:11099 blocked for more than 140 seconds. Not tainted 4.19.37 #5 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29464 11099 31434 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x813/0x1d00 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:573 [inline] rwsem_down_write_failed+0x774/0xcc0 kernel/locking/rwsem-xadd.c:602 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 bcm_init+0x1a8/0x220 net/can/bcm.c:1502 can_create+0x28a/0x4b0 net/can/af_can.c:183 __sock_create+0x3e6/0x750 net/socket.c:1276 sock_create net/socket.c:1316 [inline] __sys_socket+0x103/0x220 net/socket.c:1346 __do_sys_socket net/socket.c:1355 [inline] __se_sys_socket net/socket.c:1353 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1353 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007f356869ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f356869b6d4 R13: 00000000004c739e R14: 00000000004dd070 R15: 00000000ffffffff Showing all locks held in the system: 3 locks held by kworker/u4:3/57: 1 lock held by khungtaskd/1031: #0: 00000000db08822b (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/7711: #0: 000000007cbd17d3 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7833: #0: 0000000053a3afae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000a44493d0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7834: #0: 00000000a628d262 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000012de1285 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7835: #0: 000000001bb96e0e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000bb13604e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7836: #0: 000000000f2dae95 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000f03d23d7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7837: #0: 000000000187b715 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000096992346 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7838: #0: 0000000045871c98 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000a38b0323 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7839: #0: 000000003771f4b9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000224151b7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.5/11094: #0: 0000000047dc0251 (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 1 lock held by syz-executor.5/11099: #0: 0000000047dc0251 (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1031 Comm: khungtaskd Not tainted 4.19.37 #5 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+0x1b0/0x1f8 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:413 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 57 Comm: kworker/u4:3 Not tainted 4.19.37 #5 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:__lock_acquire+0x31b/0x48f0 kernel/locking/lockdep.c:3328 Code: 44 8d 58 01 44 89 c8 4c 8d 14 80 49 c1 e2 03 45 85 c9 74 49 4a 8d 44 16 d8 48 b9 00 00 00 00 00 fc ff df 48 8d 78 20 48 89 fe <48> c1 ee 03 0f b6 0c 0e 84 c9 74 09 80 f9 03 0f 8e d7 0d 00 00 0f RSP: 0018:ffff8880a99778a0 EFLAGS: 00000006 RAX: ffff8880a9962910 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffff8880a9962930 RDI: ffff8880a9962930 RBP: ffff8880a9977a68 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000078 R11: 000000000000034c R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880a9962040 R15: ffffffff886613d8 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000458d7f CR3: 0000000085e56000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3900 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] nf_conntrack_lock+0x17/0x70 net/netfilter/nf_conntrack_core.c:95 get_next_corpse net/netfilter/nf_conntrack_core.c:1882 [inline] nf_ct_iterate_cleanup+0x1d7/0x4e0 net/netfilter/nf_conntrack_core.c:1916 nf_conntrack_cleanup_net_list+0x7a/0x250 net/netfilter/nf_conntrack_core.c:2103 nf_conntrack_pernet_exit+0x11d/0x170 net/netfilter/nf_conntrack_standalone.c:663 ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:552 process_one_work+0x98e/0x1760 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413