rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7101/1:b..l P7116/1:b..l rcu: (detected by 0, t=10502 jiffies, g=26053, q=1258 ncpus=2) task:modprobe state:R running task stack:24992 pid:7116 tgid:7116 ppid:7112 flags:0x00000000 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:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:384 [inline] RIP: 0010:__rcu_read_unlock+0x34/0x110 kernel/rcu/tree_plugin.h:423 Code: 55 41 54 53 49 bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 c0 d4 03 00 4d 8d ae 44 04 00 00 4c 89 eb 48 c1 eb 03 42 0f b6 04 23 <84> c0 75 6b 41 8b 6d 00 ff cd 42 0f b6 04 23 84 c0 75 76 41 89 6d RSP: 0018:ffffc90004b6fe08 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 1ffff11005d6d088 RCX: ffffc90004b6fd03 RDX: 0000000000000000 RSI: ffffffff8bcacd00 RDI: ffffffff8c1feb80 RBP: 0000000000000000 R08: ffffffff8fad4d2f R09: 1ffffffff1f5a9a5 R10: dffffc0000000000 R11: fffffbfff1f5a9a6 R12: dffffc0000000000 R13: ffff88802eb68444 R14: ffff88802eb68000 R15: ffff88802c8b4c80 rcu_read_unlock include/linux/rcupdate.h:814 [inline] __fget_files+0x3f6/0x470 fs/file.c:1037 ksys_mmap_pgoff+0x23b/0x720 mm/mmap.c:1414 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:0x7f8efda8db74 RSP: 002b:00007ffcee79abd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffcee79ac50 RCX: 00007f8efda8db74 RDX: 0000000000000001 RSI: 0000000000028000 RDI: 00007f8efda3e000 RBP: 00007ffcee79af40 R08: 0000000000000000 R09: 0000000000097000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f8efda6a0c0 R13: 00007ffcee79afc8 R14: 0000000000096066 R15: 0000000000000000 task:modprobe state:R running task stack:22848 pid:7101 tgid:7101 ppid:5238 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 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] change_pte_range mm/mprotect.c:290 [inline] change_pmd_range mm/mprotect.c:424 [inline] change_pud_range mm/mprotect.c:457 [inline] change_p4d_range mm/mprotect.c:480 [inline] change_protection_range mm/mprotect.c:508 [inline] change_protection+0x305b/0x3d40 mm/mprotect.c:542 mprotect_fixup+0x740/0xa90 mm/mprotect.c:655 do_mprotect_pkey+0x908/0xe00 mm/mprotect.c:820 __do_sys_mprotect mm/mprotect.c:841 [inline] __se_sys_mprotect mm/mprotect.c:838 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:838 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:0x7fa9ff066bb7 RSP: 002b:00007ffc17819cd8 EFLAGS: 00000246 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00000fff82f0339c RCX: 00007fa9ff066bb7 RDX: 0000000000000000 RSI: 000000000001c000 RDI: 00007fa9fed9f000 RBP: 00007ffc1781a0b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000246 R12: 00007fa9ff043fc0 R13: 00007ffc1781a138 R14: fffffffffffff000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10381 jiffies! g26053 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:24912 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1240 Comm: aoe_tx0 Not tainted 6.10.0-rc4-syzkaller-00330-g7c16f0a4ed1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kasan_check_range+0xc/0x290 mm/kasan/generic.c:188 Code: 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 41 54 53 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 RSP: 0018:ffffc90004857950 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81728c40 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fad4d28 RBP: ffffc90004857ac0 R08: ffffffff8f62c727 R09: 1ffffffff1ec58e4 R10: dffffc0000000000 R11: fffffbfff1ec58e5 R12: 1ffff9200090af3c R13: ffffffff89576dba R14: ffffffff8f62c5c0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000147a3f8 CR3: 000000000e132000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:571 [inline] cpu_online include/linux/cpumask.h:1181 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0x9f0 kernel/locking/lockdep.c:5765 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] __dev_xmit_skb net/core/dev.c:3880 [inline] __dev_queue_xmit+0x15ba/0x3d30 net/core/dev.c:4359 dev_queue_xmit include/linux/netdevice.h:3095 [inline] tx+0x6b/0x180 drivers/block/aoe/aoenet.c:62 kthread+0x23c/0x450 drivers/block/aoe/aoecmd.c:1229 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