rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4978/1:b..l..
rcu: (detected by 0, t=10502 jiffies, g=314217, q=971 ncpus=1)
task:udevd state:R running task stack:23400 pid:4978 tgid:4978 ppid:1 task_flags:0x400140 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x1b47/0x5b40 kernel/sched/core.c:7387
preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7667
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline]
irqentry_exit+0x14f/0x9b0 kernel/entry/common.c:154
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:lock_acquire+0x232/0x350 kernel/locking/lockdep.c:5947
Code: ff ff ff e8 50 f4 66 0a f7 44 24 10 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 62 5e 3f 13 48 3b 44 24 50 75 33 fb 48 83 c4 58 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 ff 08 6a 0a cc 48 8d 3d e7 cc 1c
RSP: 0018:ffffc90002e1f1c0 EFLAGS: 00000296
RAX: 9a2d0b0a077cf700 RBX: 0000000000000000 RCX: 0000000000000046
RDX: 00000000a3126366 RSI: ffffffff8ea425cb RDI: ffffffff8c8fcf80
RBP: ffff88807e5bbe80 R08: ffffffff817889cf R09: 0000000000000000
R10: ffffc90002e1f2f8 R11: ffffffff81b3bb50 R12: ffffffff9015a6e0
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
save_stack+0x122/0x230 mm/page_owner.c:183
__reset_page_owner+0x73/0x2a0 mm/page_owner.c:338
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1403 [inline]
__free_frozen_pages+0xc97/0xd90 mm/page_alloc.c:2954
__slab_free+0x269/0x2c0 mm/slub.c:5926
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_kmalloc+0x22/0xb0 mm/kasan/common.c:417
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_noprof+0x366/0x710 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
tomoyo_encode2 security/tomoyo/realpath.c:45 [inline]
tomoyo_encode+0x2ad/0x570 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x5fa/0x640 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x283/0x560 security/tomoyo/file.c:827
security_inode_getattr+0x12b/0x310 security/security.c:1917
vfs_getattr+0x23/0x70 fs/stat.c:263
vfs_statx_path+0x2b/0x230 fs/stat.c:303
vfs_statx+0x12e/0x200 fs/stat.c:360
vfs_fstatat+0x11b/0x170 fs/stat.c:377
__do_sys_newfstatat fs/stat.c:542 [inline]
__se_sys_newfstatat+0x118/0x3a0 fs/stat.c:536
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0163111b0a
RSP: 002b:00007ffc1966f108 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 000056287248a418 RCX: 00007f0163111b0a
RDX: 00007ffc1966f110 RSI: 0000562872478ef3 RDI: 00000000ffffff9c
RBP: 00005628a11b7198 R08: 00065e41af7285f5 R09: 3fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc1966f110 R14: 0000000000000000 R15: 00065e41af7285f5
rcu: rcu_preempt kthread starved for 377 jiffies! g314217 f0x0 RCU_GP_WAIT_FQS(5) ->state=R ->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:27368 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x1b47/0x5b40 kernel/sched/core.c:7387
__schedule_loop kernel/sched/core.c:7464 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7479
schedule_timeout+0x152/0x2c0 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x30c/0x1230 kernel/rcu/tree.c:2122
rcu_gp_kthread+0x9c/0x340 kernel/rcu/tree.c:2330
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 3226 Comm: kworker/R-bat_e Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: bat_events batadv_dat_purge
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221
Code: f7 e8 cd e8 96 f5 f7 c3 00 02 00 00 74 05 e8 f0 84 c3 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 74 db 87 f5 65 48 8b 05 6c 9f d5 08 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc90000007b48 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000246 RCX: 8000000000000102
RDX: 0000000000000002 RSI: ffffffff8e7b5ec0 RDI: 0000000000000001
RBP: ffffc90000007e48 R08: ffffffff91bdc4bf R09: 1ffffffff237b897
R10: dffffc0000000000 R11: fffffbfff237b898 R12: 0000000000000246
R13: dffffc0000000000 R14: ffff888027bc8000 R15: ffff88802b12b410
FS: 0000000000000000(0000) GS:ffff8881233e7000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a96c150d51 CR3: 0000000068d88000 CR4: 00000000003526f0
Call Trace:
spin_unlock_irqrestore include/linux/spinlock.h:425 [inline]
dummy_timer+0x4948/0x4cc0 drivers/usb/gadget/udc/dummy_hcd.c:-1
__run_hrtimer kernel/time/hrtimer.c:2075 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2132
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2149
handle_softirqs+0x223/0x840 kernel/softirq.c:645
do_softirq+0x77/0xd0 kernel/softirq.c:546
__local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473
spin_unlock_bh include/linux/spinlock.h:407 [inline]
__batadv_dat_purge net/batman-adv/distributed-arp-table.c:252 [inline]
batadv_dat_purge+0x2d7/0x3c0 net/batman-adv/distributed-arp-table.c:271
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
rescuer_thread+0x84a/0x12a0 kernel/workqueue.c:3803
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245