rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5987/1:b..l P3518/1:b..l rcu: (detected by 0, t=10502 jiffies, g=11741, q=983 ncpus=2) task:kworker/u4:12 state:R running task stack:23384 pid:3518 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:409 [inline] RIP: 0010:batadv_nc_worker+0x183/0x610 net/batman-adv/network-coding.c:719 Code: b5 c5 8b be 14 03 00 00 48 c7 c2 20 b6 c5 8b e8 23 4b 30 f7 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 2d 9e a5 f7 <48> 8b 6d 00 48 85 ed 0f 94 c0 48 81 c5 38 fe ff ff 0f 94 c1 08 c1 RSP: 0018:ffffc9000cde7b60 EFLAGS: 00000246 RAX: 1ffff1100f8c5bb3 RBX: 0000000000000001 RCX: ffff88802dba8000 RDX: 0000000000000000 RSI: ffffffff8afc6f20 RDI: ffffffff8afc6ee0 RBP: ffff88807c62dd98 R08: dffffc0000000000 R09: 1ffffffff21b52a0 R10: dffffc0000000000 R11: fffffbfff21b52a1 R12: dffffc0000000000 R13: ffffffff8a377062 R14: ffff8880254f0c80 R15: 00000000000003b3 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 task:dhcpcd-run-hook state:R running task stack:24232 pid:5987 ppid:5458 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:lock_is_held_type+0x13e/0x190 kernel/locking/lockdep.c:5830 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc900036c7ab8 EFLAGS: 00000206 RAX: d40bbdf88c308b00 RBX: ffff888022451e00 RCX: d40bbdf88c308b00 RDX: ffff888022451e00 RSI: ffffffff8aaace60 RDI: ffffffff8afc6f40 RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff21b52a0 R10: dffffc0000000000 R11: fffffbfff21b52a1 R12: 0000000000000000 R13: 0000000000000246 R14: ffffffff8cd2fee0 R15: ffff8880224528e0 aa_file_perm+0x1f8/0xec0 security/apparmor/file.c:601 common_file_perm+0x18e/0x1f0 security/apparmor/lsm.c:522 security_file_permission+0x69/0xa0 security/security.c:2585 rw_verify_area fs/read_write.c:374 [inline] vfs_read+0x1d3/0x920 fs/read_write.c:461 ksys_read+0x147/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6b61fe1134 RSP: 002b:00007ffd87342c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffd87342cd0 RCX: 00007f6b61fe1134 RDX: 0000000000000340 RSI: 00007ffd87342ee8 RDI: 0000000000000003 RBP: 00007ffd87342cc0 R08: 00007ffd87342ec7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000340 R14: 00007ffd87342ee0 R15: 00007ffd87342ee8 rcu: rcu_preempt kthread starved for 10553 jiffies! g11741 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:I stack:27752 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_timeout+0x160/0x280 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x302/0x1560 kernel/rcu/tree.c:1667 rcu_gp_kthread+0x99/0x380 kernel/rcu/tree.c:1866 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 5989 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4a a2 ee f6 48 89 df e8 62 74 ef f6 e8 fd 1a 13 f7 fb bf 01 00 00 00 32 96 e2 f6 65 8b 05 23 cd 8a 75 85 c0 74 02 5b c3 e8 00 b3 87 RSP: 0018:ffffc900036e7c78 EFLAGS: 00000286 RAX: c659798bd2cc4800 RBX: ffff888078d13780 RCX: c659798bd2cc4800 RDX: dffffc0000000000 RSI: ffffffff8aaabce0 RDI: 0000000000000001 RBP: ffff888078d13c18 R08: ffffffff8e4a8e2f R09: 1ffffffff1c951c5 R10: dffffc0000000000 R11: fffffbfff1c951c6 R12: 1ffff1100f1a2783 R13: 0000000000000021 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fc40fd7f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000bbdffc CR3: 000000001eb82000 CR4: 00000000003506f0 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x11f5/0x1400 kernel/signal.c:2905 arch_do_signal_or_restart+0x9c/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc40ef8f747 Code: ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 05 48 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 RSP: 002b:00007fc40fd7f0e8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007fc40f1e5fa8 RCX: 00007fc40ef8f749 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc40f1e5fa8 RBP: 00007fc40f1e5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc40f1e6038 R14: 00007ffc6c81c440 R15: 00007ffc6c81c528