rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5512/1:b..l rcu: (detected by 1, t=10502 jiffies, g=11577, q=931 ncpus=2) task:syz-executor.4 state:R running task stack:26176 pid:5512 tgid:5508 ppid:5095 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6727 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7047 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1f2/0x530 kernel/locking/lockdep.c:5722 Code: c1 05 7a 17 9a 7e 83 f8 01 0f 85 c4 02 00 00 9c 58 f6 c4 02 0f 85 af 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000676f3e0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000cede7e RCX: 00000000013ef04b RDX: 0000000000000001 RSI: ffffffff8accb180 RDI: ffffffff8b2f6940 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff24281e8 R10: ffffffff92140f47 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d1aca20 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] get_mem_cgroup_from_mm+0x4b/0x4c0 mm/memcontrol.c:1102 __mem_cgroup_charge+0x1c/0x140 mm/memcontrol.c:7256 mem_cgroup_charge include/linux/memcontrol.h:690 [inline] folio_prealloc mm/memory.c:1009 [inline] wp_page_copy mm/memory.c:3131 [inline] do_wp_page+0xe51/0x3750 mm/memory.c:3518 handle_pte_fault mm/memory.c:5151 [inline] __handle_mm_fault+0x1f7c/0x48f0 mm/memory.c:5276 handle_mm_fault+0x476/0xa00 mm/memory.c:5441 do_user_addr_fault+0x3cf/0x1000 arch/x86/mm/fault.c:1413 handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 85 c9 75 b3 RSP: 0018:ffffc9000676f968 EFLAGS: 00050206 RAX: 0000000000000001 RBX: 0000000000001000 RCX: 0000000000000e80 RDX: 0000000000000000 RSI: ffff888010d47180 RDI: 000000002002e000 RBP: 0000000000001000 R08: 0000000000000000 R09: ffffed10021a8fff R10: ffff888010d47fff R11: 0000000000000000 R12: 000000000002db80 R13: ffffc9000676fd60 R14: ffff888010d47000 R15: 000000002002de80 copy_user_generic arch/x86/include/asm/uaccess_64.h:109 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:130 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_iovec include/linux/iov_iter.h:51 [inline] iterate_and_advance2 include/linux/iov_iter.h:247 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x4ce/0x11e0 lib/iov_iter.c:186 copy_page_to_iter lib/iov_iter.c:381 [inline] copy_page_to_iter+0xf1/0x180 lib/iov_iter.c:368 process_vm_rw_pages mm/process_vm_access.c:45 [inline] process_vm_rw_single_vec mm/process_vm_access.c:118 [inline] process_vm_rw_core.constprop.0+0x5c9/0xa00 mm/process_vm_access.c:216 process_vm_rw+0x2fd/0x360 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe2/0x1b0 mm/process_vm_access.c:292 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f1e60c7cbe9 RSP: 002b:00007f1e619170c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007f1e60d9bf80 RCX: 00007f1e60c7cbe9 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 0000000000000042 RBP: 00007f1e60cc847a R08: 000000000000020b R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1e60d9bf80 R15: 00007ffc04100618 rcu: rcu_preempt kthread starved for 10544 jiffies! g11577 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:27888 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6817 schedule_timeout+0x136/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1830 kthread+0x2c1/0x3a0 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:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5523 Comm: syz-executor.2 Not tainted 6.7.0-rc6-next-20231220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 3a 66 d9 f6 48 89 df e8 02 de d9 f6 e8 ed c7 ff f6 fb bf 01 00 00 00 52 87 cb f6 65 8b 05 d3 c5 74 75 85 c0 74 02 5b c3 e8 20 84 71 RSP: 0018:ffffc900099c7d00 EFLAGS: 00000202 RAX: 00000000028da3d3 RBX: ffff888036b7a500 RCX: 1ffffffff1e73a79 RDX: 0000000000000000 RSI: ffffffff8accae80 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f3a0657 R11: 0000000000000001 R12: ffff888036b7a998 R13: 0000000000000021 R14: ffff888036b7a900 R15: 1ffff92001338faf FS: 00007f55a337e6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55a26d83d2 CR3: 000000001e5c6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1879/0x2760 kernel/signal.c:2896 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11e/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f55a267cbe9 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:00007f55a337e0c8 EFLAGS: 00000246 RAX: 0000000000000005 RBX: 00007f55a279c120 RCX: 00007f55a267cbe9 RDX: 000000000000275a RSI: 0000000020000300 RDI: ffffffffffffff9c RBP: 00007f55a26c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f55a279c120 R15: 00007ffe482b4d08 sched: RT throttling activated