rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4220/1:b..l P3545/1:b..l (detected by 0, t=10502 jiffies, g=61741, q=103) task:udevd state:R running task stack:22624 pid: 3545 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:2436 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2526 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:0x7fb45c74da4b RSP: 002b:00007fff2d186608 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000055853b5819e0 RCX: 00007fb45c74da4b RDX: 0000000000000000 RSI: 00007fff2d186618 RDI: 0000000000000004 RBP: 000055853b653920 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b5 R14: 0000000000000000 R15: 0000000000000000 task:kworker/u4:5 state:R running task stack:20384 pid: 4220 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker 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_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:413 [inline] RIP: 0010:batadv_nc_worker+0x1a9/0x5b0 net/batman-adv/network-coding.c:723 Code: c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 7f 4e b9 f7 48 8b 1b 48 85 db 74 17 48 81 c3 38 fe ff ff 74 0e e8 89 84 6f f7 eb b9 82 84 6f f7 eb 05 e8 7b 84 6f f7 e8 16 15 23 00 89 c3 31 ff 89 RSP: 0018:ffffc90003567bf8 EFLAGS: 00000246 RAX: 1ffff1100d2d7213 RBX: 0000000000000000 RCX: ffff88801bdd3b80 RDX: 0000000000000000 RSI: ffffffff8ad90460 RDI: ffffffff8ad90420 RBP: 0000000000000001 R08: ffffffff8a10ee81 R09: fffffbfff20ec621 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000213 R13: dffffc0000000000 R14: ffff888066e2cc80 R15: ffff888042053d80 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: rcu_preempt kthread starved for 10557 jiffies! g61741 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 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: 14001 Comm: syz.5.1346 Not tainted 5.15.169-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:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:202 Code: 1f 84 00 00 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 08 f4 68 0c 48 89 de 5b e9 c7 f2 48 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d d4 fb 81 7e 65 8b 15 d5 fb 81 7e 81 e2 00 RSP: 0018:ffffc90002ec7b88 EFLAGS: 00000246 RAX: 1ffff110044a82cc RBX: ffff888022541660 RCX: 0000000000040000 RDX: ffffc90006379000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90002ec7eb8 R08: dffffc0000000000 R09: ffffc90002ec7de0 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888022540000 R15: ffff888062580940 uprobe_deny_signal+0x74/0x230 kernel/events/uprobes.c:1969 get_signal+0xb8/0x14e0 kernel/signal.c:2686 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd25af04c10 Code: 5e c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 18 48 8b 1c 24 48 8b 70 60 8b 78 08 48 8d 53 30 e8 f7 67 ff ff 48 89 83 88 00 00 00 48 fe ff ff 0f 1f 00 8b 7c 24 14 48 8d 74 24 40 ba 0f 00 00 00 RSP: 002b:00007fd2594ad060 EFLAGS: 00000202 RAX: ffffffffffffffff RBX: 00007fd25b1ecf80 RCX: 00007fd25b0a832e RDX: 0000000000000000 RSI: 0000000020000f80 RDI: ffffffffffffffff RBP: 00007fd25b0a832e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd25b1ecf80 R15: 00007fffefb32718