rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3681/1:b..l P144/1:b..l
(detected by 0, t=10502 jiffies, g=5869, q=175)
task:kworker/u4:1 state:R running task stack:20384 pid: 144 ppid: 2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-8:0)
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549
preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
_raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
__test_set_page_writeback+0x8ab/0xf10 mm/page-writeback.c:2881
ext4_bio_write_page+0x2b3/0x1f80
mpage_submit_page+0x18d/0x230 fs/ext4/inode.c:2112
mpage_map_and_submit_buffers fs/ext4/inode.c:2360 [inline]
mpage_map_and_submit_extent fs/ext4/inode.c:2499 [inline]
ext4_writepages+0x204f/0x3d10 fs/ext4/inode.c:2828
do_writepages+0x481/0x730 mm/page-writeback.c:2386
__writeback_single_inode+0x15b/0xe30 fs/fs-writeback.c:1647
writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930
__writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:2001
wb_writeback+0x465/0xc50 fs/fs-writeback.c:2106
wb_check_old_data_flush fs/fs-writeback.c:2206 [inline]
wb_do_writeback fs/fs-writeback.c:2259 [inline]
wb_workfn+0xc55/0x1130 fs/fs-writeback.c:2288
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
task:kworker/u4:7 state:R running task stack:20824 pid: 3681 ppid: 2 flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777
irqentry_exit+0x53/0x80 kernel/entry/common.c:432
asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:643
RIP: 0010:rcu_is_watching+0x6a/0xa0 kernel/rcu/tree.c:1125
Code: 48 c7 c3 c8 b2 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 1a 8b 03 65 ff 0d 35 56 97 7e 74 08 24 01 5b 41 5e <41> 5f c3 e8 16 73 95 ff eb f1 89 d9 80 e1 07 80 c1 03 38 c1 7c da
RSP: 0018:ffffc90002e77b80 EFLAGS: 00000202
RAX: 0000000000014601 RBX: 0000000000000001 RCX: ffff88807c85d940
RDX: ffff88807c85d940 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460
RBP: 0000000000000001 R08: ffffffff8a11c089 R09: fffffbfff20e2419
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801ddd17a0
R13: ffff88801ddd0c80 R14: ffff8881471a9d50 R15: dffffc0000000000
rcu_read_unlock include/linux/rcupdate.h:768 [inline]
batadv_nc_process_nc_paths+0x247/0x350 net/batman-adv/network-coding.c:703
batadv_nc_worker+0x4cf/0x5b0 net/batman-adv/network-coding.c:739
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
rcu: rcu_preempt kthread timer wakeup didn't happen for 10543 jiffies! g5869 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=2399
rcu: rcu_preempt kthread starved for 10549 jiffies! g5869 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27352 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
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: 3831 Comm: syz.4.49 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:lock_is_held_type+0x11b/0x180 kernel/locking/lockdep.c:5668
Code: 48 c7 c7 a0 3d 8b 8a e8 83 11 00 00 b8 ff ff ff ff 65 0f c1 05 36 28 ce 75 83 f8 01 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b
RSP: 0018:ffffc90000dd0d18 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff888021390000
RDX: ffff888021390000 RSI: ffffffff8a8b3da0 RDI: ffffffff8ad904c0
RBP: 0000000000000001 R08: ffffffff816f66db R09: fffffbfff1bd2c16
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000046
R13: ffff888021390000 R14: 00000000ffffffff R15: ffff8880b912a218
FS: 00007f30facdb6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32e1dff8 CR3: 000000006181a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:287 [inline]
__run_hrtimer kernel/time/hrtimer.c:1654 [inline]
__hrtimer_run_queues+0x2f1/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 51 67 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4e ed 24 f7 48 89 df e8 26 41 26 f7 e8 f1 f4 48 f7 fb bf 01 00 00 00 06 87 19 f7 65 8b 05 87 89 c4 75 85 c0 74 02 5b c3 e8 54 a6 c2
RSP: 0018:ffffc90003227bc0 EFLAGS: 00000282
RAX: 4400825a92adf700 RBX: ffff88807be91bc0 RCX: ffffffff96868f03
RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff8186db50 R09: ffffed100f7d2379
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021
R13: dffffc0000000000 R14: ffff88807be92058 R15: ffff88807be91bc0
spin_unlock_irq include/linux/spinlock.h:413 [inline]
get_signal+0x13ee/0x14e0 kernel/signal.c:2900
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f30fc8a4ff7
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:00007f30facdb0e8 EFLAGS: 00000246
RAX: 00000000000000ca RBX: 00007f30fca5d138 RCX: 00007f30fc8a4ff9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f30fca5d138
RBP: 00007f30fca5d130 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30fca5d13c
R13: 0000000000000000 R14: 00007fff2a734e40 R15: 00007fff2a734f28