watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz.0.22:5998] Modules linked in: irq event stamp: 10795559 hardirqs last enabled at (10795558): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (10795559): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (4418158): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (4418158): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (4418158): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (4418161): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (4418161): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (4418161): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 1 UID: 0 PID: 5998 Comm: syz.0.22 Not tainted 6.12.0-rc6-syzkaller-gfb86c42a2a5d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:preempt_count_sub+0x2b/0x170 kernel/sched/core.c:5823 Code: 0f 1e fa 41 56 53 89 fb 48 c7 c0 40 49 3d 9a 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 d0 00 00 00 <83> 3d be 18 da 18 00 75 22 65 8b 05 3d a7 a0 7e 89 c1 81 e1 ff ff RSP: 0018:ffffc90000a17b18 EFLAGS: 00000297 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff9a3d4903 RDX: dffffc0000000000 RSI: ffffc90004800000 RDI: 0000000000000001 RBP: ffffc90000a17c00 R08: ffffc90004807f48 R09: 0000000000000000 R10: ffffc90000a17c50 R11: fffff52000142f8c R12: dffffc0000000000 R13: ffffc90000a17c00 R14: dffffc0000000000 R15: ffffc90004807f58 FS: 00007fadccc496c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30f03ff8 CR3: 0000000032cea000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x18e6/0x22d0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4264 [inline] __kmalloc_noprof+0x1fc/0x400 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] cfg80211_inform_single_bss_data+0xb2d/0x2090 net/wireless/scan.c:2305 cfg80211_inform_bss_data+0x3ce/0x5e80 net/wireless/scan.c:3188 cfg80211_inform_bss_frame_data+0x3b8/0x720 net/wireless/scan.c:3283 ieee80211_bss_info_update+0x8a7/0xbc0 net/mac80211/scan.c:226 ieee80211_scan_rx+0x526/0x9c0 net/mac80211/scan.c:340 __ieee80211_rx_handle_packet net/mac80211/rx.c:5225 [inline] ieee80211_rx_list+0x2b02/0x3780 net/mac80211/rx.c:5462 ieee80211_rx_napi+0x18a/0x3c0 net/mac80211/rx.c:5485 ieee80211_rx include/net/mac80211.h:5138 [inline] ieee80211_handle_queued_frames+0xe7/0x1e0 net/mac80211/main.c:441 tasklet_action_common+0x321/0x4d0 kernel/softirq.c:784 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5202 Code: c9 50 e8 79 00 0c 00 48 83 c4 08 4c 89 f7 e8 4d 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 50 ad 6c 0a e8 0b 5a 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc900048070e8 EFLAGS: 00000282 RAX: ed259d13e7519c00 RBX: ffff8880311c3c00 RCX: ffffffff8170bffa RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c610860 RBP: ffffc90004807130 R08: ffffffff942cd807 R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: 1ffff110170e7f14 R13: dffffc0000000000 R14: ffff8880b873ea80 R15: ffff8880b873f8a0 context_switch kernel/sched/core.c:5331 [inline] __schedule+0x1857/0x4c30 kernel/sched/core.c:6690 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7012 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:ptlock_ptr include/linux/mm.h:2914 [inline] RIP: 0010:pte_lockptr include/linux/mm.h:2938 [inline] RIP: 0010:__pte_offset_map_lock+0x1a5/0x300 mm/pgtable-generic.c:374 Code: 4c 21 eb 48 c1 eb 06 48 b8 28 00 00 00 00 ea ff ff 48 01 c3 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 80 3c 28 00 <74> 08 48 89 df e8 51 25 14 00 4c 8b 33 4c 89 f7 e8 56 76 e6 09 48 RSP: 0018:ffffc900048074e0 EFLAGS: 00000246 RAX: 1ffffd40000d63e5 RBX: ffffea00006b1f28 RCX: ffff8880311c3c00 RDX: 000000001ac7c558 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900048075d0 R08: ffffffff81ea7adb R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: 1ffff92000900ea4 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000900eac get_locked_pte include/linux/mm.h:2727 [inline] __text_poke+0x2c5/0xd30 arch/x86/kernel/alternative.c:1899 text_poke arch/x86/kernel/alternative.c:1984 [inline] text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2373 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 tracepoint_add_func+0x953/0x9e0 kernel/tracepoint.c:361 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline] tracepoint_probe_register+0x105/0x160 kernel/tracepoint.c:531 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline] perf_trace_event_init+0x478/0x930 kernel/trace/trace_event_perf.c:202 perf_trace_init+0x243/0x2e0 kernel/trace/trace_event_perf.c:226 perf_tp_event_init+0x8d/0x110 kernel/events/core.c:10357 perf_try_init_event+0x146/0x810 kernel/events/core.c:11891 perf_init_event kernel/events/core.c:11977 [inline] perf_event_alloc+0x135f/0x2310 kernel/events/core.c:12259 __do_sys_perf_event_open kernel/events/core.c:12766 [inline] __se_sys_perf_event_open+0xb1f/0x3870 kernel/events/core.c:12657 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fadcbd7e719 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:00007fadccc49038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fadcbf35f80 RCX: 00007fadcbd7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007fadcbdf1616 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fadcbf35f80 R15: 00007ffe566dbeb8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5990 Comm: syz.1.20 Not tainted 6.12.0-rc6-syzkaller-gfb86c42a2a5d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:kasan_check_range+0x7/0x290 mm/kasan/generic.c:188 Code: 1f d7 e1 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 <41> 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 RSP: 0018:ffffc900000069a8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff817100ae RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942cd800 RBP: ffffc90000006cc0 R08: ffffffff942cd807 R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: dffffc0000000000 R13: ffff88803301e5a0 R14: 8f1279fecd576743 R15: ffff88803301e5a0 FS: 00007f2b2a5f56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c9000 CR3: 000000004f01c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3816 [inline] validate_chain+0x11e/0x5920 kernel/locking/lockdep.c:3872 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:708 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1708 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x911/0xa30 Code: ff ff 48 8d 8c 24 80 00 00 00 80 e1 07 80 c1 03 38 c1 0f 8c fb fa ff ff 48 8d bc 24 80 00 00 00 e8 84 28 8e 00 e9 e9 fa ff ff 0f 1e fa 4d 89 ee 4c 89 64 24 10 65 8b 05 08 60 93 7e 83 f8 08 RSP: 0018:ffffc90000007480 EFLAGS: 00000a06 RAX: f3f3f3f3f300f2f2 RBX: 0000000000000000 RCX: ffff88803301da00 RDX: 0000000000000100 RSI: ffffffff81a3e506 RDI: ffffffff8e937da0 RBP: ffffc900000075b8 R08: ffffffff81a3e6d4 R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: 1ffff92000000e9c R13: ffffffff81a3e506 R14: 0000000000000000 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] is_bpf_text_address+0x280/0x2a0 kernel/bpf/core.c:769 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free mm/slub.c:4579 [inline] kmem_cache_free+0x1a2/0x420 mm/slub.c:4681 skb_kfree_head net/core/skbuff.c:1084 [inline] skb_free_head net/core/skbuff.c:1098 [inline] skb_release_data+0x677/0x8a0 net/core/skbuff.c:1125 skb_release_all net/core/skbuff.c:1190 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb+0x9f/0xf0 net/core/skbuff.c:1436 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x222/0x510 net/mac80211/util.c:774 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:810 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5202 Code: c9 50 e8 79 00 0c 00 48 83 c4 08 4c 89 f7 e8 4d 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 50 ad 6c 0a e8 0b 5a 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc90004936e48 EFLAGS: 00000286 RAX: adb61eca238bcf00 RBX: ffff88803301da00 RCX: ffffffff8170bffa RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c610860 RBP: ffffc90004936e90 R08: ffffffff942cd837 R09: 1ffffffff2859b06 R10: dffffc0000000000 R11: fffffbfff2859b07 R12: 1ffff110170c7f14 R13: dffffc0000000000 R14: ffff8880b863ea80 R15: ffff8880b863f8a0 context_switch kernel/sched/core.c:5331 [inline] __schedule+0x1857/0x4c30 kernel/sched/core.c:6690 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6869 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6893 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 rcu_preempt_deferred_qs_irqrestore+0x87b/0xc70 rcu_read_unlock_special+0x497/0x570 kernel/rcu/tree_plugin.h:692 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437 rcu_read_unlock include/linux/rcupdate.h:882 [inline] pte_unmap include/linux/pgtable.h:115 [inline] do_anonymous_page mm/memory.c:4841 [inline] do_pte_missing mm/memory.c:3963 [inline] handle_pte_fault+0x4cf2/0x6820 mm/memory.c:5766 __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6077 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90004937b90 EFLAGS: 00050206 RAX: 0000000000000001 RBX: 00000000201c8b5a RCX: 00000000000000c7 RDX: 0000000000000001 RSI: 00000000201c9000 RDI: ffff88804fe824a6 RBP: ffffc90004937d00 R08: 0000000000000004 R09: ffffed1009fd04ad R10: dffffc0000000000 R11: ffffed1009fd04ad R12: 00000000201c8b5a R13: 1ffff92000926fb9 R14: ffff88804fe82000 R15: 000000000000056d copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline] _inline_copy_from_user include/linux/uaccess.h:178 [inline] _copy_from_user+0x7f/0xc0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:212 [inline] generic_map_update_batch+0x5ba/0x900 kernel/bpf/syscall.c:1846 bpf_map_do_batch+0x39a/0x660 kernel/bpf/syscall.c:5162 __sys_bpf+0x377/0x810 __do_sys_bpf kernel/bpf/syscall.c:5760 [inline] __se_sys_bpf kernel/bpf/syscall.c:5758 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5758 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2b2977e719 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:00007f2b2a5f5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2b29935f80 RCX: 00007f2b2977e719 RDX: 0000000000000038 RSI: 00000000200006c0 RDI: 000000000000001a RBP: 00007f2b297f1616 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2b29935f80 R15: 00007ffdd5d33df8