rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=899c/1/0x4000000000000000 softirq=50703/50704 fqs=11 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5955/1:b..l rcu: (detected by 1, t=10502 jiffies, g=52933, q=334 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13593 Comm: syz.3.2453 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x86/0x290 mm/kasan/generic.c:189 Code: 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 <0f> 85 c9 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00 00 45 89 dc RSP: 0018:ffffc90000007af0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff20391a6 RCX: ffffffff8170b390 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901c8d30 RBP: ffffffffffffffff R08: ffffffff901c8d37 R09: 1ffffffff20391a6 R10: dffffc0000000000 R11: fffffbfff20391a6 R12: 1ffff92000000f70 R13: ffffffff89c14722 R14: dffffc0000000001 R15: fffffbfff20391a7 FS: 00007f6ff1bf66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3051fffc CR3: 000000005b218000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0xa30 kernel/locking/lockdep.c:5860 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] advance_sched+0xb32/0xca0 net/sched/sch_taprio.c:987 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 4e bc 34 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c3 43 9b f5 65 8b 05 34 b5 3b 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000565f920 EFLAGS: 00000206 RAX: 5316215cc4fe3400 RBX: 1ffff92000acbf28 RCX: ffffffff8171043a RDX: dffffc0000000000 RSI: ffffffff8c0ad300 RDI: 0000000000000001 RBP: ffffc9000565f9b0 R08: ffffffff942ba887 R09: 1ffffffff2857510 R10: dffffc0000000000 R11: fffffbfff2857511 R12: dffffc0000000000 R13: 1ffff92000acbf24 R14: ffffc9000565f940 R15: 0000000000000246 clock_was_set+0x686/0x810 kernel/time/hrtimer.c:959 timekeeping_inject_offset+0x3d2/0x520 kernel/time/timekeeping.c:1480 do_adjtimex+0x5b1/0xb10 kernel/time/timekeeping.c:2579 do_clock_adjtime kernel/time/posix-timers.c:1165 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1168 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1168 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6ff3d7e819 Code: 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 01 48 RSP: 002b:00007f6ff1bf6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f6ff3f35fa0 RCX: 00007f6ff3d7e819 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007f6ff3df175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6ff3f35fa0 R15: 00007ffc43068ef8 task:kworker/u8:9 state:R running task stack:21184 pid:5955 tgid:5955 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 5a 4f 8c 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900047a79e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008f4f48 RCX: ffff888028b764d8 RDX: dffffc0000000000 RSI: ffffffff8c0ae4e0 RDI: ffffffff8c5f9fe0 RBP: ffffc900047a7b40 R08: ffffffff942ba887 R09: 1ffffffff2857510 R10: dffffc0000000000 R11: fffffbfff2857511 R12: 1ffff920008f4f44 R13: dffffc0000000000 R14: ffffc900047a7a40 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10480 jiffies! g52933 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 13598 Comm: syz.6.2455 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 e6 e8 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 91 e4 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 75 e4 0b 00 eb e4 44 RSP: 0018:ffffc90003bcf2c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170c8c7d RCX: 0000000000080000 RDX: ffffc90005742000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90003bcf4c0 R08: ffffffff8189678a R09: 1ffffffff2857510 R10: dffffc0000000000 R11: fffffbfff2857511 R12: dffffc0000000000 R13: ffff8880b86463e8 R14: ffff8880b873fa80 R15: 0000000000000000 FS: 00007fd48639d6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd485737bac CR3: 000000002cd8c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 __sched_core_enable kernel/sched/core.c:432 [inline] sched_core_get+0xae/0x180 kernel/sched/core.c:456 sched_core_alloc_cookie+0x71/0xa0 kernel/sched/core_sched.c:18 sched_core_share_pid+0x298/0x7d0 kernel/sched/core_sched.c:185 __do_sys_prctl kernel/sys.c:2741 [inline] __se_sys_prctl+0x956/0x3b50 kernel/sys.c:2467 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd48557e819 Code: 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 01 48 RSP: 002b:00007fd48639d038 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007fd485735fa0 RCX: 00007fd48557e819 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007fd4855f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fd485735fa0 R15: 00007ffe246d7808