rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P15645/1:b..l rcu: (detected by 1, t=10503 jiffies, g=103889, q=437 ncpus=2) task:syz-executor.3 state:R running task stack:25584 pid:15645 tgid:15640 ppid:13220 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758 Code: 2b 00 74 08 4c 89 f7 e8 ba 7f 89 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 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 RSP: 0018:ffffc9000337f080 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200066fe1c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcacc00 RDI: ffffffff8c1ff240 RBP: ffffc9000337f1d8 R08: ffffffff92fa8587 R09: 1ffffffff25f50b0 R10: dffffc0000000000 R11: fffffbfff25f50b1 R12: 1ffff9200066fe18 R13: dffffc0000000000 R14: ffffc9000337f0e0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] page_ext_get+0x3d/0x2a0 mm/page_ext.c:521 __page_table_check_zero+0xb1/0x340 mm/page_table_check.c:142 page_table_check_alloc include/linux/page_table_check.h:33 [inline] post_alloc_hook+0x206/0x230 mm/page_alloc.c:1469 prep_new_page mm/page_alloc.c:1476 [inline] get_page_from_freelist+0x2e2d/0x2ee0 mm/page_alloc.c:3402 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4660 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2336 [inline] folio_alloc_noprof+0x128/0x180 mm/mempolicy.c:2343 filemap_alloc_folio_noprof+0xdf/0x500 mm/filemap.c:1008 __filemap_get_folio+0x413/0xbb0 mm/filemap.c:1950 ext4_da_write_begin+0x5c9/0xa70 fs/ext4/inode.c:2885 generic_perform_write+0x324/0x640 mm/filemap.c:4015 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1de/0x1a10 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xc90 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+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b0727cee9 RSP: 002b:00007f8b07f130c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8b073b4050 RCX: 00007f8b0727cee9 RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f8b072da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8b073b4050 R15: 00007ffe1f595b88 rcu: rcu_preempt kthread starved for 10430 jiffies! g103889 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15651 Comm: syz-executor.4 Not tainted 6.10.0-rc2-syzkaller-00022-g32f88d65f01b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:memset+0xf/0x20 arch/x86/lib/memset_64.S:37 Code: 44 88 1f e9 1e d1 29 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 e9 f2 d0 29 00 0f 1f 80 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffc90004277740 EFLAGS: 00000202 RAX: ffffc90004277b00 RBX: ffffc90004277858 RCX: 000000000000000f RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90004277871 RBP: ffffc90004277868 R08: ffffc9000427787f R09: ffffc90004277870 R10: dffffc0000000000 R11: fffff5200084ef10 R12: ffffc90004277be0 R13: dffffc0000000000 R14: ffffc90004277870 R15: 1ffff9200084ef04 FS: 00007ff8617da6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000ac0 CR3: 000000005c3c8000 CR4: 0000000000350ef0 Call Trace: unwind_next_frame+0x13ab/0x2a00 arch/x86/kernel/unwind_orc.c:592 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2565 __slab_free+0x31b/0x3d0 mm/slub.c:4347 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:378 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4121 [inline] __kmalloc_noprof+0x1f9/0x400 mm/slub.c:4134 kmalloc_noprof include/linux/slab.h:664 [inline] kmalloc_array_noprof include/linux/slab.h:699 [inline] __do_sys_futex_waitv kernel/futex/syscalls.c:308 [inline] __se_sys_futex_waitv+0x192/0x5e0 kernel/futex/syscalls.c:290 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:0x7ff860a7cee9 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:00007ff8617da0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001c1 RAX: ffffffffffffffda RBX: 00007ff860bb3f80 RCX: 00007ff860a7cee9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020000ac0 RBP: 00007ff860ada6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff860bb3f80 R15: 00007ffc32458758