watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz-executor.0:5399] CPU#0 Utilization every 22s during lockup: #1: 0% system, 6% softirq, 95% hardirq, 0% idle #2: 1% system, 6% softirq, 95% hardirq, 0% idle #3: 0% system, 6% softirq, 95% hardirq, 0% idle #4: 1% system, 6% softirq, 95% hardirq, 0% idle #5: 0% system, 6% softirq, 95% hardirq, 0% idle CPU#0 Detect HardIRQ Time exceeds 50%. Most frequent HardIRQs: #1: 1 irq#36 Modules linked in: irq event stamp: 14910581 hardirqs last enabled at (14910580): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (14910581): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1043 softirqs last enabled at (11782): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (11782): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (11782): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (11785): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (11785): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (11785): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 0 PID: 5399 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-08544-g4b377b4868ef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x7d/0x90 kernel/kcov.c:313 Code: c1 e1 05 48 8d 41 28 4c 39 c8 77 1e 49 ff c2 4c 89 12 48 c7 44 11 08 07 00 00 00 48 89 7c 11 10 48 89 74 11 18 4c 89 44 11 20 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 RSP: 0018:ffffc90000007498 EFLAGS: 00000246 RAX: 0000000000000101 RBX: ffffffff81833c7e RCX: ffff88801c3d8000 RDX: 0000000000000101 RSI: ffffffff81833c7e RDI: 0000000000000000 RBP: ffffc90000007530 R08: ffffffff813766c2 R09: ffffffff814108cf R10: 0000000000000003 R11: ffff88801c3d8000 R12: ffff88801c3d8000 R13: ffffffff8181e600 R14: ffffc90000007580 R15: ffffc900000074a0 FS: 00007fa2e404d6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558d0e98f8 CR3: 000000002c856000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x132/0x1b0 arch/x86/kernel/stacktrace.c:27 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:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3871 [inline] slab_alloc_node mm/slub.c:3918 [inline] kmem_cache_alloc_node+0x194/0x390 mm/slub.c:3961 kmalloc_reserve+0xa8/0x2a0 net/core/skbuff.c:575 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:666 alloc_skb include/linux/skbuff.h:1308 [inline] ndisc_alloc_skb+0xed/0x2c0 net/ipv6/ndisc.c:422 ndisc_send_rs+0x27b/0x6b0 net/ipv6/ndisc.c:703 addrconf_rs_timer+0x36e/0x660 net/ipv6/addrconf.c:4039 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2d6/0x990 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:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7067 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 f5 58 d4 f5 e8 60 55 0c f6 fb bf 01 00 00 00 65 ad ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 55 26 6a f6 48 RSP: 0018:ffffc9000982eae0 EFLAGS: 00000282 RAX: 74504b3b11eb1400 RBX: 1ffff92001305d64 RCX: ffffffff8172ea4a RDX: dffffc0000000000 RSI: ffffffff8bcab5c0 RDI: 0000000000000001 RBP: ffffc9000982eb90 R08: ffffffff92f9c61f R09: 1ffffffff25f38c3 R10: dffffc0000000000 R11: fffffbfff25f38c4 R12: 1ffff92001305d5c R13: 1ffff92001305d60 R14: ffffc9000982eb00 R15: dffffc0000000000 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:__sanitizer_cov_trace_pc+0x46/0x70 kernel/kcov.c:212 Code: ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc9000982ec50 EFLAGS: 00000246 RAX: ffffffff8141257f RBX: ffffc9000982ec58 RCX: ffff88801c3d8000 RDX: ffffc9000a682000 RSI: 000000000000617f RDI: 0000000000006169 RBP: 1ffff92001305d98 R08: ffffffff81410dd5 R09: ffffffff814108cf R10: 0000000000000003 R11: ffff88801c3d8000 R12: ffffc9000982ed58 R13: ffffc9000982ecd0 R14: ffffc9000982ecc0 R15: ffffc9000982ecc8 __unwind_start+0x65f/0x7c0 arch/x86/kernel/unwind_orc.c:757 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8d/0x810 mm/page_owner.c:325 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1ea/0x210 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0x3410/0x35b0 mm/page_alloc.c:3317 __alloc_pages+0x256/0x6c0 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page+0x5f/0x160 mm/slub.c:2190 allocate_slab mm/slub.c:2353 [inline] new_slab+0x84/0x2f0 mm/slub.c:2406 ___slab_alloc+0xb07/0x12e0 mm/slub.c:3592 __slab_alloc mm/slub.c:3682 [inline] __slab_alloc_node mm/slub.c:3735 [inline] slab_alloc_node mm/slub.c:3908 [inline] kmem_cache_alloc+0x252/0x350 mm/slub.c:3925 kmem_cache_zalloc include/linux/slab.h:739 [inline] alloc_buffer_head+0x2d/0x2a0 fs/buffer.c:3001 folio_alloc_buffers+0x2da/0x840 fs/buffer.c:924 create_empty_buffers+0x3a/0x740 fs/buffer.c:1650 ext4_block_write_begin+0x27d/0x1850 fs/ext4/inode.c:1038 ext4_da_write_begin+0x5f8/0xa70 fs/ext4/inode.c:2894 generic_perform_write+0x322/0x640 mm/filemap.c:3974 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1de/0x1a10 call_write_iter include/linux/fs.h:2120 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa2d/0xc50 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa2e327cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa2e404d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa2e33abf80 RCX: 00007fa2e327cee9 RDX: 000000000001a000 RSI: 0000000020001340 RDI: 000000000000000d RBP: 00007fa2e32c949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa2e33abf80 R15: 00007ffda77134c8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2872 Comm: kworker/u8:9 Not tainted 6.9.0-syzkaller-08544-g4b377b4868ef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a5 0c 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 50 08 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 34 08 RSP: 0018:ffffc9000a04f6e0 EFLAGS: 00000293 RAX: ffffffff818a299c RBX: 1ffff11017288c55 RCX: ffff88802b78bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000a04f8e0 R08: ffffffff818a296b R09: 1ffffffff25f38b0 R10: dffffc0000000000 R11: fffffbfff25f38b1 R12: dffffc0000000000 R13: ffff8880b94462a8 R14: ffff8880b953f780 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d3bfdda040 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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