watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.1.3584:10598] Modules linked in: CPU: 0 PID: 10598 Comm: syz.1.3584 Tainted: G W 5.10.215-syzkaller-00370-gb58b8f9dad93 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 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 c4 42 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:ffffc90000007480 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffffffff0da7f5d RCX: ffffffff8150fdeb RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86d3fae8 RBP: ffffc90000007530 R08: dffffc0000000000 R09: fffffbfff0da7f5e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000e9a R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff86d3fae8 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555561b54a8 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: 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_create+0xccc/0x1a10 net/core/neighbour.c:626 __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/0x4d0 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:509 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3962 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:lock_page_memcg+0x1/0x1c0 mm/memcontrol.c:2125 Code: 8b 3b e8 c2 4d 27 00 48 c7 c7 e0 64 48 85 e8 5c fc ff 02 5b 41 5e 41 5f 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 49 89 fe 48 b9 00 00 00 00 00 RSP: 0018:ffffc90000e67478 EFLAGS: 00000293 RAX: ffffffff81a1e2c6 RBX: ffffc90000e67680 RCX: ffff88810b4bbb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea00046ef000 RBP: ffffc90000e674d0 R08: ffffffff819d7059 R09: fffff940008dde01 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffea00046ef000 R14: 1ffffd40008dde01 R15: dffffc0000000000 zap_pte_range mm/memory.c:1315 [inline] zap_pmd_range mm/memory.c:1435 [inline] zap_pud_range mm/memory.c:1464 [inline] zap_p4d_range mm/memory.c:1485 [inline] unmap_page_range+0x112e/0x23b0 mm/memory.c:1506 unmap_single_vma mm/memory.c:1551 [inline] unmap_vmas+0x37f/0x4f0 mm/memory.c:1583 exit_mmap+0x2f2/0x5c0 mm/mmap.c:3355 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:537 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:848 do_group_exit+0x141/0x310 kernel/exit.c:983 get_signal+0x10a0/0x1410 kernel/signal.c:2782 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/0xc6 RIP: 0033:0x7f4ab35d6d39 Code: Unable to access opcode bytes at RIP 0x7f4ab35d6d0f. RSP: 002b:00007f4ab2858048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: fffffffffffffff5 RBX: 00007f4ab3764fa0 RCX: 00007f4ab35d6d39 RDX: 0000000000000048 RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 00007f4ab3657766 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4ab3764fa0 R15: 00007ffcb04638e8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10553 Comm: syz.0.3579 Tainted: G W 5.10.215-syzkaller-00370-gb58b8f9dad93 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:221 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:273 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:207 Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 eb d6 89 f6 31 d2 e8 47 8a 3e 01 5d c3 0f 1f 44 00 RSP: 0018:ffffc90000170098 EFLAGS: 00000046 RAX: 0000000000000061 RBX: ffffffff85dc0988 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 0000000000000061 RDI: 0000000000000838 RBP: ffffc90000170098 R08: ffffffff815df601 R09: ffffffff815df58d R10: 0000000000000002 R11: ffff888113e7bb40 R12: 000000000000061a R13: dffffc0000000000 R14: 0000000000000061 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a1cffc CR3: 000000000660f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:395 [inline] lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:466 clockevents_program_event+0x1a7/0x2c0 kernel/time/clockevents.c:334 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x4cf/0x8b0 kernel/time/hrtimer.c:1722 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:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5a1/0xc70 kernel/locking/qspinlock.c:508 Code: 85 ba 01 00 00 c6 03 00 48 8b 44 24 28 42 0f b6 04 30 84 c0 0f 85 bf 01 00 00 48 8b 04 24 c6 00 01 bb 00 80 ff ff eb 06 f3 90 c3 74 50 43 0f b6 44 35 00 84 c0 75 32 41 80 3c 24 00 75 e9 4c RSP: 0018:ffffc90000170360 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000ffff99c7 RCX: 1ffffffff0da7f5d RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffffffff86d3faee RBP: ffffc90000170450 R08: dffffc0000000000 R09: fffffbfff0da7f5e R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff86d3faec R13: 1ffffffff0da7f5d R14: dffffc0000000000 R15: 0000000000000000 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline] queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] queued_write_lock_slowpath+0x2e8/0x390 kernel/locking/qrwlock.c:67 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_create+0xccc/0x1a10 net/core/neighbour.c:626 __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/0x4d0 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:509 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3962 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 10 be f7 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 f4 8f 98 fc fb bf 01 00 00 00 89 e6 ff ff fa bf 01 00 00 00 e8 7e 91 98 fc 65 48 8b 1d 56 ea RSP: 0018:ffffc90000da7320 EFLAGS: 00000246 RAX: 1ffff110227cf8ae RBX: 1ffff920001b4e68 RCX: ffffffff84b1ab00 RDX: 1ffff110227cf76c RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000da73b0 R08: ffffffff87081048 R09: ffffffff87081058 R10: ffffffff87081050 R11: ffffffff87081043 R12: ffffc90000da7340 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920001b4e64 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:uncharge_batch+0x269/0x480 mm/memcontrol.c:6921 Code: 20 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 ed 0e fc ff 49 8b 75 20 48 89 df e8 61 f7 ff ff 4c 89 7c 24 18 ff 74 24 18 9d <43> 80 3c 26 00 74 08 4c 89 ef e8 c8 0e fc ff 4d 8b 7d 00 49 8d 5f RSP: 0018:ffffc90000da74a0 EFLAGS: 00000246 RAX: 000000000000dd10 RBX: ffff88810d4e8000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffffffff85486040 RDI: ffffffff85601a40 RBP: ffffc90000da7558 R08: ffffffff81ab57c7 R09: ffffed102002842d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90000da7600 R14: 1ffff920001b4ec0 R15: 0000000000000246 uncharge_page+0x83/0x440 mm/memcontrol.c:6941 uncharge_list mm/memcontrol.c:6983 [inline] __mem_cgroup_uncharge_list+0xc0/0x160 mm/memcontrol.c:7019 mem_cgroup_uncharge_list include/linux/memcontrol.h:474 [inline] release_pages+0xe98/0xef0 mm/swap.c:1102 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:537 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:848 do_group_exit+0x141/0x310 kernel/exit.c:983 get_signal+0x10a0/0x1410 kernel/signal.c:2782 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/0xc6 RIP: 0033:0x7ff06dd64d39 Code: Unable to access opcode bytes at RIP 0x7ff06dd64d0f. RSP: 002b:00007ff06cfe6048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: fffffffffffffff5 RBX: 00007ff06def2fa0 RCX: 00007ff06dd64d39 RDX: 0000000000000048 RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 00007ff06dde5766 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff06def2fa0 R15: 00007fff83178858