watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.9.2375:10768] Modules linked in: CPU: 0 PID: 10768 Comm: syz.9.2375 Tainted: G W 5.10.228-syzkaller-00034-g789bbe767b02 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 a4 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:ffffc90000007480 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffffffff0da8735 RCX: ffffffff8151108b RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86d439a8 RBP: ffffc90000007530 R08: dffffc0000000000 R09: fffffbfff0da8736 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000e9a R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff86d439a8 FS: 00007f3dd989d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000011151a000 CR4: 00000000003506b0 DR0: 0000000020000300 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_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] 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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:80 [inline] RIP: 0010:do_raw_spin_lock include/linux/spinlock.h:183 [inline] RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] RIP: 0010:_raw_spin_lock+0x6e/0x1b0 kernel/locking/spinlock.c:151 Code: d0 85 48 c7 44 24 10 40 f4 b2 84 48 89 e3 48 c1 eb 03 48 b8 f1 f1 f1 f1 04 f3 f3 f3 4a 89 04 23 bf 01 00 00 00 e8 42 2e 96 fc <4d> 89 fe 49 c1 ee 03 43 0f b6 04 26 84 c0 0f 85 bb 00 00 00 c7 44 RSP: 0018:ffffc90001cd7820 EFLAGS: 00000246 RAX: 1ffff11021a283be RBX: 1ffff9200039af04 RCX: ffffffff84b30900 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff815f8b02 RBP: ffffc90001cd78a8 R08: dffffc0000000000 R09: ffffed1020fb5829 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888107dac144 R14: ffff888107dac140 R15: ffffc90001cd7840 spin_lock include/linux/spinlock.h:354 [inline] queue_lock kernel/futex/core.c:2224 [inline] futex_wait_setup+0x232/0x520 kernel/futex/core.c:2673 futex_wait+0x2af/0x7c0 kernel/futex/core.c:2718 do_futex+0x139a/0x17b0 kernel/futex/core.c:3757 __do_sys_futex kernel/futex/core.c:3820 [inline] __se_sys_futex+0x355/0x470 kernel/futex/core.c:3786 __x64_sys_futex+0xe5/0x100 kernel/futex/core.c:3786 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3ddb22bd19 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3dd989d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f3ddb41bfa8 RCX: 00007f3ddb22bd19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3ddb41bfa8 RBP: 00007f3ddb41bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3ddb41bfac R13: 0000000000000000 R14: 00007ffd2f374510 R15: 00007ffd2f3745f8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9737 Comm: syz.9.2315 Tainted: G W 5.10.228-syzkaller-00034-g789bbe767b02 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__perf_event_header__init_id+0x31b/0x590 kernel/events/core.c:6811 Code: 49 89 c7 49 8d 5c 24 50 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 48 16 1f 00 4c 89 3b <4c> 89 f6 48 81 e6 40 00 01 00 31 ff e8 b4 80 e1 ff 4c 89 f0 48 25 RSP: 0018:ffffc9000016fb30 EFLAGS: 00000046 RAX: ffffffff81894382 RBX: 0000000000000000 RCX: ffff88811d324f00 RDX: 0000000000010502 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000016fb70 R08: ffffffff81894374 R09: ffffc9000016fcc0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000016fe80 R13: ffff8881397c5800 R14: 0000000000000000 R15: ffffc9000016fd26 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb3417b020 CR3: 000000011b7bd000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_prepare_sample+0x171/0x1af0 kernel/events/core.c:7221 __perf_event_output kernel/events/core.c:7388 [inline] perf_event_output_forward+0xdb/0x1b0 kernel/events/core.c:7408 __perf_event_overflow+0x1c8/0x350 kernel/events/core.c:9064 perf_swevent_hrtimer+0x3fd/0x560 kernel/events/core.c:10467 __run_hrtimer kernel/time/hrtimer.c:1585 [inline] __hrtimer_run_queues+0x3d7/0xa50 kernel/time/hrtimer.c:1649 hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1711 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xfb/0x3f0 arch/x86/kernel/apic/apic.c:1112 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:1106 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: 00000000ffffe9ae RCX: 1ffffffff0da8735 RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffffffff86d439ae RBP: ffffc90000170450 R08: dffffc0000000000 R09: fffffbfff0da8736 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff86d439ac R13: 1ffffffff0da8735 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/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:1106 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 30 78 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 84 41 97 fc fb bf 01 00 00 00 89 e6 ff ff fa bf 01 00 00 00 e8 0e 43 97 fc 65 48 8b 1d f6 8b RSP: 0018:ffffc9000154f160 EFLAGS: 00000246 RAX: 1ffff11023a64b26 RBX: 1ffff920002a9e30 RCX: ffffffff84b30900 RDX: 1ffff11023a649e4 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc9000154f1e0 R08: ffffffff87087048 R09: ffffffff87087058 R10: ffffffff87087050 R11: ffffffff87087043 R12: ffffc9000154f180 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920002a9e2c 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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:update_stack_state+0x246/0x460 arch/x86/kernel/unwind_frame.c:224 Code: 3a 76 00 e9 23 ff ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 75 ff ff ff 4c 89 ff e8 63 3a 76 00 e9 68 ff ff ff 48 8b 45 d0 <4c> 8d 70 40 4d 89 f4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df 41 RSP: 0018:ffffc9000154f2d0 EFLAGS: 00000287 RAX: ffffc9000154f420 RBX: ffffc9000154f448 RCX: ffffc9000154f848 RDX: 1ffff920002a9e86 RSI: ffffc9000154f838 RDI: ffffc9000154f478 RBP: ffffc9000154f388 R08: ffffc9000154f508 R09: 0000000000000001 R10: ffffc9000154f510 R11: dffffc0000000001 R12: ffffc90001548000 R13: ffffc90001550000 R14: dffffc0000000000 R15: 0000000000000001 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 mm/page_alloc.c:3391 [inline] free_the_page+0x9e/0x370 mm/page_alloc.c:5407 __free_pages+0x67/0xc0 mm/page_alloc.c:5418 __vunmap+0x7bc/0x8f0 mm/vmalloc.c:2301 __vfree mm/vmalloc.c:2349 [inline] vfree+0x5c/0x80 mm/vmalloc.c:2380 kcov_put kernel/kcov.c:408 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:510 __fput+0x33d/0x7b0 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x129/0x190 kernel/task_work.c:189 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xc83/0x2a50 kernel/exit.c:863 do_group_exit+0x141/0x310 kernel/exit.c:985 get_signal+0x10a0/0x1410 kernel/signal.c:2793 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:0x7f2ce17a0d19 Code: Unable to access opcode bytes at RIP 0x7f2ce17a0cef. RSP: 002b:00007f2cdfdf10e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007f2ce1991088 RCX: 00007f2ce17a0d19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2ce1991088 RBP: 00007f2ce1991080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2ce199108c R13: 0000000000000000 R14: 00007ffffe514150 R15: 00007ffffe514238