INFO: task syz-executor.0:10288 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26272 10288 7060 0x20020004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x937/0x1ff0 kernel/sched/core.c:4083 __sched_text_start+0x8/0x8 schedule+0xd0/0x2a0 kernel/sched/core.c:4158 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:199 arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline] lock_acquire+0x267/0x8f0 kernel/locking/lockdep.c:4937 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_timeout+0x2d0/0x2d0 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 bcm_init+0x1a3/0x210 net/can/bcm.c:1451 canbcm_pernet_init+0x90/0x90 net/can/bcm.c:1677 can_create+0x27c/0x500 net/can/af_can.c:168 __sock_create+0x3cb/0x730 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xef/0x200 net/socket.c:1526 move_addr_to_kernel+0x70/0x70 net/socket.c:195 __do_sys_clock_gettime32 kernel/time/posix-timers.c:1176 [inline] __se_sys_clock_gettime32 kernel/time/posix-timers.c:1164 [inline] __ia32_sys_clock_gettime32+0x165/0x240 kernel/time/posix-timers.c:1164 __x64_sys_clock_gettime32+0x240/0x240 kernel/time/posix-timers.c:1410 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __ia32_sys_socket+0x6f/0xb0 net/socket.c:1533 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x463/0x620 kernel/locking/lockdep.c:3702 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x270/0xe90 arch/x86/entry/common.c:396 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 INFO: task syz-executor.0:10307 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28584 10307 7060 0x20020004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x937/0x1ff0 kernel/sched/core.c:4083 rwsem_down_write_slowpath+0x90a/0xf90 kernel/locking/rwsem.c:1216 __sched_text_start+0x8/0x8 schedule+0xd0/0x2a0 kernel/sched/core.c:4158 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:199 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x9b/0xe0 kernel/locking/spinlock.c:191 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_timeout+0x2d0/0x2d0 lockdep_init_map_waits+0x26a/0x890 kernel/locking/lockdep.c:4138 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 bcm_init+0x1a3/0x210 net/can/bcm.c:1451 canbcm_pernet_init+0x90/0x90 net/can/bcm.c:1677 can_create+0x27c/0x500 net/can/af_can.c:168 __sock_create+0x3cb/0x730 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xef/0x200 net/socket.c:1526 move_addr_to_kernel+0x70/0x70 net/socket.c:195 __do_sys_clock_gettime32 kernel/time/posix-timers.c:1176 [inline] __se_sys_clock_gettime32 kernel/time/posix-timers.c:1164 [inline] __ia32_sys_clock_gettime32+0x165/0x240 kernel/time/posix-timers.c:1164 __x64_sys_clock_gettime32+0x240/0x240 kernel/time/posix-timers.c:1410 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __ia32_sys_socket+0x6f/0xb0 net/socket.c:1533 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x463/0x620 kernel/locking/lockdep.c:3702 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x270/0xe90 arch/x86/entry/common.c:396 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Showing all locks held in the system: 4 locks held by kworker/u4:0/7: 3 locks held by kworker/u4:2/56: 1 lock held by khungtaskd/1140: #0: ffffffff899bea80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754 1 lock held by in:imklog/6731: #0: ffff8880a02f45f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 1 lock held by syz-executor.0/10288: #0: ffffffff8a577370 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 1 lock held by syz-executor.0/10307: #0: ffffffff8a577370 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1140 Comm: khungtaskd Not tainted 5.7.0-rc6-syzkaller #0 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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 56 Comm: kworker/u4:2 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:write_comp_data+0x1e/0x70 kernel/kcov.c:208 Code: 48 89 11 c3 0f 1f 84 00 00 00 00 00 65 4c 8b 04 25 00 1f 02 00 65 8b 05 48 e9 8e 7e a9 00 01 1f 00 75 51 41 8b 80 d8 13 00 00 <83> f8 03 75 45 49 8b 80 e0 13 00 00 45 8b 80 dc 13 00 00 4c 8b 08 RSP: 0018:ffffc90000f07b30 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8178b35d RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffffff865ba91f R08: ffff8880a91be1c0 R09: fffffbfff130e241 R10: ffffffff89871203 R11: fffffbfff130e240 R12: ffff8880a91be1c0 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c85a55000 CR3: 00000000a018e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0x1d/0x220 kernel/trace/trace_preemptirq.c:38 get_next_corpse net/netfilter/nf_conntrack_core.c:2136 [inline] nf_ct_iterate_cleanup+0x19f/0x4c0 net/netfilter/nf_conntrack_core.c:2184 __local_bh_enable_ip+0x119/0x270 kernel/softirq.c:171 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2161 [inline] nf_ct_iterate_cleanup+0x1c5/0x4c0 net/netfilter/nf_conntrack_core.c:2184 nf_ct_port_nlattr_to_tuple+0x190/0x190 net/netfilter/nf_conntrack_core.c:1979 nf_conntrack_cleanup_net_list+0x81/0x250 net/netfilter/nf_conntrack_core.c:2371 print_tuple+0x540/0x540 net/netfilter/nf_conntrack_standalone.c:88 ops_exit_list.isra.0+0x103/0x150 net/core/net_namespace.c:189 cleanup_net+0x511/0xa50 net/core/net_namespace.c:603 unregister_pernet_device+0x70/0x70 net/core/net_namespace.c:1325 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 lock_release+0x800/0x800 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x16a0/0x16a0 kernel/workqueue.c:2273 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351