rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5098/1:b..l P5456/1:b..l rcu: (detected by 0, t=10502 jiffies, g=8421, q=692 ncpus=2) task:syz.2.83 state:R running task stack:23792 pid:5456 tgid:5446 ppid:5094 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6748 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7070 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 fa 4b 86 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:ffffc90009b974c0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92001372ea4 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcacdc0 RDI: ffffffff8c1f5560 RBP: ffffc90009b97608 R08: ffffffff92f7c5c7 R09: 1ffffffff25ef8b8 R10: dffffc0000000000 R11: fffffbfff25ef8b9 R12: 1ffff92001372ea0 R13: dffffc0000000000 R14: ffffc90009b97520 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:839 [inline] mt_find+0x247/0x850 lib/maple_tree.c:6933 find_vma+0xf9/0x170 mm/mmap.c:1948 lock_mm_and_find_vma+0x5f/0x2f0 mm/memory.c:5779 do_user_addr_fault arch/x86/mm/fault.c:1361 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x1bf/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 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 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90009b97958 EFLAGS: 00050206 RAX: ffff88801294c001 RBX: 000000002015fe80 RCX: 0000000000000e80 RDX: 0000000000000000 RSI: ffff88801294c180 RDI: 000000002015f000 RBP: ffffc90009b97ad8 R08: ffff88801294cfff R09: 1ffff110025299ff R10: dffffc0000000000 R11: ffffed1002529a00 R12: dffffc0000000000 R13: 1ffff92001372f40 R14: 0000000000001000 R15: ffff88801294c000 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [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+0x4c0/0x1960 lib/iov_iter.c:185 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:362 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 mm/process_vm_access.c:216 [inline] process_vm_rw+0x871/0xcf0 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+0xe0/0x100 mm/process_vm_access.c:292 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:0x7fe25e375a19 RSP: 002b:00007fe25ddff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007fe25e504038 RCX: 00007fe25e375a19 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 0000000000000020 RBP: 00007fe25e3e4e49 R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe25e504038 R15: 00007fffb9f54fa8 task:syz-executor state:R running task stack:18864 pid:5098 tgid:5098 ppid:5079 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6748 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6927 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6951 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1179 [inline] copy_pmd_range+0x7aa1/0x84c0 mm/memory.c:1240 copy_pud_range mm/memory.c:1277 [inline] copy_p4d_range mm/memory.c:1301 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1399 dup_mmap kernel/fork.c:745 [inline] dup_mm kernel/fork.c:1668 [inline] copy_mm+0x11ea/0x1f30 kernel/fork.c:1717 copy_process+0x187a/0x3dc0 kernel/fork.c:2370 kernel_clone+0x223/0x870 kernel/fork.c:2777 __do_sys_clone kernel/fork.c:2920 [inline] __se_sys_clone kernel/fork.c:2904 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2904 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:0x7fa94c36c313 RSP: 002b:00007ffc75bbcdd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa94c36c313 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055557920e7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10202 jiffies! g8421 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:24176 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6840 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:111 sched: RT throttling activated