INFO: task kworker/u4:0:8 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:23176 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 tc_action_net_exit include/net/act_api.h:155 [inline] gate_exit_net+0x2c/0x100 net/sched/act_gate.c:624 ops_exit_list net/core/net_namespace.c:171 [inline] cleanup_net+0x7ec/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 Showing all locks held in the system: 3 locks held by kworker/0:1/7: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000cc7d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 4 locks held by kworker/u4:0/8: #0: ffff8880111b7938 ((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: ffffffff8d9504b0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:553 #3: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: tc_action_net_exit include/net/act_api.h:155 [inline] #3: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: gate_exit_net+0x2c/0x100 net/sched/act_gate.c:624 1 lock held by khungtaskd/27: #0: ffffffff8c91c140 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/148: #0: ffff8880b9c31558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #0: ffff8880b9c31558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1317 [inline] #0: ffff8880b9c31558 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1620 [inline] #0: ffff8880b9c31558 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x188/0x1270 kernel/sched/core.c:6201 #1: ffff8880b9c1f888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 #2: ffff8880b9c200d8 (&base->lock){..-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:946 3 locks held by kworker/0:2/1054: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000470fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 1 lock held by in:imklog/6232: #0: ffff8880733c85f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by kworker/0:4/8070: #0: ffff8881478a4d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90016b2fd20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590 3 locks held by kworker/1:5/8162: #0: ffff888011065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90016e6fd20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7a/0x800 net/wireless/reg.c:2423 3 locks held by syz-executor.0/8935: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.14.0-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: 8935 Comm: syz-executor.0 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_region_inline mm/kasan/generic.c:172 [inline] RIP: 0010:kasan_check_range+0x17/0x2f0 mm/kasan/generic.c:189 Code: b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 57 41 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 0d 02 00 00 48 89 fb <48> 01 f3 0f 82 8d 02 00 00 48 89 fb 48 c1 eb 2f 81 fb fe ff 01 00 RSP: 0018:ffffc90000dc0370 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffffffff8fd18e08 RCX: ffffffff81641518 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fd18e08 RBP: ffffc90000dc04f0 R08: dffffc0000000000 R09: fffffbfff1fa31c1 R10: fffffbfff1fa31c1 R11: 0000000000000000 R12: ffff88802282d580 R13: ffff88802282dff0 R14: ffffffff8f661860 R15: b20fbda6538c2b94 FS: 00007f7c3bfee700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01c4608f0 CR3: 0000000070e96000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] __lock_acquire+0x12f8/0x2b00 kernel/locking/lockdep.c:5012 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 seqcount_lockdep_reader_access+0xfe/0x230 include/linux/seqlock.h:103 timekeeping_get_delta kernel/time/timekeeping.c:252 [inline] timekeeping_get_ns kernel/time/timekeeping.c:386 [inline] ktime_get+0x95/0x2b0 kernel/time/timekeeping.c:829 clockevents_program_event+0xe4/0x320 kernel/time/clockevents.c:326 hrtimer_interrupt+0xbaa/0x1040 kernel/time/hrtimer.c:1824 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+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:kfree_skb+0x0/0x110 net/core/skbuff.c:768 Code: f1 80 e1 07 80 c1 03 38 c1 0f 8c 11 ff ff ff 4c 89 f7 e8 13 a8 cb f9 e9 04 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <55> 41 57 41 56 53 48 89 fb e8 82 4d 80 f9 48 85 db 74 64 4c 8d b3 RSP: 0018:ffffc90000dc09f8 EFLAGS: 00000246 RAX: 1ffff920001b815e RBX: ffff8880200c6140 RCX: 0000000080000102 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffc90000dc0b90 R08: dffffc0000000000 R09: ffffed10173a64a2 R10: ffffed10173a64a2 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888025d89d10 R14: 000000000000003c R15: ffffc90000dc0ae0 hsr_forward_skb+0x14c7/0x19a0 net/hsr/hsr_forward.c:588 hsr_announce+0x15b/0x2d0 net/hsr/hsr_device.c:382 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x71a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 do_softirq+0x161/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b0/0x1f0 kernel/softirq.c:383 get_next_corpse net/netfilter/nf_conntrack_core.c:2252 [inline] nf_ct_iterate_cleanup+0x357/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:8833 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+0x37d/0x470 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:0x4665f9 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:00007f7c3bfee188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe5d7c26cf R14: 00007f7c3bfee300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: b8 ea ff ff ff mov $0xffffffea,%eax 5: c3 retq 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: 41 57 push %r15 15: 41 56 push %r14 17: 41 55 push %r13 19: 41 54 push %r12 1b: 53 push %rbx 1c: b0 01 mov $0x1,%al 1e: 48 85 f6 test %rsi,%rsi 21: 0f 84 0d 02 00 00 je 0x234 27: 48 89 fb mov %rdi,%rbx * 2a: 48 01 f3 add %rsi,%rbx <-- trapping instruction 2d: 0f 82 8d 02 00 00 jb 0x2c0 33: 48 89 fb mov %rdi,%rbx 36: 48 c1 eb 2f shr $0x2f,%rbx 3a: 81 fb fe ff 01 00 cmp $0x1fffe,%ebx