sched: DL replenish lagged too much watchdog: BUG: soft lockup - CPU#1 stuck for 144s! [syz.3.41:6069] Modules linked in: irq event stamp: 11648849 hardirqs last enabled at (11648848): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (11648849): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (11631548): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (11631548): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (11631548): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 softirqs last disabled at (11631551): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (11631551): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (11631551): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 CPU: 1 UID: 0 PID: 6069 Comm: syz.3.41 Not tainted 6.12.0-syzkaller-09088-g537a2525eaf7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_next_frame+0x17ab/0x22d0 Code: 00 48 0f bf 03 48 8b 34 24 48 01 c6 49 8d 55 40 4c 89 ef e8 37 0e 00 00 84 c0 0f 84 66 01 00 00 49 bc 00 00 00 00 00 fc ff df <48> 8b 44 24 20 42 0f b6 04 20 84 c0 0f 85 36 08 00 00 48 8b 6c 24 RSP: 0018:ffffc90000a18350 EFLAGS: 00000202 RAX: 1ffff92000143001 RBX: ffffffff913f1892 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffc90000a11000 RDI: ffffc90000a18c18 RBP: dffffc0000000000 R08: ffffc90000a18c18 R09: 0000000000000000 R10: ffffc90000a18470 R11: fffff52000143090 R12: dffffc0000000000 R13: ffffc90000a18420 R14: ffffffff8b4cbfb8 R15: ffffc90000a18470 FS: 00007fc406b1a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff599fbff8 CR3: 0000000030d8c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: 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 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 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] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4186 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:668 __netdev_alloc_skb+0x103/0xa00 net/core/skbuff.c:742 netdev_alloc_skb include/linux/skbuff.h:3402 [inline] dev_alloc_skb include/linux/skbuff.h:3415 [inline] __ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5474 ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5632 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __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 NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6069 Comm: syz.3.41 Not tainted 6.12.0-syzkaller-09088-g537a2525eaf7 #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 41 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:ffffc90000a17718 EFLAGS: 00000002 RAX: 1ffffffff34ed600 RBX: ffffffff9a76b400 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff854e4fd6 R09: 1ffff11004a82046 R10: dffffc0000000000 R11: ffffffff854e4f90 R12: dffffc0000000000 R13: ffffffff9a466f70 R14: 00000000000003fd R15: dffffc0000000000 FS: 00007fc406b1a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff599fbff8 CR3: 0000000030d8c000 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_next_frame+0x17ab/0x22d0 Code: 00 48 0f bf 03 48 8b 34 24 48 01 c6 49 8d 55 40 4c 89 ef e8 37 0e 00 00 84 c0 0f 84 66 01 00 00 49 bc 00 00 00 00 00 fc ff df <48> 8b 44 24 20 42 0f b6 04 20 84 c0 0f 85 36 08 00 00 48 8b 6c 24 RSP: 0018:ffffc90000a18350 EFLAGS: 00000202 RAX: 1ffff92000143001 RBX: ffffffff913f1892 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffc90000a11000 RDI: ffffc90000a18c18 RBP: dffffc0000000000 R08: ffffc90000a18c18 R09: 0000000000000000 R10: ffffc90000a18470 R11: fffff52000143090 R12: dffffc0000000000 R13: ffffc90000a18420 R14: ffffffff8b4cbfb8 R15: ffffc90000a18470 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 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 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] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4186 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:668 __netdev_alloc_skb+0x103/0xa00 net/core/skbuff.c:742 netdev_alloc_skb include/linux/skbuff.h:3402 [inline] dev_alloc_skb include/linux/skbuff.h:3415 [inline] __ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5474 ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5632 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __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:strlen+0x28/0x70 lib/string.c:402 Code: 90 90 f3 0f 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 <48> c1 e8 03 42 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 RSP: 0018:ffffc9000501f8b8 EFLAGS: 00000202 RAX: ffffffff8c0bf4d3 RBX: ffffffff8c0bf4d3 RCX: 000000008c0bf402 RDX: ffffffff8143b513 RSI: ffffffff8e93c4a0 RDI: ffffffff8c0bf4c0 RBP: ffffc9000501f9f0 R08: ffffffff901e4037 R09: 1ffffffff203c806 R10: dffffc0000000000 R11: fffffbfff203c807 R12: 0000000000000012 R13: ffffffff8143b513 R14: ffffffff8c0bf4c0 R15: dffffc0000000000 trace_event_get_offsets_lock include/trace/events/lock.h:50 [inline] do_perf_trace_lock include/trace/events/lock.h:50 [inline] perf_trace_lock+0x10a/0x490 include/trace/events/lock.h:50 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x9cc/0xa30 kernel/locking/lockdep.c:5860 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock_sched include/linux/rcupdate.h:962 [inline] pfn_valid include/linux/mmzone.h:2058 [inline] __virt_addr_valid+0x42f/0x530 arch/x86/mm/physaddr.c:65 check_heap_object mm/usercopy.c:189 [inline] __check_object_size+0x10d/0x900 mm/usercopy.c:251 check_object_size include/linux/thread_info.h:228 [inline] check_copy_size include/linux/thread_info.h:264 [inline] copy_from_user include/linux/uaccess.h:207 [inline] generic_map_update_batch+0x559/0x900 kernel/bpf/syscall.c:1945 bpf_map_do_batch+0x39a/0x660 kernel/bpf/syscall.c:5298 __sys_bpf+0x377/0x810 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5895 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:0x7fc405d80849 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:00007fc406b1a058 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fc405f45fa0 RCX: 00007fc405d80849 RDX: 0000000000000038 RSI: 0000000020000200 RDI: 000000000000001a RBP: 00007fc405df3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc405f45fa0 R15: 00007ffee949dc18 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:strlen+0x28/0x70 lib/string.c:402 Code: 90 90 f3 0f 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 <48> c1 e8 03 42 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 RSP: 0018:ffffc9000501f8b8 EFLAGS: 00000202 RAX: ffffffff8c0bf4d3 RBX: ffffffff8c0bf4d3 RCX: 000000008c0bf402 RDX: ffffffff8143b513 RSI: ffffffff8e93c4a0 RDI: ffffffff8c0bf4c0 RBP: ffffc9000501f9f0 R08: ffffffff901e4037 R09: 1ffffffff203c806 R10: dffffc0000000000 R11: fffffbfff203c807 R12: 0000000000000012 R13: ffffffff8143b513 R14: ffffffff8c0bf4c0 R15: dffffc0000000000 trace_event_get_offsets_lock include/trace/events/lock.h:50 [inline] do_perf_trace_lock include/trace/events/lock.h:50 [inline] perf_trace_lock+0x10a/0x490 include/trace/events/lock.h:50 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x9cc/0xa30 kernel/locking/lockdep.c:5860 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock_sched include/linux/rcupdate.h:962 [inline] pfn_valid include/linux/mmzone.h:2058 [inline] __virt_addr_valid+0x42f/0x530 arch/x86/mm/physaddr.c:65 check_heap_object mm/usercopy.c:189 [inline] __check_object_size+0x10d/0x900 mm/usercopy.c:251 check_object_size include/linux/thread_info.h:228 [inline] check_copy_size include/linux/thread_info.h:264 [inline] copy_from_user include/linux/uaccess.h:207 [inline] generic_map_update_batch+0x559/0x900 kernel/bpf/syscall.c:1945 bpf_map_do_batch+0x39a/0x660 kernel/bpf/syscall.c:5298 __sys_bpf+0x377/0x810 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5895 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:0x7fc405d80849 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:00007fc406b1a058 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fc405f45fa0 RCX: 00007fc405d80849 RDX: 0000000000000038 RSI: 0000000020000200 RDI: 000000000000001a RBP: 00007fc405df3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc405f45fa0 R15: 00007ffee949dc18 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-syzkaller-09088-g537a2525eaf7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate 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:ffffc90000ab76e0 EFLAGS: 00000293 RAX: ffffffff8189fbdb RBX: 1ffff110170e88c1 RCX: ffff8880212d3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ab78e0 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: 000055b52a49b3d0 CR3: 000000000e738000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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 toggle_allocation_gate+0x1bf/0x260 mm/kfence/core.c:854 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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