rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7964/2:b..l P14669/1:b..l P14671/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=80677, q=668 ncpus=2)
task:syz-executor.1 state:R running task stack:26840 pid:14671 tgid:14671 ppid:13799 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068
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:mt_validate_nulls lib/maple_tree.c:7552 [inline]
RIP: 0010:mt_validate+0x44e2/0x4aa0 lib/maple_tree.c:7599
Code: b6 04 08 84 c0 0f 85 34 03 00 00 44 0f b6 3b 4c 8b 64 24 40 45 0f b6 f7 48 8b 5c 24 60 89 df 44 89 f6 e8 11 fd 1f f6 44 38 f3 <0f> 85 9e 00 00 00 48 8d bc 24 e0 00 00 00 4c 89 ee 48 c7 c2 ff ff
RSP: 0018:ffffc9000e2df620 EFLAGS: 00000297
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888065f23c00
RDX: ffff888065f23c00 RSI: 000000000000000e RDI: 0000000000000001
RBP: ffffc9000e2df810 R08: ffffffff8b76142f R09: ffffffff8b7612c5
R10: 0000000000000003 R11: ffff888065f23c00 R12: 1ffff92001c5bee7
R13: ffff888024148600 R14: 000000000000000e R15: 000000000000000e
validate_mm+0xe7/0x530 mm/mmap.c:288
vma_expand+0x786/0xae0 mm/mmap.c:669
mmap_region+0xcc3/0x1e50 mm/mmap.c:2793
do_mmap+0x7af/0xe60 mm/mmap.c:1385
vm_mmap_pgoff+0x1e3/0x420 mm/util.c:573
ksys_mmap_pgoff+0x504/0x6e0 mm/mmap.c:1431
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4b9b47dce3
RSP: 002b:00007fff42455c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000600000 RCX: 00007f4b9b47dce3
RDX: 0000000000000003 RSI: 00000000005c0000 RDI: 0000001b30860000
RBP: 0000001b30860000 R08: 0000000000000004 R09: 0000000000040000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
task:syz-executor.2 state:R running task stack:27064 pid:14669 tgid:14667 ppid:5104 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068
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 aa 2c 88 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: 0000:ffffc90009acfc40 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001359f94 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcaca20 RDI: ffffffff8c1f8020
RBP: ffffc90009acfd88 R08: ffffffff92f35507 R09: 1ffffffff25e6aa0
R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: 1ffff92001359f90
R13: dffffc0000000000 R14: ffffc90009acfca0 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
rcu_read_lock include/linux/rcupdate.h:781 [inline]
count_memcg_event_mm+0xb1/0x420 include/linux/memcontrol.h:1117
mm_account_fault mm/memory.c:5475 [inline]
handle_mm_fault+0x4cc/0x8a0 mm/memory.c:5622
do_user_addr_fault arch/x86/mm/fault.c:1362 [inline]
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x446/0x8e0 arch/x86/mm/fault.c:1563
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fc4b4e298e6
RSP: 002b:00007fc4b49fe530 EFLAGS: 00010206
RAX: 000000000007e001 RBX: 00007fc4b49fe5d0 RCX: 0000000000000054
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fc4b49fe670
RBP: 0000000000000102 R08: 00007fc4aac00000 R09: 000000000007e000
R10: 0000000000000000 R11: 00007fc4b49fe5e0 R12: 0000000000000001
R13: 00007fc4b4eebe80 R14: 0000000000000000 R15: 00007fc4b49fe670
task:syz-executor.0 state:R running task stack:19344 pid:7964 tgid:7964 ppid:7937 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068
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 aa 2c 88 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:ffffc90004cb6fe0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000996e08 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcaca20 RDI: ffffffff8c1f8020
RBP: ffffc90004cb7128 R08: ffffffff92f35507 R09: 1ffffffff25e6aa0
R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: 1ffff92000996e04
R13: dffffc0000000000 R14: ffffc90004cb7040 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
rcu_read_lock include/linux/rcupdate.h:781 [inline]
is_bpf_text_address+0x42/0x2b0 kernel/bpf/core.c:767
kernel_text_address+0xa7/0xe0 kernel/extable.c:125
__kernel_text_address+0xd/0x40 kernel/extable.c:79
unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26
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:302
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1141 [inline]
free_unref_page_prepare+0x986/0xab0 mm/page_alloc.c:2347
free_unref_folios+0x1f2/0xc10 mm/page_alloc.c:2536
folios_put_refs+0x93a/0xa60 mm/swap.c:1034
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x6d9/0x1df0 mm/shmem.c:1005
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x29b/0xa60 mm/shmem.c:1242
evict+0x2aa/0x630 fs/inode.c:667
__dentry_kill+0x20d/0x630 fs/dcache.c:603
dput+0x19f/0x2b0 fs/dcache.c:845
__fput+0x678/0x8a0 fs/file_table.c:430
task_work_run+0x251/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f66d027da0b
RSP: 002b:00007fffd288c320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f66d027da0b
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 00007fffd288c3dc R08: 0000000000000000 R09: 00007fffd288c0c7
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032
R13: 000000000008fde2 R14: 000000000008f4b0 R15: 0000000000000003
rcu: rcu_preempt kthread starved for 10632 jiffies! g80677 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582
rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862
kthread+0x2f2/0x390 kernel/kthread.c:388
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: 34 Comm: kworker/u8:2 Not tainted 6.9.0-rc6-syzkaller-00290-gb9158815de52 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0x1899/0x2a00 kernel/smp.c:855
Code: 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 a4 d6 0b 00 eb e4 44
RSP: 0018:ffffc90000aa76e0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff110172a8869 RCX: ffff888018688000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000aa78e0 R08: ffffffff818a39eb R09: 1ffffffff25e6aa0
R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: dffffc0000000000
R13: ffff8880b9544348 R14: ffff8880b943f7c0 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31c25000 CR3: 000000000e134000 CR4: 0000000000350ef0
Call Trace:
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2086 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296
text_poke_flush arch/x86/kernel/alternative.c:2487 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205
static_key_enable+0x1a/0x20 kernel/jump_label.c:218
toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826
process_one_work kernel/workqueue.c:3267 [inline]
process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3348
worker_thread+0x86d/0xd70 kernel/workqueue.c:3429
kthread+0x2f2/0x390 kernel/kthread.c:388
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244