rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6832/1:b..l (detected by 0, t=10502 jiffies, g=20429, q=3) task:syz.0.659 state:R running task stack:25720 pid: 6832 ppid: 4168 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:__sock_create+0x413/0x8f0 net/socket.c:1480 Code: e8 12 7a 34 f9 eb 05 e8 0b 7a 34 f9 8b 1c 24 4d 85 e4 0f 84 12 01 00 00 4d 8d 74 24 10 4c 89 f5 48 c1 ed 03 42 80 7c 3d 00 00 <74> 08 4c 89 f7 e8 23 52 7e f9 49 8b 3e e8 ab 17 29 f9 84 c0 0f 84 RSP: 0018:ffffc900033c7dd0 EFLAGS: 00000246 RAX: ffffffff884bf98e RBX: 000000000000000c RCX: 0000000000080000 RDX: ffffc9000de79000 RSI: 00000000000000af RDI: 00000000000000b0 RBP: 1ffffffff1745e6a R08: ffffffff884bf981 R09: fffffbfff2131021 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8ba2f340 R13: ffff8880756ff2c0 R14: ffffffff8ba2f350 R15: dffffc0000000000 sock_create net/socket.c:1542 [inline] __sys_socket+0x132/0x370 net/socket.c:1584 __do_sys_socket net/socket.c:1593 [inline] __se_sys_socket net/socket.c:1591 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1591 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2c7f07fd19 RSP: 002b:00007f2c7cecf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f2c7f270080 RCX: 00007f2c7f07fd19 RDX: 000000000000000c RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00007f2c7f0fba20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2c7f270080 R15: 00007fffcc71c0c8 rcu: rcu_preempt kthread starved for 10525 jiffies! g20429 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:27064 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:__free_object+0x2e/0xa80 lib/debugobjects.c:340 Code: 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 01 00 00 48 89 7c 24 08 65 48 8b 04 25 28 00 00 00 48 89 84 24 80 01 00 00 <49> bd 00 00 00 00 00 fc ff df 4c 8d b4 24 c0 00 00 00 48 8d bc 24 RSP: 0018:ffffc90000d47960 EFLAGS: 00000286 RAX: 821c3bcd46189b00 RBX: ffff88801b98a620 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: ffff88801b98a620 RBP: ffffc90000d47b38 R08: ffffffff8186f220 R09: fffffbfff2d8e0e5 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff96c70718 R13: 1ffff110037314c5 R14: dffffc0000000000 R15: ffff88801fc19238 free_object lib/debugobjects.c:427 [inline] debug_object_free+0x2c1/0x460 lib/debugobjects.c:852 destroy_timer_on_stack kernel/time/timer.c:759 [inline] schedule_timeout+0x1d0/0x300 kernel/time/timer.c:1918 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 6842 Comm: syz.5.661 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:signal_pending include/linux/sched/signal.h:374 [inline] RIP: 0010:futex_wait+0x416/0x740 kernel/futex/core.c:2978 Code: a0 56 00 43 80 3c 37 00 74 08 4c 89 e7 e8 62 9e 56 00 49 8b 1c 24 be 00 00 02 00 48 21 de 31 ff e8 ef c9 0c 00 b8 00 00 02 00 <48> 21 c3 0f 85 74 02 00 00 4c 89 e7 be 08 00 00 00 e8 c4 9f 56 00 RSP: 0018:ffffc9000325f9a0 EFLAGS: 00000297 RAX: 0000000000020000 RBX: 0000000000004004 RCX: ffff888029613b80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000325fbb0 R08: ffffffff8173ad91 R09: ffffed10052c2771 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888029613b80 R13: 1ffff9200064bf60 R14: dffffc0000000000 R15: 1ffff110052c2770 do_futex+0x1414/0x1810 kernel/futex/core.c:3982 __do_sys_futex kernel/futex/core.c:4059 [inline] __se_sys_futex+0x407/0x490 kernel/futex/core.c:4040 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f08b1e8ad19 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:00007f08afcda0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f08b207b088 RCX: 00007f08b1e8ad19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f08b207b088 RBP: 00007f08b207b080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08b207b08c R13: 0000000000000000 R14: 00007ffc4c0c2f30 R15: 00007ffc4c0c3018