rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=d654/1/0x4000000000000000 softirq=33282/33282 fqs=74 rcu: (detected by 1, t=10502 jiffies, g=54989, q=434 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7183 Comm: syz-executor Not tainted 6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #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:61 [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+0x39/0x1a0 mm/kasan/generic.c:189 Code: f8 41 54 44 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83 b3 00 00 00 4c 8d 54 37 ff <48> 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 RSP: 0018:ffffc900000078d8 EFLAGS: 00000083 RAX: ffff7fffffffffff RBX: 0000000000000001 RCX: ffffffff8178e6a5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90144c58 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000007 R10: ffffffff90144c5f R11: 0000000000000000 R12: ffff8880b882cac0 R13: ffff88807b6cd340 R14: ffff8880b882c9c0 R15: ffffffff89271fb0 FS: 0000555569105500(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3251fffc CR3: 00000000248b4000 CR4: 00000000003506f0 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:562 [inline] cpu_online include/linux/cpumask.h:1105 [inline] trace_hrtimer_expire_exit include/trace/events/timer.h:306 [inline] __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x295/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:pie_calculate_probability+0x448/0x850 net/sched/sch_pie.c:410 Code: 54 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 c9 03 00 00 4c 8b 7b 08 4c 89 e7 44 0f b6 75 1a 4c 89 fe 63 9e 66 f8 4d 39 e7 73 1c e8 a9 9c 66 f8 4c 8b 63 20 31 ff 4c RSP: 0018:ffffc90000007b80 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88801220fab0 RCX: ffffffff89253362 RDX: 1ffff11002441f57 RSI: 0000000000000000 RDI: 000000000001c9c3 RBP: ffff888062dcbb00 R08: 0000000000000006 R09: 000000000001c9c3 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000001c9c3 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 fq_pie_timer+0x215/0x5a0 net/sched/sch_fq_pie.c:398 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers+0x74b/0xaf0 kernel/time/timer.c:2417 __run_timer_base kernel/time/timer.c:2428 [inline] __run_timer_base kernel/time/timer.c:2421 [inline] run_timer_base+0x111/0x190 kernel/time/timer.c:2437 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2447 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5062 Code: a9 0a 00 00 44 8b 0d 87 1c b8 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 69 b9 36 00 fb 65 48 8b 1d 10 78 a7 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc900037c7a48 EFLAGS: 00000206 RAX: 00000000001e65bb RBX: ffff88807e610000 RCX: 1ffffffff2028101 RDX: 0000000000000000 RSI: ffffffff8b4cd740 RDI: ffffffff8bb0fb40 RBP: ffffc900037c7a90 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90144c5f R11: 0000000000000000 R12: ffff8880b883fb58 R13: ffff88807b158000 R14: 0000000000000000 R15: ffff8880b883edc0 context_switch kernel/sched/core.c:5191 [inline] __schedule+0xe3f/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 do_nanosleep+0x216/0x510 kernel/time/hrtimer.c:2030 hrtimer_nanosleep+0x1ab/0x440 kernel/time/hrtimer.c:2083 common_nsleep+0xa1/0xd0 kernel/time/posix-timers.c:1350 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1373 [inline] __x64_sys_clock_nanosleep+0x344/0x4a0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f04ebfaefe5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007fffc6aa9a20 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000035e RCX: 00007f04ebfaefe5 RDX: 00007fffc6aa9a60 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffc6aa9abc R08: 0000000000000000 R09: 00007f04ecca9080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000005a71e R14: 000000000005a6b9 R15: 00007fffc6aa9b10 rcu: rcu_preempt kthread starved for 10354 jiffies! g54989 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:28640 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 13268 Comm: syz.0.3633 Not tainted 6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x4ec/0x1420 kernel/smp.c:856 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 cb 34 0c 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 f7 0c 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc9000cfaf9d0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b8846940 RCX: ffffc900094b1000 RDX: 0000000000040000 RSI: ffffffff817f9b85 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017108d29 R13: 0000000000000001 R14: ffff8880b8846948 R15: ffff8880b893ffc0 FS: 00007f6d5ddff6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3211fffc CR3: 00000000621bc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:900 static_key_slow_inc_cpuslocked kernel/jump_label.c:168 [inline] static_key_slow_inc_cpuslocked+0x82/0x120 kernel/jump_label.c:151 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 bpf_enable_runtime_stats kernel/bpf/syscall.c:5541 [inline] bpf_enable_stats kernel/bpf/syscall.c:5560 [inline] __sys_bpf+0x11c8/0x4a00 kernel/bpf/syscall.c:5793 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5815 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6d5e37cef9 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:00007f6d5ddff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6d5e535f80 RCX: 00007f6d5e37cef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 00007f6d5e3ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6d5e535f80 R15: 00007ffc61de74d8