rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (0 ticks this GP) idle=a374/1/0x4000000000000000 softirq=38358/38358 fqs=0
rcu: (detected by 1, t=10502 jiffies, g=29293, q=337 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9620 Comm: syz.1.803 Not tainted 6.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5566 [inline]
RIP: 0010:lock_is_held_type+0xab/0x190 kernel/locking/lockdep.c:5897
Code: 74 41 83 bd d8 0a 00 00 00 7e 47 4c 89 eb 48 81 c3 e0 0a 00 00 31 ed 48 83 fd 31 73 24 48 89 df 4c 89 fe e8 77 02 00 00 85 c0 <75> 2a 48 ff c5 49 63 85 d8 0a 00 00 48 83 c3 28 48 39 c5 7c d8 eb
RSP: 0018:ffffc90000007c48 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff88802faa28e0 RCX: ffff88802faa1e00
RDX: ffff88802faa1e00 RSI: ffff8880340f5300 RDI: ffff88802faa28e0
RBP: 0000000000000000 R08: ffffffff89ccd06b R09: fffff52000000f80
R10: dffffc0000000000 R11: fffff52000000f80 R12: 0000000000000046
R13: ffff88802faa1e00 R14: 00000000ffffffff R15: ffff8880340f5300
FS: 00007f8558cce6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30cf5ff8 CR3: 0000000052822000 CR4: 0000000000350ef0
Call Trace:
lock_is_held include/linux/lockdep.h:249 [inline]
advance_sched+0x1c2/0xca0 net/sched/sch_taprio.c:929
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1755
hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
__sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:unwind_next_frame+0xb4/0x22d0 arch/x86/kernel/unwind_orc.c:482
Code: 18 00 00 89 84 24 84 00 00 00 48 89 6c 24 78 48 89 8c 24 90 00 00 00 48 89 5c 24 20 bf 01 00 00 00 e8 80 d7 21 00 49 8d 6d 50 <48> 89 e8 48 c1 e8 03 48 89 44 24 38 42 80 3c 20 00 74 08 48 89 ef
RSP: 0018:ffffc9000b266e90 EFLAGS: 00000246
RAX: 1ffff11005f54659 RBX: 1ffff9200164cdec RCX: ffffffff8bd16a00
RDX: dffffc0000000000 RSI: ffffffff81da1c19 RDI: ffffffff814156e0
RBP: ffffc9000b266fb0 R08: 0000000000000009 R09: ffffc9000b267050
R10: dffffc0000000000 R11: ffffffff81809270 R12: dffffc0000000000
R13: ffffc9000b266f60 R14: ffffffff81da1c19 R15: 0000000000000000
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__set_page_owner+0x92/0x800 mm/page_owner.c:320
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1541
prep_new_page mm/page_alloc.c:1549 [inline]
get_page_from_freelist+0x3649/0x3790 mm/page_alloc.c:3459
__alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4735
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
folio_alloc_mpol_noprof+0x36/0x50 mm/mempolicy.c:2283
shmem_alloc_folio mm/shmem.c:1771 [inline]
shmem_alloc_and_add_folio+0x49b/0x13d0 mm/shmem.c:1810
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2332
shmem_get_folio mm/shmem.c:2438 [inline]
shmem_write_begin+0x17e/0x460 mm/shmem.c:3040
generic_perform_write+0x346/0x6d0 mm/filemap.c:4054
shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3215
new_sync_write fs/read_write.c:590 [inline]
vfs_write+0xaed/0xd30 fs/read_write.c:683
ksys_write+0x183/0x2b0 fs/read_write.c:736
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:0x7f8557f7d1ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48
RSP: 002b:00007f8558ccddf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f8557f7d1ff
RDX: 0000000001000000 RSI: 00007f854de00000 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000559d
R10: 0000000020005682 R11: 0000000000000293 R12: 0000000000000005
R13: 00007f8558ccdef0 R14: 00007f8558ccdeb0 R15: 00007f854de00000
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g29293 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=25157
rcu: rcu_preempt kthread starved for 10502 jiffies! g29293 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25920 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x184f/0x4c30 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247
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