watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.3.203:1802] Modules linked in: CPU: 0 PID: 1802 Comm: syz.3.203 Not tainted 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:queued_write_lock_slowpath+0x185/0x390 kernel/locking/qrwlock.c:79 Code: 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 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 4c 89 ff e8 a2 RSP: 0018:ffffc90000007480 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 1ffffffff0da83fd RCX: ffffffff8150fdbb RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86d41fe8 RBP: ffffc90000007530 R08: dffffc0000000000 R09: fffffbfff0da83fe R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000e9a R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff86d41fe8 FS: 00007fd127a026c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1277bed58 CR3: 000000011e244000 CR4: 00000000003506b0 DR0: 0000000020000300 DR1: 0000000020000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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/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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x49/0x70 kernel/locking/spinlock.c:199 Code: 08 00 74 0c 48 c7 c7 f0 77 6c 86 e8 81 bb f5 fc 48 83 3d 99 ec b9 01 00 74 2a 48 89 df e8 e3 18 9e fc 66 90 fb bf 01 00 00 00 82 88 96 fc 65 8b 05 17 e2 4f 7b 85 c0 74 03 5b 5d c3 e8 83 f0 RSP: 0018:ffffc900013e7be8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8881f7055fc0 RCX: dffffc0000000000 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900013e7bf0 R08: ffffffff8188e699 R09: fffffbfff0dc764b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7055fc0 R13: ffff88810c0e3b40 R14: dffffc0000000000 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3784 [inline] finish_task_switch+0x130/0x5a0 kernel/sched/core.c:3884 context_switch kernel/sched/core.c:4049 [inline] __schedule+0xbee/0x1330 kernel/sched/core.c:4804 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:5065 irqentry_exit_cond_resched kernel/entry/common.c:365 [inline] irqentry_exit+0x4f/0x60 kernel/entry/common.c:395 sysvec_irq_work+0xc8/0xd0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x12/0x20 arch/x86/include/asm/idtentry.h:661 RIP: 0010:exit_to_user_mode_loop+0x41/0xd0 kernel/entry/common.c:159 Code: 89 fe eb 22 e8 50 4a 52 00 e8 bb ac f0 00 fa 65 48 8b 05 a2 03 a9 7e 48 8b 18 f7 c3 0e 30 08 00 0f 84 87 00 00 00 fb f6 c3 08 <74> 05 e8 08 00 58 03 f7 c3 00 10 00 00 74 08 4c 89 f7 e8 f8 70 34 RSP: 0000:ffffc900013e7ee0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000010000 RDX: 1ffffffff0e10800 RSI: 0000000000000008 RDI: ffffc900013e7f58 RBP: ffffc900013e7ef0 R08: ffffffff87084008 R09: ffffffff87084018 R10: ffffffff87084010 R11: ffffffff87084003 R12: ffffffff84c00c7a R13: 0000000000000000 R14: ffffc900013e7f58 R15: 0000000000000000 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287 irqentry_exit+0x12/0x60 kernel/entry/common.c:375 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: 0033:0x7fd128daa719 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:00007fd127a020e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fd128f62060 RCX: 00007fd128daa719 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fd128f62060 RBP: 00007fd128f62058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd128f62064 R13: 0000000000000000 R14: 00007ffd3e8bfb10 R15: 00007ffd3e8bfbf8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1566 Comm: syz.4.179 Not tainted 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:208 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 37 b5 3e 01 5d c3 0f 1f 44 00 RSP: 0018:ffffc9000016fd78 EFLAGS: 00000046 RAX: 00000000000000c1 RBX: ffffffff85dc4988 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000000c1 RDI: 0000000000000838 RBP: ffffc9000016fd78 R08: ffffffff815df6d1 R09: ffffffff815df65d R10: 0000000000000002 R11: ffff8881202462c0 R12: 0000000000000c1b R13: dffffc0000000000 R14: 00000000000000c1 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557e8ed4a8 CR3: 000000013b0ec000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: apic_write arch/x86/include/asm/apic.h:396 [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:1724 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:arch_stack_walk+0xeb/0x140 arch/x86/kernel/stacktrace.c:26 Code: 0e 00 00 eb 03 48 89 e9 48 8d bd 70 ff ff ff 4c 89 e6 4c 89 fa e8 55 f0 05 00 83 bd 70 ff ff ff 00 74 32 48 8d 9d 70 ff ff ff <48> 89 df e8 6d e0 05 00 48 85 c0 74 1e 4c 89 f7 48 89 c6 41 ff d5 RSP: 0018:ffffc90000170040 EFLAGS: 00000202 RAX: 0000000000170001 RBX: ffffc90000170040 RCX: 0000000000170001 RDX: 1ffff9200002e00a RSI: ffffc90000cb76c8 RDI: ffffc90000170098 RBP: ffffc900001700d0 R08: ffffc90000170128 R09: 000000000000001d R10: ffffc90000170130 R11: dffffc0000000001 R12: ffff8881202462c0 R13: ffffffff8159b790 R14: ffffc90000170120 R15: 0000000000000000 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] __kasan_slab_alloc+0xb1/0xe0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x61/0x2f0 mm/slab.h:583 slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x168/0x2e0 mm/slub.c:2960 kmem_cache_alloc_node include/linux/slab.h:423 [inline] __alloc_skb+0x80/0x510 net/core/skbuff.c:200 alloc_skb include/linux/skbuff.h:1126 [inline] nlmsg_new include/net/netlink.h:953 [inline] __neigh_notify+0x7d/0x120 net/core/neighbour.c:3375 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:context_switch kernel/sched/core.c:4049 [inline] RIP: 0010:__schedule+0xbee/0x1330 kernel/sched/core.c:4804 Code: 42 0f b6 04 28 84 c0 0f 85 de 01 00 00 48 8b 44 24 20 80 20 fc 48 8b 7c 24 10 4c 89 e6 e8 fa ed 4e fc 48 89 c7 e8 e2 f6 97 fc <49> 89 c6 49 8d 9e c0 0b 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 RSP: 0018:ffffc90000cb7500 EFLAGS: 00000282 RAX: ffff8881f7155fc0 RBX: ffff8881202467a0 RCX: 0000000000000002 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000cb75f0 R08: ffffffff8188e699 R09: fffffbfff0dc764b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881002f62c0 R13: dffffc0000000000 R14: ffff888118b18f00 R15: 1ffff11024048cf4 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:5065 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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:190 Code: 00 00 0f 0b 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d e4 ff 78 05 48 89 de e8 54 f0 3c 00 5b 5d c3 cc 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 80 c0 97 7e 65 8b 15 85 c0 97 7e RSP: 0018:ffffc90000cb7788 EFLAGS: 00000202 RAX: ffffffff81a5b461 RBX: 0000000000000c20 RCX: ffff8881202462c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000cb77c0 R08: ffffffff81a5b457 R09: fffff9400096bd09 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888125f89010 R13: dffffc0000000000 R14: 00000000000001fe R15: 0000000000000fe8 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] irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287 irqentry_exit+0x12/0x60 kernel/entry/common.c:375 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: 0033:0x7fdee607f719 Code: Unable to access opcode bytes at RIP 0x7fdee607f6ef. RSP: 002b:00007fdee4cd7038 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fdee6237058 RCX: 00007fdee607f719 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000007 RBP: 00007fdee60f239e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdee6237058 R15: 00007ffc1fd18e48