rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7499 P5850/1:b..l rcu: (detected by 0, t=10502 jiffies, g=18717, q=356 ncpus=2) task:syz-executor state:R running task stack:20272 pid:5850 tgid:5850 ppid:5847 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_notrace+0x100/0x140 kernel/sched/core.c:7028 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x534/0x550 kernel/locking/lockdep.c:5820 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] tcp_assign_congestion_control+0x6b/0x780 net/ipv4/tcp_cong.c:221 tcp_init_sock+0x3fa/0x950 net/ipv4/tcp.c:460 tcp_v6_init_sock+0x21/0x80 net/ipv6/tcp_ipv6.c:2126 inet6_create+0xd33/0x10f0 net/ipv6/af_inet6.c:259 __sock_create+0x4c0/0xa30 net/socket.c:1558 sock_create net/socket.c:1616 [inline] __sys_socket_create net/socket.c:1653 [inline] __sys_socket+0x150/0x3c0 net/socket.c:1700 __do_sys_socket net/socket.c:1714 [inline] __se_sys_socket net/socket.c:1712 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1712 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5047d82727 RSP: 002b:00007ffd6980a7c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5047d82727 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 000000000000000a RBP: 00007ffd6980aeec R08: 00007ffd6980a7ec R09: 0079746972756365 R10: 00007ffd6980a850 R11: 0000000000000202 R12: 00007f5047f0bc80 R13: 000000000002385d R14: 000000000002323d R15: 00007f5047f0de40 task:syz.4.538 state:R running task stack:22504 pid:7499 tgid:7499 ppid:5852 flags:0x0000400a Call Trace: rcu: rcu_preempt kthread starved for 10539 jiffies! g18717 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:26264 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 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: 0 UID: 0 PID: 7504 Comm: syz.2.541 Not tainted 6.12.0-syzkaller-09087-g3448ad23b34e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1064 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 3a 77 54 00 e8 c5 3e 5c 00 45 38 f7 75 15 66 90 e8 a9 76 54 00 0f 00 2d 92 d6 c6 0a fb f4 50 fe ff ff e8 96 76 54 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0018:ffffc9000311f9e0 EFLAGS: 000002d3 RAX: ffffffff81416967 RBX: ffff8880234c1eb0 RCX: ffff88807e609e00 RDX: 0000000000000000 RSI: ffffffff8c0ad8a0 RDI: ffffffff8c6154a0 RBP: ffffc9000311fab0 R08: ffffffff9431f8bf R09: 1ffffffff2863f17 R10: dffffc0000000000 R11: fffffbfff2863f18 R12: 1ffff92000623f40 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 FS: 0000555576177500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007000 CR3: 00000000341ba000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:596 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdb0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] lock_for_kill+0xdc/0x210 fs/dcache.c:675 dput+0x18a/0x2b0 fs/dcache.c:865 __fput+0x5ba/0xa50 fs/file_table.c:458 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb909b80809 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffec174ff68 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fb909d47ba0 RCX: 00007fb909b80809 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb909d47ba0 R08: 00000000000019c4 R09: 00007ffec175024f R10: 00000000003fe420 R11: 0000000000000246 R12: 0000000000023c45 R13: 00007fb909d46080 R14: 0000000000000032 R15: ffffffffffffffff