INFO: task kworker/u4:0:8 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:0 state:D stack:23184 pid: 8 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.1:9058 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.1 state:D stack:25848 pid: 9058 ppid: 6535 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 ip6mr_sk_done+0x9e/0x2c0 net/ipv6/ip6mr.c:1582 rawv6_close+0x5f/0x80 net/ipv6/raw.c:1198 inet_release+0x16e/0x1f0 net/ipv4/af_inet.c:431 __sock_release net/socket.c:649 [inline] sock_close+0xd8/0x260 net/socket.c:1314 __fput+0x3fe/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb4fe1b151b RSP: 002b:00007fff064b0bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb4fe1b151b RDX: 0000001b2c222928 RSI: ffffffff818628ff RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c2223d4 R10: 0000000000001b2d R11: 0000000000000293 R12: 00007fb4fe303b60 R13: 00007fb4fe303b60 R14: 00007fb4fe302f60 R15: 0000000000029b35 INFO: task syz-executor.1:9061 blocked for more than 144 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24304 pid: 9061 ppid: 6535 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_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:0x7fb4fe1fe709 RSP: 002b:00007fb4fb775188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb4fe302f60 RCX: 00007fb4fe1fe709 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007fb4fe258cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff064b0b4f R14: 00007fb4fb775300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/0:1/7: #0: ffff888026009538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000cc7d20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590 4 locks held by kworker/u4:0/8: #0: ffff8880124d3138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000cd7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d9500b0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:553 #3: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 3 locks held by kworker/u4:1/10: 3 locks held by kworker/1:0/20: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000da7d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 1 lock held by khungtaskd/27: #0: ffffffff8c91c1c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:3/155: #0: ffff8880147a6938 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900010cfd20 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xbc/0x660 net/wireless/mlme.c:842 3 locks held by kworker/1:2/1052: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900049afd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 1 lock held by in:imklog/6218: #0: ffff888078f3d4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by kworker/0:5/8183: #0: ffff888011065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000bac7d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7a/0x800 net/wireless/reg.c:2423 1 lock held by syz-executor.4/9013: #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 1 lock held by syz-executor.2/9020: #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 2 locks held by syz-executor.0/9028: #0: ffffffff8d9500b0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x33d/0x5c0 net/core/net_namespace.c:466 #1: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x23b/0x720 net/ipv4/ip_tunnel.c:1069 2 locks held by syz-executor.0/9031: #0: ffffffff8d9500b0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x33d/0x5c0 net/core/net_namespace.c:466 #1: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x23b/0x720 net/ipv4/ip_tunnel.c:1069 5 locks held by kworker/u4:6/9049: 2 locks held by syz-executor.1/9058: #0: ffff88808bddd010 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #0: ffff88808bddd010 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff88808bddd010 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: sock_close+0x94/0x260 net/socket.c:1314 #1: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0x9e/0x2c0 net/ipv6/ip6mr.c:1582 1 lock held by syz-executor.1/9061: #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 2 locks held by syz-executor.5/9063: #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d95bd08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 #1: ffffffff8c9209a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9209a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x750 kernel/rcu/tree_exp.h:837 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8150 Comm: kworker/1:4 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events iterate_cleanup_work RIP: 0010:lock_acquire+0x89/0x4d0 kernel/locking/lockdep.c:5593 Code: 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 3d 00 43 c7 44 3d 09 f2 f2 f2 00 43 c7 44 3d 11 f3 f3 f3 f3 66 43 c7 44 3d 15 f3 f3 <43> c6 44 3d 17 f3 89 54 24 1c 4c 89 44 24 28 4c 89 4c 24 20 ff 75 RSP: 0018:ffffc9000ba27960 EFLAGS: 00000a02 RAX: f2f2f200f1f1f1f1 RBX: ffffffff8c668218 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c668218 RBP: ffffc9000ba27ab8 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1fa31e4 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92001744f34 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7cc3a3000 CR3: 000000000c68e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] nf_conntrack_lock net/netfilter/nf_conntrack_core.c:87 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2230 [inline] nf_ct_iterate_cleanup+0xf8/0x3f0 net/netfilter/nf_conntrack_core.c:2275 nf_ct_iterate_cleanup_net+0x172/0x1e0 net/netfilter/nf_conntrack_core.c:2363 iterate_cleanup_work+0x4c/0x100 net/netfilter/nf_nat_masquerade.c:216 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 ---------------- Code disassembly (best guess): 0: 03 48 b8 add -0x48(%rax),%ecx 3: f1 icebp 4: f1 icebp 5: f1 icebp 6: f1 icebp 7: 00 f2 add %dh,%dl 9: f2 f2 4b 89 44 3d 00 repnz repnz mov %rax,0x0(%r13,%r15,1) 10: 43 c7 44 3d 09 f2 f2 movl $0xf2f2f2,0x9(%r13,%r15,1) 17: f2 00 19: 43 c7 44 3d 11 f3 f3 movl $0xf3f3f3f3,0x11(%r13,%r15,1) 20: f3 f3 22: 66 43 c7 44 3d 15 f3 movw $0xf3f3,0x15(%r13,%r15,1) 29: f3 * 2a: 43 c6 44 3d 17 f3 movb $0xf3,0x17(%r13,%r15,1) <-- trapping instruction 30: 89 54 24 1c mov %edx,0x1c(%rsp) 34: 4c 89 44 24 28 mov %r8,0x28(%rsp) 39: 4c 89 4c 24 20 mov %r9,0x20(%rsp) 3e: ff .byte 0xff 3f: 75 .byte 0x75