rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3026/1:b..l (detected by 0, t=10502 jiffies, g=24745, q=432) task:udevd state:R running task stack:22624 pid: 3026 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:205 sock_def_readable+0x135/0x240 net/core/sock.c:3092 __netlink_sendskb net/netlink/af_netlink.c:1273 [inline] netlink_sendskb+0x8e/0x120 net/netlink/af_netlink.c:1279 netlink_unicast+0x3a1/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521 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:0x7fae1b28ba4b RSP: 002b:00007ffcfabf67b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000055f28a8dfdf0 RCX: 00007fae1b28ba4b RDX: 0000000000000000 RSI: 00007ffcfabf67c8 RDI: 0000000000000004 RBP: 000055f28a991230 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b4 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g24745 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=10189 rcu: rcu_preempt kthread starved for 10502 jiffies! g24745 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25976 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 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: 6801 Comm: syz.0.721 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x60 kernel/kcov.c:212 Code: 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 83 fa 02 75 21 48 8b 91 18 16 00 00 48 8b 32 48 8d 7e 01 <8b> 89 14 16 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a c3 0f 1f RSP: 0018:ffffc90003237458 EFLAGS: 00000246 RAX: ffffffff817495b4 RBX: 1ffff110172280b1 RCX: ffff88801f778000 RDX: ffffc900036cb000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900032375a0 R08: ffffffff81749584 R09: fffffbfff20e1e19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880b9140588 R14: ffff8880b903b380 R15: 0000000000000001 csd_lock_wait kernel/smp.c:440 [inline] smp_call_function_many_cond+0xab4/0xd90 kernel/smp.c:969 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1207 [inline] text_poke_bp_batch+0x2b4/0x930 arch/x86/kernel/alternative.c:1407 text_poke_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1644 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:110 arch_static_call_transform+0xb7/0x250 arch/x86/kernel/static_call.c:156 __static_call_update+0xd4/0x5c0 kernel/static_call_inline.c:136 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x90c/0x9d0 kernel/tracepoint.c:358 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline] tracepoint_probe_register+0x101/0x160 kernel/tracepoint.c:531 register_trace_block_rq_insert include/trace/events/block.h:190 [inline] blk_register_tracepoints kernel/trace/blktrace.c:1098 [inline] get_probe_ref+0x4f/0x3e0 kernel/trace/blktrace.c:336 do_blk_trace_setup+0x7f0/0x9d0 kernel/trace/blktrace.c:580 __blk_trace_setup kernel/trace/blktrace.c:599 [inline] blk_trace_ioctl+0x35b/0x970 kernel/trace/blktrace.c:740 blkdev_ioctl+0x140/0x6b0 block/ioctl.c:593 block_ioctl+0xb1/0xf0 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 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:0x7f20bdf4aeb9 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:00007f20bc3c7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f20be0e6f80 RCX: 00007f20bdf4aeb9 RDX: 0000000020000140 RSI: 00000000c0481273 RDI: 0000000000000008 RBP: 00007f20bdfb893e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f20be0e6f80 R15: 00007ffe9987b0e8