rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3712/1:b..l (detected by 0, t=10503 jiffies, g=7945, q=277) task:kworker/u4:12 state:R running task stack:21856 pid: 3712 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_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:debug_lockdep_rcu_enabled+0x28/0x30 kernel/rcu/update.c:280 Code: cc cc 31 c0 83 3d ab 0e b5 03 00 74 1d 83 3d 22 41 b5 03 00 74 14 65 48 8b 0d 94 1c ce 75 31 c0 83 b9 ec 0a 00 00 00 0f 94 c0 cc cc cc cc cc cc cc 41 56 53 89 fb e8 d6 0d 00 00 41 89 c6 83 RSP: 0018:ffffc9000115fbf0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff8880763a8000 RDX: 0000000000000000 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: 0000000000000001 R08: ffffffff8a114781 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000001b8 R13: dffffc0000000000 R14: ffff888075080c80 R15: ffff888141592400 rcu_read_unlock include/linux/rcupdate.h:768 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline] batadv_nc_worker+0x1ba/0x5b0 net/batman-adv/network-coding.c:723 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 starved for 10521 jiffies! g7945 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26488 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: 3982 Comm: syz.4.69 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:55 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x37/0x290 mm/kasan/generic.c:189 Code: 9a 01 00 00 48 89 fd 48 01 f5 0f 82 59 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 46 02 00 00 48 89 fb 48 c1 eb 03 <49> b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff 49 c1 ea RSP: 0018:ffffc90000dd0b38 EFLAGS: 00000802 RAX: 0000000000000001 RBX: 1ffffffff20e2419 RCX: ffffffff8162c32f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff907120c8 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff20e241a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880296fa8a8 R14: ffff8880296f9dc0 R15: ffff8880296fa8f8 FS: 00007f2c8451f6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c8451ec40 CR3: 0000000022fbd000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] __lock_acquire+0xfaf/0x1ff0 kernel/locking/lockdep.c:5008 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:103 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get_update_offsets_now+0x89/0x420 kernel/time/timekeeping.c:2303 hrtimer_update_base kernel/time/hrtimer.c:631 [inline] hrtimer_interrupt+0x12f/0x980 kernel/time/hrtimer.c:1796 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:ffffc90002d27bc0 EFLAGS: 00000282 RAX: dba36c185be28e00 RBX: ffff888075b8dc80 RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff8186db50 R09: ffffed100eb71b91 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff888075b8e118 R15: ffff888075b8dc80 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:0x7f2c860a6ef7 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:00007f2c8451f038 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f2c8625ef80 RCX: 00007f2c860a6ef9 RDX: 0000000000000000 RSI: 000080000000000b RDI: 000000002000cffc RBP: 00007f2c86119b76 R08: 0000000020048000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2c8625ef80 R15: 00007ffeffd10d38