rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=84bc/1/0x4000000000000000 softirq=11803/11804 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=13657, q=442 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5950 Comm: modprobe Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:227 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:505 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1120 [inline] RIP: 0010:trace_hrtimer_expire_exit include/trace/events/timer.h:306 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1695 [inline] RIP: 0010:__hrtimer_run_queues+0x60c/0xd50 kernel/time/hrtimer.c:1756 Code: 07 0f 87 b2 01 00 00 e8 22 7d 12 00 41 89 df 4c 89 f8 48 c1 e8 06 48 8d 3c c5 68 fb a8 8f be 08 00 00 00 e8 16 2a 77 00 31 db <4c> 0f a3 3d a4 67 25 0e 41 0f 92 c7 0f 92 c3 bf 02 00 00 00 89 de RSP: 0018:ffffc90000007d60 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff818393ba RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fa8fb68 RBP: ffffc90000007ea8 R08: ffffffff8fa8fb6f R09: 1ffffffff1f51f6d R10: dffffc0000000000 R11: fffffbfff1f51f6e R12: 1ffff1101728593b R13: 0000000000000001 R14: ffff88802e4d9340 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa45da65270 CR3: 000000007c2a2000 CR4: 0000000000350ef0 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:_compound_head include/linux/page-flags.h:248 [inline] RIP: 0010:virt_to_folio include/linux/mm.h:1308 [inline] RIP: 0010:virt_to_slab mm/kasan/../slab.h:204 [inline] RIP: 0010:qlink_to_cache+0x1c/0xb0 mm/kasan/quarantine.c:131 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 e8 eb dd 47 ff 48 c1 e8 06 48 83 e0 c0 48 ba 00 00 00 00 00 ea ff ff 48 8b 4c 10 08 c1 01 75 44 48 01 d0 66 90 48 8b 48 08 f6 c1 01 75 65 66 90 48 RSP: 0018:ffffc900046ff8c0 EFLAGS: 00000206 RAX: 0000000000b47700 RBX: ffff88802d1dc900 RCX: ffff88801504ddc0 RDX: ffffea0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88805b9ef640 R08: ffffffff8142aeac R09: 1ffffffff25e6aa5 R10: dffffc0000000000 R11: fffffbfff25e6aa6 R12: 0000000000000000 R13: ffff88802d1dc900 R14: ffffc900046ff8f8 R15: 0000000000000000 qlist_free_all+0x2e/0xc0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc+0x1e2/0x4a0 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0xda/0x130 security/security.c:2269 vfs_getattr+0x45/0x430 fs/stat.c:173 vfs_fstat fs/stat.c:198 [inline] vfs_fstatat+0xd6/0x190 fs/stat.c:300 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat fs/stat.c:462 [inline] __x64_sys_newfstatat+0x117/0x190 fs/stat.c:462 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa45dd0c8a9 Code: 49 01 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 0c f7 d8 41 83 c8 ff 89 05 a1 49 01 00 RSP: 002b:00007ffe96e136b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa45dd0c8a9 RDX: 00007ffe96e13760 RSI: 00007fa45dd173d4 RDI: 0000000000000000 RBP: 00007ffe96e13820 R08: 00007fa45dce9fa0 R09: 00007fa45dce90c0 R10: 0000000000001000 R11: 0000000000000246 R12: 00007fa45dce90c0 R13: 00007ffe96e138a8 R14: 00007fa45dce90c0 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10502 jiffies! g13657 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:24496 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/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 PID: 5952 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 RSP: 0018:ffffc9000471f3e0 EFLAGS: 00000246 RAX: ffffffff818a3a1c RBX: 1ffff11017288c6d RCX: 0000000000040000 RDX: ffffc90003619000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000471f5e0 R08: ffffffff818a39eb R09: 1ffffffff25e6aa0 R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: dffffc0000000000 R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000 FS: 00007f9ea53416c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31d23000 CR3: 000000007b6e0000 CR4: 0000000000350ef0 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:2086 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296 text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2523 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x918/0x9e0 kernel/tracepoint.c:358 tracepoint_probe_register_prio_may_exist+0x122/0x190 kernel/tracepoint.c:482 bpf_raw_tp_link_attach+0x470/0x6d0 kernel/bpf/syscall.c:3865 bpf_raw_tracepoint_open+0x19d/0x210 kernel/bpf/syscall.c:3892 __sys_bpf+0x3c0/0x810 kernel/bpf/syscall.c:5702 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5765 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9ea467dca9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9ea53410c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9ea47abf80 RCX: 00007f9ea467dca9 RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011 RBP: 00007f9ea46c947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9ea47abf80 R15: 00007fff0197e608