watchdog: BUG: soft lockup - CPU#1 stuck for 144s! [syz.1.157:6174] Modules linked in: irq event stamp: 11453685 hardirqs last enabled at (11453684): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (11453685): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1043 softirqs last enabled at (8972108): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (8972108): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (8972108): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (8972111): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (8972111): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (8972111): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 1 UID: 0 PID: 6174 Comm: syz.1.157 Not tainted 6.11.0-rc4-syzkaller-00240-gb0222d1d9e6f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:unwind_next_frame+0x1d59/0x2a00 arch/x86/kernel/unwind_orc.c:664 Code: c6 20 4c 89 f7 e8 57 1a 00 00 49 89 c6 48 8d 5d 40 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 7a da b9 00 4c 89 33 <43> 0f b6 04 2f 84 c0 0f 85 5a 09 00 00 44 8b 75 00 44 89 f7 8b 9c RSP: 0018:ffffc90000a17a08 EFLAGS: 00000246 RAX: ffffffff81414211 RBX: ffffffff9135c4f4 RCX: ffff888064d38000 RDX: 0000000000000100 RSI: 0000000000000002 RDI: ffffc90000a18990 RBP: ffffc90000a17ae0 R08: ffffffff8141554b R09: ffffffff814140bf R10: 0000000000000003 R11: ffff888064d38000 R12: ffffc90000a18998 R13: dffffc0000000000 R14: ffffc90000a17b30 R15: 1ffff92000142f5c FS: 00007f52139fb6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000070bc0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x151/0x1b0 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 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2252 [inline] slab_free mm/slub.c:4473 [inline] kfree+0x149/0x360 mm/slub.c:4594 ieee80211_inform_bss+0xbb2/0x1080 net/mac80211/scan.c:160 rdev_inform_bss net/wireless/rdev-ops.h:418 [inline] cfg80211_inform_single_bss_data+0xe93/0x2030 net/wireless/scan.c:2335 cfg80211_inform_bss_data+0x3dd/0x5a70 net/wireless/scan.c:3159 cfg80211_inform_bss_frame_data+0x3b8/0x720 net/wireless/scan.c:3254 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:5124 [inline] ieee80211_handle_queued_frames+0xe7/0x1e0 net/mac80211/main.c:439 tasklet_action_common+0x321/0x4d0 kernel/softirq.c:785 handle_softirqs+0x2c4/0x970 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:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:smp_call_function_many_cond+0x1721/0x29d0 kernel/smp.c:851 Code: 7c 24 48 4d 85 f6 75 14 e8 3c 12 0c 00 83 bc 24 98 00 00 00 00 75 19 e9 85 0a 00 00 e8 28 12 0c 00 fb 83 bc 24 98 00 00 00 00 <0f> 84 71 0a 00 00 44 3b bc 24 c8 00 00 00 0f 83 63 0a 00 00 4d 8d RSP: 0018:ffffc90002fdf580 EFLAGS: 00000202 RAX: ffffffff81877ad8 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90017204000 RSI: 0000000000002568 RDI: 0000000000002569 RBP: ffffc90002fdf760 R08: ffffffff81877aa7 R09: 1ffffffff283c308 R10: dffffc0000000000 R11: fffffbfff283c309 R12: dffffc0000000000 R13: ffff8880b893fb40 R14: 0000000000000200 R15: 0000000000000000 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 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:10245 perf_try_init_event+0x139/0x3f0 kernel/events/core.c:11720 perf_init_event kernel/events/core.c:11790 [inline] perf_event_alloc+0x131a/0x22d0 kernel/events/core.c:12070 __do_sys_perf_event_open kernel/events/core.c:12577 [inline] __se_sys_perf_event_open+0xb43/0x38d0 kernel/events/core.c:12468 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:0x7f5212b7cef9 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:00007f52139fb038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f5212d35f80 RCX: 00007f5212b7cef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f5212bef01e R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5212d35f80 R15: 00007ffd9aa16ce8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.11.0-rc4-syzkaller-00240-gb0222d1d9e6f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 39 15 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 e4 10 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 c8 10 RSP: 0018:ffffc90000bc5ec0 EFLAGS: 00000293 RAX: ffffffff81877c38 RBX: 1ffff110171288f1 RCX: ffff88801ad05a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bc60a0 R08: ffffffff81877c07 R09: 1ffffffff2030ba5 R10: dffffc0000000000 R11: ffffffff8142e5e0 R12: dffffc0000000000 R13: ffff8880b8944788 R14: ffff8880b883fb40 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ced967ff8 CR3: 0000000029204000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:941 [inline] flush_tlb_mm_range+0x329/0x5c0 arch/x86/mm/tlb.c:1027 flush_tlb_page arch/x86/include/asm/tlbflush.h:254 [inline] ptep_clear_flush+0x11a/0x170 mm/pgtable-generic.c:101 page_vma_mkclean_one+0x58a/0x9a0 mm/rmap.c:1029 page_mkclean_one+0x280/0x420 mm/rmap.c:1070 rmap_walk_file+0x52f/0x9f0 mm/rmap.c:2687 rmap_walk mm/rmap.c:2705 [inline] folio_mkclean+0x262/0x440 mm/rmap.c:1102 folio_clear_dirty_for_io+0x22b/0xcf0 mm/page-writeback.c:3024 mpage_submit_folio+0x88/0x230 fs/ext4/inode.c:1924 mpage_process_page_bufs+0x6c9/0x8d0 fs/ext4/inode.c:2056 mpage_prepare_extent_to_map+0xec7/0x1c80 fs/ext4/inode.c:2564 ext4_do_writepages+0xc52/0x3d40 fs/ext4/inode.c:2706 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2842 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 __writeback_single_inode+0x165/0x10b0 fs/fs-writeback.c:1651 writeback_sb_inodes+0x99c/0x1380 fs/fs-writeback.c:1947 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2018 wb_writeback+0x495/0xd40 fs/fs-writeback.c:2129 wb_check_old_data_flush fs/fs-writeback.c:2233 [inline] wb_do_writeback fs/fs-writeback.c:2286 [inline] wb_workfn+0xba1/0x1090 fs/fs-writeback.c:2314 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244