rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6868/1:b..l rcu: (detected by 0, t=10502 jiffies, g=19105, q=170 ncpus=2) task:syz-executor.5 state:R running task stack:26512 pid:6868 tgid:6867 ppid:5107 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7008 irqentry_exit+0x5a/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:page_ext_put+0x5/0xb0 mm/page_ext.c:529 Code: 5b 41 5c 41 5e 41 5f 5d c3 e8 a7 b7 98 ff e9 e0 fe ff ff e8 9d b7 98 ff 90 0f 0b 90 e9 0e ff ff ff 0f 1f 40 00 66 0f 1f 00 53 <48> 89 fb e8 83 b7 98 ff 48 85 db 0f 84 93 00 00 00 e8 45 e1 21 09 RSP: 0018:ffffc90014217330 EFLAGS: 00000282 RAX: ffffffff81f43c07 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000978a000 RSI: 00000000000060f8 RDI: ffff88801749b370 RBP: ffffc900142175f0 R08: ffff88801749b377 R09: 1ffff11002e9366e R10: dffffc0000000000 R11: ffffed1002e9366f R12: 0000000000000001 R13: 0000000000000001 R14: ffffea0002289f80 R15: 0000000000000000 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1e6/0x210 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1544 [inline] get_page_from_freelist+0x33ea/0x3570 mm/page_alloc.c:3312 __alloc_pages+0x255/0x680 mm/page_alloc.c:4568 alloc_pages_mpol+0x3de/0x640 mm/mempolicy.c:2133 shmem_alloc_folio mm/shmem.c:1630 [inline] shmem_alloc_and_add_folio+0x24f/0xde0 mm/shmem.c:1670 shmem_get_folio_gfp+0x7c3/0x1ee0 mm/shmem.c:2054 shmem_get_folio mm/shmem.c:2136 [inline] shmem_write_begin+0x170/0x4c0 mm/shmem.c:2719 generic_perform_write+0x31b/0x630 mm/filemap.c:3918 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2895 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7faa1e67ba2f RSP: 002b:00007faa1f447e70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007faa1e67ba2f RDX: 0000000000040000 RSI: 00007faa14dff000 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000004d3 R10: 00000000000007be R11: 0000000000000293 R12: 0000000000000009 R13: 00007faa1f447f3c R14: 00007faa1f447f40 R15: 00007faa14dff000 rcu: rcu_preempt kthread starved for 10548 jiffies! g19105 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:25552 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x30a/0x1500 kernel/rcu/tree.c:1631 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1830 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 6862 Comm: syz-executor.3 Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:finish_task_switch+0x1ea/0x850 kernel/sched/core.c:5250 Code: c9 50 e8 c9 80 0b 00 48 83 c4 08 4c 89 f7 e8 8d 35 00 00 0f 1f 44 00 00 4c 89 f7 e8 d0 87 c0 09 e8 6b ab 33 00 fb 48 8b 5d c0 <48> 8d bb d8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc9001437f1e8 EFLAGS: 00000282 RAX: 466b23667b3ad900 RBX: ffff888028840000 RCX: ffffffff816d951a RDX: dffffc0000000000 RSI: ffffffff8b6aa4c0 RDI: ffffffff8bbddfe0 RBP: ffffc9001437f230 R08: ffffffff90dd7407 R09: 1ffffffff21bae80 R10: dffffc0000000000 R11: fffffbfff21bae81 R12: dffffc0000000000 R13: 1ffff11017307a17 R14: ffff8880b983c340 R15: ffff8880b983d0b8 FS: 00007f4f087976c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020d97030 CR3: 00000000299ed000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5379 [inline] __schedule+0x1969/0x4ab0 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7008 irqentry_exit+0x5a/0x80 kernel/entry/common.c:432 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:656 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x80 kernel/kcov.c:312 Code: 89 11 48 c7 44 0a 08 05 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 0f 1e fa 4c 8b 04 24 65 48 8b 0d 50 3a 75 7e 65 8b 05 51 3a 75 RSP: 0018:ffffc9001437f5d8 EFLAGS: 00000246 RAX: 1ffff11010367181 RBX: 0000000000000000 RCX: ffffffff89c15579 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9001437f710 R08: ffff888081b38c0f R09: 1ffff11010367181 R10: dffffc0000000000 R11: ffffed1010367182 R12: 1ffff9200286fec4 R13: ffffc9001437f7e0 R14: ffff888081b38c08 R15: dffffc0000000000 __scm_recv_common include/net/scm.h:166 [inline] scm_recv_unix+0x7fe/0xac0 include/net/scm.h:202 __unix_dgram_recvmsg+0xcaf/0x12c0 net/unix/af_unix.c:2465 sock_recvmsg_nosec+0x86/0xd0 net/socket.c:1044 ____sys_recvmsg+0x483/0x580 net/socket.c:2801 ___sys_recvmsg net/socket.c:2845 [inline] do_recvmmsg+0x474/0xae0 net/socket.c:2939 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0x199/0x240 net/socket.c:3034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4f07a7cce9 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:00007f4f087970c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f4f07b9c050 RCX: 00007f4f07a7cce9 RDX: 00000000040002db RSI: 0000000020000740 RDI: 0000000000000003 RBP: 00007f4f07ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f4f07b9c050 R15: 00007ffdd3d26258