rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=52233, q=203 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295047570-4295037068), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g52233 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:28848 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14054 Comm: syz-executor.3 Not tainted 6.5.0-rc7-next-20230825-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:kasan_check_range+0x154/0x190 mm/kasan/generic.c:188 Code: 74 11 80 38 00 74 ef 4d 8d 1c 2c 48 85 c0 48 89 c2 75 97 48 89 da 4c 89 d8 4c 29 da e9 30 ff ff ff 5b b8 01 00 00 00 5d 41 5c b8 01 00 00 00 c3 48 29 c3 48 89 da 49 89 d3 49 c1 fb 3f 49 c1 RSP: 0018:ffffc900001f0d18 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff888047fc8080 RCX: ffffffff886401c7 RDX: ffffed10092cc85d RSI: 0000000000000008 RDI: ffff8880496642e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed10092cc85c R10: ffff8880496642e7 R11: 0000000000001444 R12: 0000000000000000 R13: ffff888047fc8000 R14: 000000007eb24548 R15: dffffc0000000000 FS: 00007f0fb2cf36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6606579b38 CR3: 000000007a7f8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic64_read include/linux/atomic/atomic-instrumented.h:1596 [inline] taprio_set_budgets+0x137/0x310 net/sched/sch_taprio.c:681 advance_sched+0x5de/0xc60 net/sched/sch_taprio.c:988 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:jbd2_write_access_granted+0x16b/0x3d0 fs/jbd2/transaction.c:1202 Code: 1e 3f ff 45 84 e4 0f 85 e5 00 00 00 e8 ee 22 3f ff 49 8d 7f 68 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 1b 02 00 00 4c 89 ea 4d 8b 77 68 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc9000a4dfa58 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b7e5000 RDX: 1ffff1100363e139 RSI: ffffffff8248af82 RDI: ffff88801b1f09c8 RBP: ffff888076214828 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88804711aff0 R12: 0000000000000000 R13: ffff88804200f420 R14: 0000000000000000 R15: ffff88801b1f0960 jbd2_journal_get_write_access+0xea/0x190 fs/jbd2/transaction.c:1243 __ext4_journal_get_write_access+0x173/0x3c0 fs/ext4/ext4_jbd2.c:241 add_dirent_to_buf+0x1d8/0x750 fs/ext4/namei.c:2185 ext4_add_entry+0x632/0xe40 fs/ext4/namei.c:2444 ext4_mkdir+0x36d/0xb70 fs/ext4/namei.c:3028 vfs_mkdir+0x532/0x7e0 fs/namei.c:4120 do_mkdirat+0x2a9/0x330 fs/namei.c:4143 __do_sys_mkdir fs/namei.c:4163 [inline] __se_sys_mkdir fs/namei.c:4161 [inline] __x64_sys_mkdir+0xf2/0x140 fs/namei.c:4161 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0fb207cae9 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:00007f0fb2cf30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f0fb219bf80 RCX: 00007f0fb207cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 RBP: 00007f0fb20c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0fb219bf80 R15: 00007fff33569c38