rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=1b54/1/0x4000000000000000 softirq=82617/82618 fqs=60 rcu: (detected by 0, t=10502 jiffies, g=124465, q=616 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5062 Comm: syz-executor.5 Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:31 Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 a9 e4 a9 8c 48 89 de eb 0a 48 c7 c7 e1 e4 a9 8c 4c 89 fe e8 75 0c e1 08 31 db eb d4 90 0f 1e fa 89 f6 48 8b 0c 24 31 d2 e9 bf ea ff ff 66 2e 0f 1f 84 RSP: 0018:ffffc900001f0a18 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8e9969a8 RBP: ffffc900001f0b50 R08: 0000000000000003 R09: fffff5200003e15c R10: dffffc0000000000 R11: fffff5200003e15c R12: 1ffff9200003e150 R13: ffffffff84466584 R14: ffffc900001f0b80 R15: dffffc0000000000 FS: 000055555740e480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020075000 CR3: 0000000049ad6000 CR4: 00000000003506e0 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:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0x9d0 kernel/locking/lockdep.c:5764 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 debug_object_activate+0x3c4/0x530 lib/debugobjects.c:745 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x30/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0x6c0/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x104/0x390 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__kmem_cache_alloc_node+0x0/0x270 mm/slub.c:3516 Code: fd ff ff 41 8b 44 24 28 49 c7 04 07 00 00 00 00 e9 eb fd ff ff 0f 0b e9 26 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <66> 0f 1f 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 28 4c 89 c5 49 RSP: 0018:ffffc90004507ad8 EFLAGS: 00000246 RAX: 1ffffffff1994e56 RBX: ffff888012841b40 RCX: 0000000000000100 RDX: 00000000ffffffff RSI: 0000000000000d40 RDI: ffff888012841b40 RBP: ffffffff83fbdcc2 R08: ffffffff83fbdcc2 R09: 1ffff110085a7e17 R10: dffffc0000000000 R11: ffffed10085a7e18 R12: 0000000000000d40 R13: ffff888077a9e6b0 R14: 0000000000000100 R15: ffffffff8b537f40 kmalloc_trace+0x2a/0xe0 mm/slab_common.c:1117 kmalloc include/linux/slab.h:599 [inline] kzalloc include/linux/slab.h:720 [inline] smk_fetch+0x92/0x140 security/smack/smack_lsm.c:300 smack_d_instantiate+0x74a/0xa50 security/smack/smack_lsm.c:3573 security_d_instantiate+0x9b/0xf0 security/security.c:3799 d_instantiate_new+0x65/0x120 fs/dcache.c:2052 ext4_mkdir+0x963/0xce0 fs/ext4/namei.c:3051 vfs_mkdir+0x29d/0x450 fs/namei.c:4121 do_mkdirat+0x229/0x360 fs/namei.c:4144 __do_sys_mkdirat fs/namei.c:4159 [inline] __se_sys_mkdirat fs/namei.c:4157 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157 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:0x7fde2fc7b5e7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007ffc9c292ab8 EFLAGS: 00000206 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffc9c292b40 RCX: 00007fde2fc7b5e7 RDX: 00000000000001ff RSI: 00007ffc9c292b40 RDI: 00000000ffffff9c RBP: 00007ffc9c292b1c R08: 0000000000000006 R09: 00007ffc9c292854 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032 R13: 00000000001f7d10 R14: 00000000001f7cd7 R15: 0000000000000002 rcu: rcu_preempt kthread starved for 10381 jiffies! g124465 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25128 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1613 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1812 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 26483 Comm: syz-executor.3 Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x1805/0x2890 kernel/smp.c:844 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 b4 58 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 ef 54 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 d3 54 RSP: 0018:ffffc90004d87400 EFLAGS: 00000246 RAX: ffffffff8182c88d RBX: 1ffff110173282cd RCX: 0000000000040000 RDX: ffffc9000b2d0000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004d87600 R08: ffffffff8182c85c R09: 1ffffffff20dc870 R10: dffffc0000000000 R11: fffffbfff20dc871 R12: dffffc0000000000 R13: ffff8880b9941668 R14: ffff8880b983d440 R15: 0000000000000001 FS: 00007f6de3c196c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f221000 CR3: 0000000028acf000 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:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2006 [inline] text_poke_bp_batch+0x350/0xb20 arch/x86/kernel/alternative.c:2216 text_poke_bp+0xb0/0xf0 arch/x86/kernel/alternative.c:2443 __static_call_transform+0x40d/0x660 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x13f/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5d0 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x90c/0x9d0 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:3626 bpf_raw_tracepoint_open+0x199/0x210 kernel/bpf/syscall.c:3653 __sys_bpf+0x36c/0x810 kernel/bpf/syscall.c:5386 __do_sys_bpf kernel/bpf/syscall.c:5448 [inline] __se_sys_bpf kernel/bpf/syscall.c:5446 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5446 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:0x7f6de2e7cae9 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:00007f6de3c190c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6de2f9bf80 RCX: 00007f6de2e7cae9 RDX: 0000000000000010 RSI: 00000000200007c0 RDI: 0000000000000011 RBP: 00007f6de2ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000004d R14: 00007f6de2f9bf80 R15: 00007ffee7d7a4d8