rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=7124/1/0x4000000000000000 softirq=58194/58195 fqs=2 rcu: (detected by 1, t=10505 jiffies, g=79369, q=721 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4738 Comm: dhcpcd Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8d e8 af 60 e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90000007940 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8172854b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92efb500 RBP: 000000000000000a R08: ffff888017fa64d8 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1f4f6be R12: 0000000000000000 R13: 0000000000000001 R14: 000000000000000a R15: ffff888017fa6548 FS: 00007f4ddb3b1740(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe91bfff000 CR3: 000000002ce50000 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] hlock_class kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x4bb/0x1fd0 kernel/locking/lockdep.c:5087 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x158/0x390 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x30f/0xd50 kernel/time/hrtimer.c:1756 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+0x110/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:__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 fe 4d 75 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 73 e2 e3 f5 65 8b 05 94 0f 82 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900038c7180 EFLAGS: 00000206 RAX: a48adfadafe2c100 RBX: 1ffff92000718e34 RCX: ffffffff8172ecea RDX: dffffc0000000000 RSI: ffffffff8bcab880 RDI: 0000000000000001 RBP: ffffc900038c7220 R08: ffffffff92efb52f R09: 1ffffffff25df6a5 R10: dffffc0000000000 R11: fffffbfff25df6a6 R12: dffffc0000000000 R13: 1ffff92000718e30 R14: ffffc900038c71a0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __put_partials+0xad/0x130 mm/slub.c:2899 put_cpu_partial+0x17c/0x250 mm/slub.c:2981 __slab_free+0x2ea/0x3d0 mm/slub.c:4151 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x5e/0xc0 mm/kasan/quarantine.c:179 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] kmem_cache_alloc_node+0x194/0x380 mm/slub.c:3888 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1313 [inline] alloc_skb_with_frags+0xc3/0x770 net/core/skbuff.c:6504 sock_alloc_send_pskb+0x91a/0xa60 net/core/sock.c:2795 unix_dgram_sendmsg+0x6d3/0x1f80 net/unix/af_unix.c:2019 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 sock_write_iter+0x2dd/0x400 net/socket.c:1160 do_iter_readv_writev+0x5a4/0x800 vfs_writev+0x395/0xbb0 fs/read_write.c:971 do_writev+0x1b1/0x350 fs/read_write.c:1018 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:0x7f4ddb47fe03 Code: 89 c7 48 89 44 24 08 e8 6a f2 f9 ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 14 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 f6 5f 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffb6fd1b78 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fffb6fd1ed8 RCX: 00007f4ddb47fe03 RDX: 0000000000000005 RSI: 00007fffb6fd1b90 RDI: 000000000000000a RBP: 000000000000012c R08: 000000000000000a R09: 00007fffb6fd1bd0 R10: 00007fffb6fd1bd8 R11: 0000000000000246 R12: 000055df0d84e770 R13: 000055df0d74af88 R14: 00000000ffffffff R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10495 jiffies! g79369 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:25136 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 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+0x2f0/0x390 kernel/kthread.c:388 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 PID: 12138 Comm: syz-executor.3 Not tainted 6.9.0-rc5-syzkaller #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:ffffc9000504f920 EFLAGS: 00000293 RAX: ffffffff818a29cc RBX: 1ffff11017288c45 RCX: ffff888060745a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000504fb20 R08: ffffffff818a299b R09: 1ffffffff25df6a0 R10: dffffc0000000000 R11: fffffbfff25df6a1 R12: dffffc0000000000 R13: ffff8880b9446228 R14: ffff8880b953f780 R15: 0000000000000000 FS: 000055555a973480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82cef7b978 CR3: 000000001155e000 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:2086 [inline] text_poke_bp_batch+0x726/0xb30 arch/x86/kernel/alternative.c:2358 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 __static_key_slow_dec_cpuslocked+0x10b/0x170 kernel/jump_label.c:276 __static_key_slow_dec kernel/jump_label.c:283 [inline] static_key_slow_dec+0x51/0xa0 kernel/jump_label.c:298 __cgroup_bpf_detach+0x9e0/0xa50 kernel/bpf/cgroup.c:1004 bpf_cgroup_link_release+0x9d/0x260 kernel/bpf/cgroup.c:1201 bpf_link_free+0x10e/0x2d0 kernel/bpf/syscall.c:3052 bpf_link_put_direct kernel/bpf/syscall.c:3093 [inline] bpf_link_release+0x7b/0x90 kernel/bpf/syscall.c:3100 __fput+0x429/0x8a0 fs/file_table.c:422 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1541 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:0x7f319147cd9a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffccf7592a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f319147cd9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f31915ad980 R08: 00007f3191400000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 000000000007d3ab R13: 000000000007d379 R14: 00007ffccf759460 R15: 00007f3191434cb0