watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz.5.269:7148] Modules linked in: irq event stamp: 11190187 hardirqs last enabled at (11190186): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (11190187): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (11168194): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (11168194): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (11168194): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 softirqs last disabled at (11168197): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (11168197): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (11168197): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 CPU: 1 UID: 0 PID: 7148 Comm: syz.5.269 Not tainted 6.12.0-syzkaller-gc8d02b547363 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_get_return_address+0x3b/0x90 arch/x86/kernel/unwind_orc.c:369 Code: 00 00 fc ff df 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 4b 83 3b 00 74 3a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 <74> 08 48 89 df e8 bb aa be 00 48 8b 3b e8 93 6e 1e 00 85 c0 74 14 RSP: 0018:ffffc90000a18700 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000a18768 RCX: 0000000000000101 RDX: dffffc0000000000 RSI: ffffc900041e0000 RDI: ffffc90000a18720 RBP: ffffc90000a187b0 R08: ffffc900041e7c58 R09: 0000000000000000 R10: ffffc90000a18770 R11: fffff520001430f0 R12: ffff88802e4f3c00 R13: ffffffff81819e90 R14: dffffc0000000000 R15: 1ffff920001430ed FS: 00007f8bf86eb6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bf86cad58 CR3: 0000000035a24000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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:233 [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 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:775 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:811 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 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+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 9e c5 24 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 23 f2 87 f5 65 8b 05 14 d8 27 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900041e7a40 EFLAGS: 00000206 RAX: 3b5f58b994938600 RBX: 1ffff9200083cf4c RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad880 RDI: 0000000000000001 RBP: ffffc900041e7ae0 R08: ffffffff9431f8b7 R09: 1ffffffff2863f16 R10: dffffc0000000000 R11: fffffbfff2863f17 R12: dffffc0000000000 R13: 1ffff9200083cf48 R14: ffffc900041e7a60 R15: 0000000000000246 __slab_free+0x2c5/0x3d0 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7148 Comm: syz.5.269 Not tainted 6.12.0-syzkaller-gc8d02b547363 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:409 Code: 30 90 47 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 31 72 b2 fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc90000a17ad8 EFLAGS: 00000002 RAX: 1ffffffff34ed600 RBX: ffffffff9a76b400 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff854e4fd6 R09: 1ffff11004a04046 R10: dffffc0000000000 R11: ffffffff854e4f90 R12: dffffc0000000000 R13: ffffffff9a466f70 R14: 00000000000003fd R15: dffffc0000000000 FS: 00007f8bf86eb6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bf86cad58 CR3: 0000000035a24000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2087 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3334 [inline] serial8250_console_write+0x1373/0x1ed0 drivers/tty/serial/8250/8250_port.c:3412 console_emit_next_record kernel/printk/printk.c:3122 [inline] console_flush_all+0x869/0xeb0 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2432 _printk+0xd5/0x120 kernel/printk/printk.c:2457 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x38a/0x410 arch/x86/kernel/dumpstack.c:285 watchdog_timer_fn+0x75b/0x960 kernel/watchdog.c:767 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x551/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 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:unwind_get_return_address+0x3b/0x90 arch/x86/kernel/unwind_orc.c:369 Code: 00 00 fc ff df 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 4b 83 3b 00 74 3a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 <74> 08 48 89 df e8 bb aa be 00 48 8b 3b e8 93 6e 1e 00 85 c0 74 14 RSP: 0018:ffffc90000a18700 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000a18768 RCX: 0000000000000101 RDX: dffffc0000000000 RSI: ffffc900041e0000 RDI: ffffc90000a18720 RBP: ffffc90000a187b0 R08: ffffc900041e7c58 R09: 0000000000000000 R10: ffffc90000a18770 R11: fffff520001430f0 R12: ffff88802e4f3c00 R13: ffffffff81819e90 R14: dffffc0000000000 R15: 1ffff920001430ed 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:233 [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 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:775 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:811 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 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+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 9e c5 24 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 23 f2 87 f5 65 8b 05 14 d8 27 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900041e7a40 EFLAGS: 00000206 RAX: 3b5f58b994938600 RBX: 1ffff9200083cf4c RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad880 RDI: 0000000000000001 RBP: ffffc900041e7ae0 R08: ffffffff9431f8b7 R09: 1ffffffff2863f16 R10: dffffc0000000000 R11: fffffbfff2863f17 R12: dffffc0000000000 R13: 1ffff9200083cf48 R14: ffffc900041e7a60 R15: 0000000000000246 __slab_free+0x2c5/0x3d0 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] __kmalloc_cache_noprof+0x132/0x2c0 mm/slub.c:4290 kmalloc_noprof include/linux/slab.h:879 [inline] kzalloc_noprof include/linux/slab.h:1015 [inline] find_get_pmu_context+0x83/0x830 kernel/events/core.c:4987 __do_sys_perf_event_open kernel/events/core.c:12983 [inline] __se_sys_perf_event_open+0x132e/0x34b0 kernel/events/core.c:12728 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:0x7f8bf7980809 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:00007f8bf86eb058 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f8bf7b45fa0 RCX: 00007f8bf7980809 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000500 RBP: 00007f8bf79f393e R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8bf7b45fa0 R15: 00007ffe3cdca0b8 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] __kmalloc_cache_noprof+0x132/0x2c0 mm/slub.c:4290 kmalloc_noprof include/linux/slab.h:879 [inline] kzalloc_noprof include/linux/slab.h:1015 [inline] find_get_pmu_context+0x83/0x830 kernel/events/core.c:4987 __do_sys_perf_event_open kernel/events/core.c:12983 [inline] __se_sys_perf_event_open+0x132e/0x34b0 kernel/events/core.c:12728 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:0x7f8bf7980809 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:00007f8bf86eb058 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f8bf7b45fa0 RCX: 00007f8bf7980809 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000500 RBP: 00007f8bf79f393e R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8bf7b45fa0 R15: 00007ffe3cdca0b8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7149 Comm: syz.6.270 Not tainted 6.12.0-syzkaller-gc8d02b547363 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2ca0 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a6 e8 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 51 e4 0b 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 35 e4 RSP: 0018:ffffc900042072e0 EFLAGS: 00000293 RAX: ffffffff8189fbdb RBX: 1ffff110170e88c1 RCX: ffff888030cf8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900042074e0 R08: ffffffff8189fbaa R09: 1ffffffff2863f10 R10: dffffc0000000000 R11: fffffbfff2863f11 R12: dffffc0000000000 R13: ffff8880b8744608 R14: ffff8880b863f980 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0b889d0dc CR3: 000000000e738000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xd2/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 tracepoint_remove_func kernel/tracepoint.c:370 [inline] tracepoint_probe_unregister+0x83c/0xa10 kernel/tracepoint.c:504 trace_event_reg+0x154/0x270 perf_trace_event_unreg+0xb4/0x1b0 kernel/trace/trace_event_perf.c:162 perf_trace_destroy+0xa2/0x140 kernel/trace/trace_event_perf.c:241 _free_event+0xb7d/0xf60 kernel/events/core.c:5357 put_event kernel/events/core.c:5454 [inline] perf_event_release_kernel+0x7c1/0x850 kernel/events/core.c:5579 perf_release+0x38/0x40 kernel/events/core.c:5589 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3016 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f073e380809 Code: Unable to access opcode bytes at 0x7f073e3807df. RSP: 002b:00007f073f1aa058 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000007 RBX: 00007f073e545fa0 RCX: 00007f073e380809 RDX: 0000000000000000 RSI: 0000000400000002 RDI: 0000000000000010 RBP: 00007f073e3f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f073e545fa0 R15: 00007ffff6475fd8