watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.0.282:2290] Modules linked in: CPU: 1 PID: 2290 Comm: syz.0.282 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:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:queued_write_lock_slowpath+0x17e/0x390 kernel/locking/qrwlock.c:79 Code: bd ff 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 90 42 0f b6 04 33 84 c0 74 15 44 89 f9 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90000170480 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffffffff0da83ed RCX: ffffffff8150fdbb RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86d41f68 RBP: ffffc90000170530 R08: dffffc0000000000 R09: fffffbfff0da83ee R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002e09a R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff86d41f68 FS: 00007f848116f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88d90fd1b8 CR3: 00000001391d6000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 c1 de f5 fc 48 83 3d c9 0f ba 01 00 74 2a 48 89 df e8 13 3c 9e fc 66 90 fb bf 01 00 00 00 b2 ab 96 fc 65 8b 05 47 05 50 7b 85 c0 74 03 5b 5d c3 e8 b3 13 RSP: 0018:ffffc90001216f48 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8881f7155fc0 RCX: dffffc0000000000 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90001216f50 R08: ffffffff8188e689 R09: fffffbfff0dc7623 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7155fc0 R13: ffff88810cd493c0 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_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:stack_trace_consume_entry+0x3e/0x290 kernel/stacktrace.c:85 Code: 48 ba 00 00 00 00 00 fc ff df 4c 8d 57 10 4d 89 d7 49 c1 ef 03 41 0f b6 04 17 84 c0 0f 85 0d 01 00 00 44 8b 4b 10 4c 8d 43 08 <4d> 89 c4 49 c1 ec 03 41 0f b6 04 14 84 c0 0f 85 21 01 00 00 45 3b RSP: 0018:ffffc90001217248 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90001217380 RCX: 1ffff92000242e5b RDX: dffffc0000000000 RSI: ffffffff8159b6d3 RDI: ffffc90001217380 RBP: ffffc90001217290 R08: ffffc90001217388 R09: 0000000000000000 R10: ffffc90001217390 R11: dffffc0000000001 R12: ffff88810cd493c0 R13: ffffffff8159b780 R14: ffffc90001217380 R15: 1ffff92000242e72 arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27 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_kmalloc+0xdb/0x110 mm/kasan/common.c:509 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] kmem_cache_alloc_trace+0x18a/0x2e0 mm/slub.c:2974 kmem_cache_alloc_node_trace include/linux/slab.h:440 [inline] kmalloc_node include/linux/slab.h:570 [inline] kzalloc_node include/linux/slab.h:675 [inline] __get_vm_area_node+0x116/0x470 mm/vmalloc.c:2086 __vmalloc_node_range+0xdc/0x7c0 mm/vmalloc.c:2591 __vmalloc_node mm/vmalloc.c:2682 [inline] __vmalloc+0x7a/0x90 mm/vmalloc.c:2696 bpf_prog_alloc_no_stats+0x39/0x2a0 kernel/bpf/core.c:92 bpf_prog_alloc+0x21/0x1e0 kernel/bpf/core.c:120 bpf_prog_load kernel/bpf/syscall.c:2180 [inline] __do_sys_bpf kernel/bpf/syscall.c:4435 [inline] __se_sys_bpf+0x9856/0x11cb0 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f84824f5ef9 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:00007f848116f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f84826adf80 RCX: 00007f84824f5ef9 RDX: 0000000000000080 RSI: 0000000020000300 RDI: 0000000000000005 RBP: 00007f8482568b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f84826adf80 R15: 00007ffc693cee68 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1305 Comm: syz.1.186 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: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 b7 af 3e 01 5d c3 0f 1f 44 00 RSP: 0018:ffffc900000070c8 EFLAGS: 00000046 RAX: 000000000000012d RBX: ffffffff85dc4988 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000012d RDI: 0000000000000838 RBP: ffffc900000070c8 R08: ffffffff815df6c1 R09: ffffffff815df64d R10: 0000000000000002 R11: ffff88810e1c93c0 R12: 00000000000012d2 R13: dffffc0000000000 R14: 000000000000012d R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056487b6ee988 CR3: 000000010caf2000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:__nla_reserve lib/nlattr.c:851 [inline] RIP: 0010:__nla_put lib/nlattr.c:984 [inline] RIP: 0010:nla_put+0xe0/0x1f0 lib/nlattr.c:1043 Code: 39 de 0f 8c 8d 00 00 00 e8 5d 6c fe fe 4c 89 ef 89 de e8 73 b5 52 01 49 89 c5 48 8d 78 02 48 89 f8 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 8c 00 00 00 8b 45 d4 66 41 89 45 02 45 8d 74 24 04 4c RSP: 0018:ffffc90000007398 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: 0000000000000014 RCX: ffff88810e1c93c0 RDX: 0000000000000502 RSI: 0000000000000280 RDI: ffff88813f2f701e RBP: ffffc900000073d0 R08: ffffffff83bef714 R09: ffff88813f2f701c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000010 R13: ffff88813f2f701c R14: 0000000000000264 R15: dffffc0000000000 neigh_fill_info+0x376/0xd30 net/core/neighbour.c:2465 __neigh_notify+0x9d/0x120 net/core/neighbour.c:3379 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:ffffc90000c47560 EFLAGS: 00000246 RAX: 1ffff11021c393be RBX: 1ffff92000188eb0 RCX: ffffffff84b27500 RDX: 1ffff11021c3927c RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000c475e0 R08: ffffffff87084008 R09: ffffffff87084018 R10: ffffffff87084010 R11: ffffffff87084003 R12: ffffc90000c47580 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000188eac 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:get_page_owner mm/page_owner.c:104 [inline] RIP: 0010:__reset_page_owner+0xa8/0x150 mm/page_owner.c:181 Code: be 00 00 00 00 00 fc ff df 41 ff cc 49 c7 c7 20 a0 84 86 49 c1 ef 03 4c 89 ef be 08 00 00 00 e8 3e 1c fb ff 49 0f ba 75 00 01 <48> 8b 05 31 41 d7 04 49 8d 5c 05 00 49 8d 7c 05 0c 48 89 f8 48 c1 RSP: 0018:ffffc90000c476d8 EFLAGS: 00000257 RAX: 0000000000000001 RBX: ffffea0004b5f200 RCX: ffffffff81ad2ca2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888104307580 RBP: ffffc90000c47710 R08: dffffc0000000000 R09: ffffed1020860eb1 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff888104307580 R14: dffffc0000000000 R15: 1ffffffff0d09404 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: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:0x7f0319f82ef9 Code: Unable to access opcode bytes at RIP 0x7f0319f82ecf. RSP: 002b:00007f0318bdb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 000000000000000f RBX: 00007f031a13b058 RCX: 00007f0319f82ef9 RDX: 000000000000275a RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f0319ff5b76 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000f61b R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f031a13b058 R15: 00007ffe9fd1af98