rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (6 ticks this GP) idle=b2a4/1/0x4000000000000000 softirq=17455/17458 fqs=0 (detected by 1, t=10506 jiffies, g=23745, q=21 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6504 Comm: kworker/u4:23 Not tainted 6.2.0-rc8-syzkaller-00015-gf6feea56f66d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: bat_events batadv_tt_purge RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 54 a6 c6 0c 48 89 de 5b e9 63 68 54 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d e0 d5 77 7e 65 8b 15 e1 d5 77 RSP: 0018:ffffc90000007cb0 EFLAGS: 00000087 RAX: 0000000000000000 RBX: ffff88802971ffa0 RCX: ffff88807ba51d40 RDX: 0000000000010201 RSI: ffffffff8b3822e0 RDI: ffffffff8b3822a0 RBP: ffff88802971ff80 R08: ffffffff8896c9da R09: ffffed100f776e2c R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bbb7360 R13: ffff88807bbb7000 R14: dffffc0000000000 R15: 180f4815301e902a FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb3502c718 CR3: 0000000059a61000 CR4: 00000000003506f0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release+0x5/0x30 include/linux/rcupdate.h:329 rcu_read_unlock include/linux/rcupdate.h:797 [inline] advance_sched+0x73c/0x8a0 net/sched/sch_taprio.c:755 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x65d/0x1000 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x193/0x680 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__local_bh_disable_ip+0x19d/0x220 kernel/softirq.c:341 Code: f7 e8 c7 c4 17 00 85 c0 74 0a 45 31 f6 31 ff e8 b9 c4 17 00 65 48 8b 1d b1 18 af 7e 48 81 c3 28 14 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 e4 7f 8c 00 4c 89 33 48 c7 44 24 RSP: 0018:ffffc9000364fa40 EFLAGS: 00000a06 RAX: 1ffff1100f74a62d RBX: ffff88807ba53168 RCX: ffffffff8ab05100 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000 RBP: ffffc9000364fb20 R08: dffffc0000000000 R09: fffffbfff203844d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920006c9f4c R14: 0000000000000000 R15: 0000000000000201 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x1c/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] batadv_tt_local_purge+0x107/0x340 net/batman-adv/translation-table.c:1355 batadv_tt_purge+0x35/0xa40 net/batman-adv/translation-table.c:3561 process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289 worker_thread+0xa63/0x1210 kernel/workqueue.c:2436 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g23745 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=11375 rcu: rcu_preempt kthread starved for 10506 jiffies! g23745 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:26968 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x1409/0x43f0 kernel/sched/core.c:6606 schedule+0xc3/0x190 kernel/sched/core.c:6682 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1656 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1855 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 8403 Comm: syz-executor.3 Not tainted 6.2.0-rc8-syzkaller-00015-gf6feea56f66d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f7a/0x3400 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 32 38 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 6d 34 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc9000bbe75e0 EFLAGS: 00000246 RAX: ffffffff81809e05 RBX: 1ffff1101730872d RCX: 0000000000040000 RDX: ffffc90004283000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000bbe79b0 R08: ffffffff81809dce R09: ffffed1017327853 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b9843968 FS: 00007fd94681b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30724000 CR3: 0000000017f4c000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x840/0x910 kernel/time/hrtimer.c:974 timekeeping_inject_offset+0x663/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1118 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1130 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1121 [inline] __x64_sys_clock_adjtime+0x1e0/0x290 kernel/time/posix-timers.c:1121 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd945a8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd94681b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fd945babf80 RCX: 00007fd945a8c0f9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fd945ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd925ad90f R14: 00007fd94681b300 R15: 0000000000022000