rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=81ec/1/0x4000000000000000 softirq=100108/100109 fqs=0 rcu: (detected by 0, t=10505 jiffies, g=147617, q=198 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 23343 Comm: sed Not tainted 6.11.0-rc1-syzkaller-00062-ge4fc196f5ba3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:hlock_id kernel/locking/lockdep.c:429 [inline] RIP: 0010:__lock_acquire+0xac7/0x3cb0 kernel/locking/lockdep.c:5130 Code: 04 02 84 c0 74 08 3c 03 0f 8e 2b 2c 00 00 41 0f b7 45 20 66 25 ff 1f 66 89 44 24 20 41 0f b6 45 22 83 e0 03 48 83 7c 24 10 00 <88> 44 24 38 0f 84 b8 00 00 00 65 4c 8b 25 d7 ab 9b 7e 4d 8d 84 24 RSP: 0018:ffffc90000a18b30 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ebf5dd3ec2bf753a RCX: ffffffff816832a8 RDX: 1ffff11004ba152f RSI: 0000000000000008 RDI: ffff888025d0a979 RBP: 0000000000000040 R08: 0000000000000000 R09: fffffbfff28c510f R10: ffffffff9462887f R11: 0000000000000000 R12: ffff888025d0a951 R13: ffff888025d0a958 R14: 0000000000000002 R15: ffff888025d09e00 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000002ee9c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5759 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd8/0xc60 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 d6 11 54 f6 48 89 df e8 ee 8e 54 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 35 05 46 f6 65 8b 05 d6 86 ef 74 85 c0 74 16 5b RSP: 0018:ffffc90003caf260 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffffffff8e89de40 RCX: 1ffffffff28cd570 RDX: 0000000000000000 RSI: ffffffff8b4cc580 RDI: ffffffff8bb08480 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff28c50ed R10: ffffffff9462876f R11: ffffffff81e77054 R12: 0000000000000000 R13: ffffc90003caf2d8 R14: 0000000000000019 R15: 00000000000000f0 stack_depot_save_flags+0x31b/0x8f0 lib/stackdepot.c:662 kasan_save_stack+0x42/0x60 mm/kasan/common.c:48 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] kmem_cache_alloc_noprof+0x121/0x2f0 mm/slub.c:4044 journal_alloc_journal_head fs/jbd2/journal.c:2862 [inline] jbd2_journal_add_journal_head+0x1e0/0x680 fs/jbd2/journal.c:2931 jbd2_journal_get_write_access+0x1c6/0x280 fs/jbd2/transaction.c:1241 __ext4_journal_get_write_access+0x6a/0x390 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x13b/0x270 fs/ext4/inode.c:5803 __ext4_mark_inode_dirty+0x1a6/0x890 fs/ext4/inode.c:5977 ext4_dirty_inode+0xd9/0x130 fs/ext4/inode.c:6014 __mark_inode_dirty+0x1f0/0xe70 fs/fs-writeback.c:2486 generic_update_time+0xcf/0xf0 fs/inode.c:1969 inode_update_time fs/inode.c:1982 [inline] touch_atime+0x4ee/0x5d0 fs/inode.c:2054 file_accessed include/linux/fs.h:2480 [inline] ext4_file_mmap+0x514/0x6c0 fs/ext4/file.c:797 call_mmap include/linux/fs.h:2129 [inline] mmap_region+0x757/0x2760 mm/mmap.c:2957 do_mmap+0xbfb/0xfb0 mm/mmap.c:1468 vm_mmap_pgoff+0x1ba/0x360 mm/util.c:588 vm_mmap+0x8e/0xc0 mm/util.c:607 elf_map fs/binfmt_elf.c:385 [inline] elf_load+0x19a/0x880 fs/binfmt_elf.c:408 load_elf_interp fs/binfmt_elf.c:675 [inline] load_elf_binary+0x339e/0x4d90 fs/binfmt_elf.c:1235 search_binary_handler fs/exec.c:1821 [inline] exec_binprm fs/exec.c:1863 [inline] bprm_execve fs/exec.c:1914 [inline] bprm_execve+0x703/0x1960 fs/exec.c:1890 do_execveat_common.isra.0+0x4f1/0x630 fs/exec.c:2021 do_execve fs/exec.c:2095 [inline] __do_sys_execve fs/exec.c:2171 [inline] __se_sys_execve fs/exec.c:2166 [inline] __x64_sys_execve+0x8c/0xb0 fs/exec.c:2166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f09d4c04ef7 Code: Unable to access opcode bytes at 0x7f09d4c04ecd. RSP: 002b:00007ffc8de889c8 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 000055ade46eac80 RCX: 00007f09d4c04ef7 RDX: 000055ade46eacc8 RSI: 000055ade46eac80 RDI: 000055ade46ead58 RBP: 000055ade46ead58 R08: 000055ade46ead5d R09: 00007ffc8de8cea6 R10: 00007f09d4e03088 R11: 0000000000000246 R12: 000055ade46eacc8 R13: 00007f09d4db2904 R14: 000055ade46eacc8 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10505 jiffies! g147617 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:26144 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 2502 Comm: kworker/u8:7 Not tainted 6.11.0-rc1-syzkaller-00062-ge4fc196f5ba3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1420 kernel/smp.c:856 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 4b 39 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 f7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc900092e7908 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9344b80 RCX: ffffffff817e420b RDX: ffff88802a3e9e00 RSI: ffffffff817e41e5 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017268971 R13: 0000000000000001 R14: ffff8880b9344b88 R15: ffff8880b923ffc0 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000209ea000 CR3: 000000000db7c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 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+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:900 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:833 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:825 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244