rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=c78c/1/0x4000000000000000 softirq=135639/135640 fqs=1 rcu: (detected by 1, t=10504 jiffies, g=256441, q=681 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29573 Comm: syz-executor.3 Not tainted 6.8.0-rc4-syzkaller-01074-g2f3bfa8e30b5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__kasan_check_write+0xa/0x20 mm/kasan/shadow.c:37 Code: ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 89 f6 48 8b 0c 24 01 00 00 00 e9 cc e4 ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 RSP: 0018:ffffc90000007c28 EFLAGS: 00000046 RAX: ffffffff8976ee70 RBX: ffff88808ce1cc00 RCX: ffffffff8976ee88 RDX: 0000000080010002 RSI: 0000000000000004 RDI: ffff88808ce1cc84 RBP: 0000000000000000 R08: ffffffff8976ee61 R09: 1ffff1100766005c R10: dffffc0000000000 R11: ffffed100766005d R12: 0000000000000004 R13: ffff88808ce1cc08 R14: ffff88808ce1cc84 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c221000 CR3: 000000008d5e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_write include/linux/instrumented.h:82 [inline] atomic_set include/linux/atomic/atomic-instrumented.h:67 [inline] taprio_set_budgets+0x218/0x370 net/sched/sch_taprio.c:672 advance_sched+0x98d/0xca0 net/sched/sch_taprio.c:977 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x594/0xd00 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x107/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x70 kernel/kcov.c:225 Code: d8 15 00 00 83 fa 02 75 21 48 8b 91 e0 15 00 00 48 8b 32 48 8d 7e 01 8b 89 dc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 RSP: 0018:ffffc9000a5e75d0 EFLAGS: 00000293 RAX: ffffffff820193f7 RBX: 0000000000000000 RCX: ffff88804ab48000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff820193e0 R09: 1ffffd400027b970 R10: dffffc0000000000 R11: fffff9400027b971 R12: ffffea00013dcb88 R13: ffff888017653e60 R14: 0000000000000001 R15: ffffea00013dcb80 arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] page_fixed_fake_head include/linux/page-flags.h:210 [inline] _compound_head include/linux/page-flags.h:251 [inline] PageAnon include/linux/page-flags.h:657 [inline] page_table_check_clear+0x1a7/0x730 mm/page_table_check.c:75 zap_pte_range mm/memory.c:1452 [inline] zap_pmd_range mm/memory.c:1597 [inline] zap_pud_range mm/memory.c:1626 [inline] zap_p4d_range mm/memory.c:1647 [inline] unmap_page_range+0x1f79/0x3600 mm/memory.c:1668 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1758 exit_mmap+0x2c6/0xd40 mm/mmap.c:3279 __mmput+0x115/0x3c0 kernel/fork.c:1343 exit_mm+0x21f/0x310 kernel/exit.c:569 do_exit+0x9af/0x2740 kernel/exit.c:858 do_group_exit+0x206/0x2c0 kernel/exit.c:1020 __do_sys_exit_group kernel/exit.c:1031 [inline] __se_sys_exit_group kernel/exit.c:1029 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1029 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fc24ac7dda9 Code: Unable to access opcode bytes at 0x7fc24ac7dd7f. RSP: 002b:00007ffc7e847118 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fc24ac7dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000281 R09: 0000000000000000 R10: 0000001b32120000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10498 jiffies! g256441 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:24656 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 3867 Comm: kworker/u4:7 Not tainted 6.8.0-rc4-syzkaller-01074-g2f3bfa8e30b5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1850/0x2960 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 99 d4 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 d0 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 28 d0 RSP: 0018:ffffc9000d027720 EFLAGS: 00000293 RAX: ffffffff81879c38 RBX: 1ffff110172888a1 RCX: ffff88802e579dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000d027920 R08: ffffffff81879c07 R09: 1ffffffff2593084 R10: dffffc0000000000 R11: fffffbfff2593085 R12: dffffc0000000000 R13: ffff8880b9444508 R14: ffff8880b953da80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f093fd79198 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2087 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2297 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242