rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5168/1:b..l rcu: (detected by 1, t=10503 jiffies, g=6973, q=723 ncpus=2) task:syz-executor.4 state:R running task stack:22032 pid:5168 ppid:5090 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7022 irqentry_exit+0x57/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:rcu_read_lock include/linux/rcupdate.h:750 [inline] RIP: 0010:is_bpf_text_address+0x21/0x270 kernel/bpf/core.c:719 Code: 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 50 49 89 fe e8 e9 a8 f2 ff e8 04 33 dc ff e8 1f dc 00 00 8a e8 23 09 89 c3 31 ff 89 c6 e8 7f ac f2 ff 85 db 74 10 e8 36 RSP: 0018:ffffc90004bef330 EFLAGS: 00000286 RAX: 46d81e3a85eeea00 RBX: 000000000044fff9 RCX: ffffffff816b2607 RDX: 0000000000000000 RSI: ffffffff8b0aa9e0 RDI: ffffffff8b58ade0 RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff20f6860 R10: dffffc0000000000 R11: fffffbfff20f6861 R12: ffff888017bb8000 R13: ffffffff8179acf0 R14: 000000000044fff9 R15: 1ffff9200097de81 kernel_text_address+0xa3/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xf7/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1792 [inline] slab_free_freelist_hook mm/slub.c:1818 [inline] slab_free mm/slub.c:3801 [inline] __kmem_cache_free+0x25f/0x3b0 mm/slub.c:3814 iter_file_splice_write+0xd95/0x1010 fs/splice.c:767 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1145 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1091 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1197 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1316 [inline] __se_sys_sendfile64+0x100/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x44fff9 RSP: 002b:00007fe82a15b0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000044fff9 RDX: 0000000020000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: 00008080fffffffe R11: 0000000000000246 R12: 00000000004e2078 R13: 00007fe82a15b674 R14: 00000000004a242f R15: 000000000051bf00 rcu: rcu_preempt kthread starved for 10550 jiffies! g6973 f0x0 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:26952 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5170 Comm: syz-executor.4 Not tainted 6.5.0-rc7-syzkaller-00144-g4942fed84b98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:lock_acquire+0x275/0x520 kernel/locking/lockdep.c:5765 Code: 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 4b c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 11 00 00 00 00 <66> 43 c7 44 25 15 00 00 43 c6 44 25 17 00 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc90004c2ed20 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000985db0 RCX: ffffffff816b2607 RDX: 0000000000000000 RSI: ffffffff8b0aa9e0 RDI: ffffffff8b58ade0 RBP: ffffc90004c2ee80 R08: dffffc0000000000 R09: 1ffffffff20f6860 R10: dffffc0000000000 R11: fffffbfff20f6861 R12: 1ffff92000985dac R13: dffffc0000000000 R14: ffffc90004c2ed80 R15: 0000000000000246 FS: 00007fe82a13a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff248f7b48 CR3: 00000000685c2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:303 rcu_read_lock include/linux/rcupdate.h:749 [inline] jbd2_write_access_granted+0x66/0x2d0 fs/jbd2/transaction.c:1192 jbd2_journal_get_write_access+0xc4/0x140 fs/jbd2/transaction.c:1243 __ext4_journal_get_write_access+0x252/0x6a0 fs/ext4/ext4_jbd2.c:241 ext4_reserve_inode_write+0x271/0x360 fs/ext4/inode.c:5711 __ext4_mark_inode_dirty+0x1db/0x870 fs/ext4/inode.c:5885 ext4_dirty_inode+0xca/0x110 fs/ext4/inode.c:5922 __mark_inode_dirty+0x305/0xd90 fs/fs-writeback.c:2430 mark_inode_dirty include/linux/fs.h:2154 [inline] generic_write_end+0x15c/0x170 fs/buffer.c:2320 ext4_da_write_end+0x837/0xb40 fs/ext4/inode.c:2988 generic_perform_write+0x419/0x630 mm/filemap.c:3934 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1df/0x1b10 do_iter_write+0x84f/0xde0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:739 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1145 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1091 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1197 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1316 [inline] __se_sys_sendfile64+0x100/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x44fff9 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 b4 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe82a13a0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000044fff9 RDX: 0000000020000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: 00008080fffffffe R11: 0000000000000246 R12: 00000000004e2078 R13: 00007fe82a13a674 R14: 00000000004a242f R15: 000000000051bfa0 sched: RT throttling activated