INFO: task kworker/u4:20:21752 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:20 state:D stack:21176 pid:21752 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 ops_exit_list net/core/net_namespace.c:168 [inline] cleanup_net+0x758/0xc50 net/core/net_namespace.c:591 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 INFO: task syz-executor.4:29447 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26864 pid:29447 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0xa29/0xe50 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x560/0x720 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8484e2b69c RSP: 002b:00007ffedcae6c80 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8485eb5320 RCX: 00007f8484e2b69c RDX: 0000000000000028 RSI: 00007f8485eb5370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffedcae6cd4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f8485eb5370 R14: 0000000000000003 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c1c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6201: #0: ffff888018f639f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by kworker/u4:15/11823: #0: ffff88801874a138 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000c5cfd20 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xbc/0x660 net/wireless/mlme.c:842 4 locks held by kworker/u4:20/21752: #0: ffff8881443bb138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90006f87d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d94fff0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:553 #3: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 3 locks held by kworker/0:8/13558: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90008267d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by kworker/0:20/17498: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900194e7d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 3 locks held by kworker/1:12/20191: #0: ffff888025fd6138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000326fd20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590 2 locks held by kworker/1:1/29395: 2 locks held by syz-executor.2/29421: 1 lock held by syz-executor.4/29447: #0: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d95bc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc54/0xca0 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29421 Comm: syz-executor.2 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0x22f/0x1e00 kernel/locking/lockdep.c:4612 Code: 0e 36 e0 45 4b c7 04 27 00 00 00 00 4b c7 44 27 0f 00 00 00 00 43 c6 44 27 17 00 4b c7 44 27 1f 00 00 00 00 43 c6 44 27 27 00 <65> 48 8b 04 25 28 00 00 00 48 3b 84 24 a0 01 00 00 0f 85 b5 15 00 RSP: 0018:ffffc900000074e0 EFLAGS: 00000002 RAX: 1ffffffff1ecc57e RBX: 0000000000000001 RCX: ffffffff816483c1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fd18e08 RBP: ffffc900000076d0 R08: dffffc0000000000 R09: fffffbfff1fa31c2 R10: fffffbfff1fa31c2 R11: 0000000000000000 R12: 1ffff92000000ea8 R13: 0000000000000002 R14: ffffffff8f662bf0 R15: dffffc0000000000 FS: 00007f93e7a12700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00f8a87e0 CR3: 000000002c540000 CR4: 00000000003526f0 Call Trace: mark_usage kernel/locking/lockdep.c:4476 [inline] __lock_acquire+0xace/0x2b00 kernel/locking/lockdep.c:4969 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 seqcount_lockdep_reader_access+0xfe/0x230 include/linux/seqlock.h:103 ktime_get+0x35/0x2b0 kernel/time/timekeeping.c:827 hrtimer_forward_now include/linux/hrtimer.h:506 [inline] perf_swevent_hrtimer+0x485/0x530 kernel/events/core.c:10546 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:preempt_count_equals kernel/sched/core.c:9473 [inline] RIP: 0010:___might_sleep+0x114/0x690 kernel/sched/core.c:9506 Code: 74 28 80 3d 2f c5 6d 0c 00 75 1f c6 05 26 c5 6d 0c 01 48 c7 c7 e6 30 1b 8c be 20 25 00 00 48 c7 c2 40 47 4e 8a e8 9c b0 09 00 <65> 8b 1d fd 2a a7 7e 81 e3 ff ff ff 7f 65 48 8b 14 25 c0 ef 01 00 RSP: 0018:ffffc900052de5c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8c66d6c0 RCX: ffffffff816483c1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900052de6d0 R08: dffffc0000000000 R09: fffffbfff1fa31c5 R10: fffffbfff1fa31c5 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff92000a5bcc0 get_next_corpse net/netfilter/nf_conntrack_core.c:2253 [inline] nf_ct_iterate_cleanup+0x36a/0x3f0 net/netfilter/nf_conntrack_core.c:2275 nf_ct_iterate_cleanup_net+0x172/0x1e0 net/netfilter/nf_conntrack_core.c:2363 masq_device_event+0x9b/0xd0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xe7/0x170 kernel/notifier.c:391 __dev_notify_flags+0x306/0x5e0 dev_change_flags+0xe3/0x190 net/core/dev.c:8837 do_setlink+0xe12/0x4300 net/core/rtnetlink.c:2719 rtnl_group_changelink net/core/rtnetlink.c:3242 [inline] __rtnl_newlink net/core/rtnetlink.c:3396 [inline] rtnl_newlink+0x1155/0x1d10 net/core/rtnetlink.c:3506 rtnetlink_rcv_msg+0x934/0xe60 net/core/rtnetlink.c:5572 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0xa29/0xe50 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x5b9/0x910 net/socket.c:2409 ___sys_sendmsg net/socket.c:2463 [inline] __sys_sendmsg+0x36f/0x450 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f93ea49b709 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f93e7a12188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f93ea59ff60 RCX: 00007f93ea49b709 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000007 RBP: 00007f93ea4f5cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe241c9c3f R14: 00007f93e7a12300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 36 e0 45 ss loopne 0x48 3: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1) a: 00 b: 4b c7 44 27 0f 00 00 movq $0x0,0xf(%r15,%r12,1) 12: 00 00 14: 43 c6 44 27 17 00 movb $0x0,0x17(%r15,%r12,1) 1a: 4b c7 44 27 1f 00 00 movq $0x0,0x1f(%r15,%r12,1) 21: 00 00 23: 43 c6 44 27 27 00 movb $0x0,0x27(%r15,%r12,1) * 29: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax <-- trapping instruction 30: 00 00 32: 48 3b 84 24 a0 01 00 cmp 0x1a0(%rsp),%rax 39: 00 3a: 0f .byte 0xf 3b: 85 .byte 0x85 3c: b5 15 mov $0x15,%ch