rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=d43c/1/0x4000000000000000 softirq=20656/20657 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5076/2:b..l rcu: (detected by 0, t=10502 jiffies, g=31513, q=130 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8295 Comm: syz-executor.1 Not tainted 6.9.0-rc4-syzkaller-00329-g48cf398f15fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_release kernel/locking/lockdep.c:5412 [inline] RIP: 0010:lock_release+0x1d3/0x9f0 kernel/locking/lockdep.c:5774 Code: 84 c0 4c 8b 6c 24 18 0f 85 6c 05 00 00 c7 84 24 80 00 00 00 01 00 00 00 48 c7 c0 fc 15 a9 8f 48 c1 e8 03 42 0f b6 04 38 84 c0 <0f> 85 77 05 00 00 83 3d bc 72 36 0e 00 0f 84 c7 03 00 00 4d 8d b5 RSP: 0018:ffffc900175c7be0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000046 RCX: ffffc900175c7c03 RDX: 1ffff92002eb8f8c RSI: ffffffff8bcac580 RDI: ffffffff8c1f8560 RBP: ffffc900175c7d10 R08: ffffffff8fa8e2af R09: 1ffffffff1f51c55 R10: dffffc0000000000 R11: fffffbfff1f51c56 R12: 1ffff92002eb8f88 R13: ffff88805a2ada00 R14: ffffc900175c7c90 R15: dffffc0000000000 FS: 0000555581df8480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000541b0000 CR4: 0000000000350ef0 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] vga_put drivers/pci/vgaarb.c:553 [inline] vga_arb_release+0x40e/0xaf0 drivers/pci/vgaarb.c:1455 __fput+0x42b/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:0x7f69e747cd9a 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:00007fffd9bcf2c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f69e747cd9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f69e75ad980 R08: 00007f69e7400000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 0000000000038bba R13: 0000000000038b88 R14: 00007fffd9bcf480 R15: 00007f69e7434cb0 task:syz-fuzzer state:R running task stack:22136 pid:5076 tgid:5076 ppid:5074 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389 Code: 8b e8 f4 b4 25 0a 65 66 8b 05 14 ac a9 7e 66 85 c0 75 5d bf 01 00 00 00 e8 6d 7f 0b 00 e8 68 16 43 00 fb 65 8b 05 d8 ab a9 7e <85> c0 75 05 e8 b7 8a a6 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc9000303ee40 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 1ffff92000607dcc RCX: ffffffff8172edda RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: ffffffff8c1f8560 RBP: ffffc9000303eef0 R08: ffffffff92f325bf R09: 1ffffffff25e64b7 R10: dffffc0000000000 R11: fffffbfff25e64b8 R12: dffffc0000000000 R13: 1ffff92000607dd0 R14: ffffc9000303ee80 R15: 0000000000000200 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] __dev_queue_xmit+0x1697/0x3ca0 net/core/dev.c:4368 dev_queue_xmit include/linux/netdevice.h:3091 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0xd41/0x1380 net/ipv4/ip_output.c:235 ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0x118c/0x1b70 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x2557/0x3b80 net/ipv4/tcp_output.c:1462 tcp_transmit_skb net/ipv4/tcp_output.c:1480 [inline] tcp_write_xmit+0x1445/0x6100 net/ipv4/tcp_output.c:2792 __tcp_push_pending_frames+0x9b/0x360 net/ipv4/tcp_output.c:2977 tcp_sendmsg_locked+0x42cc/0x4d00 net/ipv4/tcp.c:1310 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1342 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x1a6/0x270 net/socket.c:745 sock_write_iter+0x2dd/0x400 net/socket.c:1160 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa86/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x40720e RSP: 002b:000000c000bcf2e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000040720e RDX: 00000000000000f0 RSI: 000000c00047c200 RDI: 0000000000000003 RBP: 000000c000bcf328 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 000000c000bcf468 R13: 0000000000000001 R14: 000000c0008b64e0 R15: 000000000000000e rcu: rcu_preempt kthread starved for 10500 jiffies! g31513 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: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: 0 PID: 947 Comm: kworker/u8:5 Not tainted 6.9.0-rc4-syzkaller-00329-g48cf398f15fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate 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:ffffc9000427f6e0 EFLAGS: 00000293 RAX: ffffffff818a2abc RBX: 1ffff110172a8869 RCX: ffff888020deda00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000427f8e0 R08: ffffffff818a2a8b R09: 1ffffffff25e64a0 R10: dffffc0000000000 R11: fffffbfff25e64a1 R12: dffffc0000000000 R13: ffff8880b9544348 R14: ffff8880b943f7c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f55669000 CR3: 000000000e134000 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_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_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:3254 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 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