watchdog: BUG: soft lockup - CPU#1 stuck for 122s! [syz.1.229:1800] Modules linked in: CPU: 1 PID: 1800 Comm: syz.1.229 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:update_stack_state+0x28b/0x460 arch/x86/kernel/unwind_frame.c:252 Code: 08 4c 89 f7 e8 c6 27 76 00 49 83 3e 00 48 8b 45 a8 4c 8b ad 78 ff ff ff 74 22 44 3b 7d a4 75 1c 48 3b 45 98 73 16 31 db 89 d8 <48> 81 c4 90 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 4d 85 ed 4c RSP: 0018:ffffc9000016fcb0 EFLAGS: 00000286 RAX: 000000000016fe01 RBX: ffffc9000016fe01 RCX: 1ffff9200002dfcb RDX: 1ffff9200002dfc2 RSI: ffffc90000bd7010 RDI: ffffc9000016fe58 RBP: ffffc9000016fd68 R08: ffffc9000016fee8 R09: 0000000000000022 R10: ffffc9000016fef0 R11: dffffc0000000001 R12: 1ffff9200002dfc8 R13: 0000000000000000 R14: ffffc9000016fe40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005625e3effe38 CR3: 0000000129a92000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x121/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0xc0/0x190 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kfree+0xc3/0x270 mm/slub.c:4191 skb_free_head net/core/skbuff.c:606 [inline] skb_release_data+0x5c6/0x6f0 net/core/skbuff.c:626 skb_release_all net/core/skbuff.c:680 [inline] __kfree_skb net/core/skbuff.c:694 [inline] consume_skb+0xac/0x250 net/core/skbuff.c:851 netlink_broadcast_filtered+0x114e/0x1270 net/netlink/af_netlink.c:1532 netlink_broadcast net/netlink/af_netlink.c:1554 [inline] nlmsg_multicast include/net/netlink.h:1033 [inline] nlmsg_notify+0x101/0x1c0 net/netlink/af_netlink.c:2542 rtnl_notify+0x9c/0xd0 net/core/rtnetlink.c:737 __neigh_notify+0xcc/0x120 net/core/neighbour.c:3386 neigh_cleanup_and_release+0x2c/0x1b0 net/core/neighbour.c:102 neigh_del net/core/neighbour.c:198 [inline] neigh_remove_one+0x36b/0x3d0 net/core/neighbour.c:219 neigh_forced_gc net/core/neighbour.c:252 [inline] neigh_alloc net/core/neighbour.c:430 [inline] ___neigh_create+0x484/0x1a10 net/core/neighbour.c:592 __neigh_create+0x32/0x40 net/core/neighbour.c:680 ip6_finish_output2+0x957/0x1850 net/ipv6/ip6_output.c:142 __ip6_finish_output+0x5ec/0x780 net/ipv6/ip6_output.c:216 ip6_finish_output+0x34/0x1e0 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:288 [inline] ip6_output+0x1f7/0x4c0 net/ipv6/ip6_output.c:249 dst_output include/net/dst.h:437 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ndisc_send_skb+0x6e9/0xc00 net/ipv6/ndisc.c:511 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:705 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3964 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450 expire_timers kernel/time/timer.c:1495 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1789 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802 __do_softirq+0x268/0x5bb kernel/softirq.c:309 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:5065 Code: 4c 89 e7 e8 f0 f9 f6 fc f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 44 c5 97 fc fb bf 01 00 00 00 89 e6 ff ff fa bf 01 00 00 00 e8 ce c6 97 fc 65 48 8b 1d 56 20 RSP: 0018:ffffc90000bd6f80 EFLAGS: 00000246 RAX: 1ffff110221d5d9e RBX: 1ffff9200017adf4 RCX: ffffffff84b27500 RDX: 1ffffffff0e10808 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000bd7000 R08: ffffffff87084048 R09: ffffffff87084058 R10: ffffffff87084050 R11: ffffffff87084043 R12: ffffc90000bd6fa0 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200017adf0 irqentry_exit_cond_resched kernel/entry/common.c:365 [inline] irqentry_exit+0x4f/0x60 kernel/entry/common.c:395 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:update_stack_state+0x350/0x460 arch/x86/kernel/unwind_frame.c:234 Code: 89 f0 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00 74 08 4c 89 f7 e8 8b 27 76 00 48 8b 45 c0 49 89 06 48 8b 4d 90 <42> 80 3c 39 00 48 8b 5d c8 4c 8b 75 b8 74 0c 48 89 df e8 69 27 76 RSP: 0018:ffffc90000bd70f0 EFLAGS: 00000246 RAX: ffffc90000bd7570 RBX: ffffc90000bd7268 RCX: 1ffff9200017ae53 RDX: 1ffff9200017ae4a RSI: ffffc90000bd7570 RDI: ffffc90000bd7298 RBP: ffffc90000bd71a8 R08: ffffc90000bd7328 R09: 0000000000000000 R10: ffffc90000bd7330 R11: dffffc0000000001 R12: 1ffff9200017ae50 R13: 0000000000000000 R14: ffffc90000bd7278 R15: dffffc0000000000 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 save_stack+0x97/0x240 mm/page_owner.c:146 __reset_page_owner+0x36/0x150 mm/page_owner.c:174 reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare mm/page_alloc.c:1421 [inline] free_unref_page_prepare+0x2ae/0x2d0 mm/page_alloc.c:3336 free_unref_page_list+0x122/0xb20 mm/page_alloc.c:3443 release_pages+0xea0/0xef0 mm/swap.c:1103 free_pages_and_swap_cache+0x8a/0xa0 mm/swap_state.c:356 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x177/0x320 mm/mmu_gather.c:326 exit_mmap+0x312/0x5c0 mm/mmap.c:3357 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:850 do_group_exit+0x141/0x310 kernel/exit.c:985 get_signal+0x10a0/0x1410 kernel/signal.c:2790 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fafa696bf39 Code: Unable to access opcode bytes at RIP 0x7fafa696bf0f. RSP: 002b:00007fafa515d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fafa6b242e8 RCX: 00007fafa696bf39 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fafa6b242ec RBP: 00007fafa6b242e0 R08: 00007ffc76fb10b0 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007fafa6b242ec R13: 0000000000000000 R14: 00007ffc76ecfd00 R15: 00007ffc76ecfde8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 446 Comm: kworker/u4:5 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: netns cleanup_net RIP: 0010:kasan_check_range+0x6/0x2a0 mm/kasan/generic.c:188 Code: c6 48 89 c7 e8 eb ee 04 03 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 a4 01 00 00 48 89 fb 48 RSP: 0018:ffffc90000007218 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 1ffff92000000e50 RCX: ffffffff84b26289 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000007280 RBP: ffffc90000007220 R08: dffffc0000000000 R09: ffffed103ee09329 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007280 R13: ffff8881f7049940 R14: 1ffff92000000e4c R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f577fe23e5c CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:706 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:195 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0xf9/0x210 kernel/locking/spinlock.c:159 hrtimer_interrupt+0xf7/0x8b0 kernel/time/hrtimer.c:1692 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:queued_write_lock_slowpath+0x180/0x390 kernel/locking/qrwlock.c:79 Code: 00 00 00 42 0f b6 04 33 84 c0 4c 8b 64 24 08 74 37 44 89 f9 80 e1 07 80 c1 03 38 c1 7c 2a 4c 89 ff e8 d4 48 57 00 eb 20 f3 90 <42> 0f b6 04 33 84 c0 74 15 44 89 f9 80 e1 07 80 c1 03 38 c1 7c 08 RSP: 0018:ffffc90000007540 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffffffff0da83ed RCX: ffffffff8150fdbb RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86d41f68 RBP: ffffc900000075f0 R08: dffffc0000000000 R09: fffffbfff0da83ee R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000eb2 R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff86d41f68 queued_write_lock include/asm-generic/qrwlock.h:95 [inline] __raw_write_lock_bh include/linux/rwlock_api_smp.h:204 [inline] _raw_write_lock_bh+0x10a/0x170 kernel/locking/spinlock.c:319 neigh_forced_gc net/core/neighbour.c:237 [inline] neigh_alloc net/core/neighbour.c:430 [inline] ___neigh_create+0x1eb/0x1a10 net/core/neighbour.c:592 __neigh_create+0x32/0x40 net/core/neighbour.c:680 ip6_finish_output2+0x957/0x1850 net/ipv6/ip6_output.c:142 __ip6_finish_output+0x5ec/0x780 net/ipv6/ip6_output.c:216 ip6_finish_output+0x34/0x1e0 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:288 [inline] ip6_output+0x1f7/0x4c0 net/ipv6/ip6_output.c:249 dst_output include/net/dst.h:437 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] mld_sendpack+0x5fc/0xb40 net/ipv6/mcast.c:1676 mld_send_cr net/ipv6/mcast.c:1972 [inline] mld_ifc_timer_expire+0x816/0xbf0 net/ipv6/mcast.c:2471 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450 expire_timers kernel/time/timer.c:1495 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1789 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802 __do_softirq+0x268/0x5bb kernel/softirq.c:309 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:do_softirq+0xd4/0x110 kernel/softirq.c:361 Code: 40 fa 48 c7 c7 a0 b4 07 85 e8 a8 3f 6d 03 65 66 8b 05 60 9d c5 7e 66 85 c0 74 05 e8 76 af e9 ff 4c 89 74 24 18 ff 74 24 18 9d <48> c7 44 24 20 0e 36 e0 45 49 c7 04 1f 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90000d67240 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920001ace4c RCX: ffff88810eac0000 RDX: 1ffff11021d58004 RSI: ffffffff85049920 RDI: ffffffff85602440 RBP: ffffc90000d672e8 R08: ffffffff87084008 R09: ffffffff87084018 R10: ffffffff87084010 R11: ffffffff87084003 R12: 1ffff920001ace50 R13: dffffc0000000000 R14: 0000000000000246 R15: dffffc0000000000 __local_bh_enable_ip+0x70/0x80 kernel/softirq.c:194 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x51/0x60 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:399 [inline] __fib6_clean_all net/ipv6/ip6_fib.c:2259 [inline] fib6_flush_trees+0x258/0x330 net/ipv6/ip6_fib.c:2282 rt_genid_bump_ipv6 include/net/net_namespace.h:463 [inline] __ipv6_ifa_notify+0xa5d/0x11c0 net/ipv6/addrconf.c:6175 addrconf_ifdown+0xe14/0x1a60 net/ipv6/addrconf.c:3908 addrconf_notify+0x378/0xe90 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x8c/0xf0 kernel/notifier.c:410 call_netdevice_notifiers_info net/core/dev.c:2054 [inline] call_netdevice_notifiers_extack net/core/dev.c:2066 [inline] call_netdevice_notifiers net/core/dev.c:2080 [inline] dev_close_many+0x37f/0x530 net/core/dev.c:1655 unregister_netdevice_many+0x492/0x17d0 net/core/dev.c:10724 ip_tunnel_delete_nets+0x33b/0x380 net/ipv4/ip_tunnel.c:1136 ipgre_tap_exit_batch_net+0x22/0x30 net/ipv4/ip_gre.c:1706 ops_exit_list net/core/net_namespace.c:190 [inline] cleanup_net+0x6e9/0xcb0 net/core/net_namespace.c:609 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298