rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3523/1:b..l (detected by 1, t=10502 jiffies, g=4645, q=53) task:syz-executor.1 state:R running task stack:20696 pid: 3523 ppid: 3519 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline] RIP: 0010:need_resched include/linux/sched.h:2113 [inline] RIP: 0010:preempt_schedule_common+0x11/0xd0 kernel/sched/core.c:6560 Code: 48 8d 65 e0 5b 41 5c 41 5e 41 5f 5d c3 e8 07 00 00 00 eb cc e8 10 bb f7 ff 41 57 41 56 53 49 bf 00 00 00 00 00 fc ff df eb 0d <48> f7 03 08 00 00 00 0f 84 a7 00 00 00 65 ff 05 53 ed db 75 65 8b RSP: 0018:ffffc90002ef6060 EFLAGS: 00000246 RAX: 1ffff110040a33b8 RBX: ffff888020519dc0 RCX: ffffffff8a2682f6 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888020519dc0 RBP: ffffc90002ef6118 R08: dffffc0000000000 R09: ffffed10040a33b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005dec14 R13: 0000000000000000 R14: ffffffff8a268249 R15: dffffc0000000000 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 vprintk_emit+0x146/0x150 kernel/printk/printk.c:2275 dev_vprintk_emit+0x2aa/0x330 drivers/base/core.c:4615 dev_printk_emit+0xd9/0x120 drivers/base/core.c:4626 __netdev_printk+0x335/0x410 net/core/dev.c:11464 netdev_info+0x11e/0x170 net/core/dev.c:11519 nsim_udp_tunnel_set_port+0x2a7/0x450 drivers/net/netdevsim/udp_tunnels.c:34 udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline] __udp_tunnel_nic_device_sync+0xa7e/0x13c0 net/ipv4/udp_tunnel_nic.c:289 udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:312 [inline] __udp_tunnel_nic_add_port+0xc75/0xf30 net/ipv4/udp_tunnel_nic.c:531 udp_tunnel_nic_add_port include/net/udp_tunnel.h:336 [inline] udp_tunnel_notify_add_rx_port+0x2dc/0x480 net/ipv4/udp_tunnel_core.c:130 geneve_socket_create drivers/net/geneve.c:602 [inline] geneve_sock_add+0x621/0xbb0 drivers/net/geneve.c:677 geneve_open+0xdf/0x150 drivers/net/geneve.c:719 __dev_open+0x36f/0x500 net/core/dev.c:1506 __dev_change_flags+0x1db/0x6e0 net/core/dev.c:8813 dev_change_flags+0x87/0x190 net/core/dev.c:8884 do_setlink+0xcd1/0x3b00 net/core/rtnetlink.c:2741 __rtnl_newlink net/core/rtnetlink.c:3429 [inline] rtnl_newlink+0x17a4/0x2070 net/core/rtnetlink.c:3549 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5629 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x564/0x720 net/socket.c:2058 __do_sys_sendto net/socket.c:2070 [inline] __se_sys_sendto net/socket.c:2066 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2066 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:0x7f467b20dd9c RSP: 002b:00007ffeb618ece0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f467be73620 RCX: 00007f467b20dd9c RDX: 000000000000002c RSI: 00007f467be73670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffeb618ed34 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f467be73670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10572 jiffies! g4645 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:26144 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:646 RIP: 0010:schedule+0x10a/0x1f0 kernel/sched/core.c:6458 Code: a3 f7 49 8b 07 4c 39 f8 74 0d 4c 89 f7 be 01 00 00 00 e8 b9 91 c6 f9 4c 89 eb 48 c1 eb 03 eb 0a 49 f7 45 00 08 00 00 00 74 39 01 00 00 00 e8 dc e7 30 f7 31 ff e8 35 b9 ff ff bf 01 00 00 00 RSP: 0018:ffffc90000d47b70 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff11027fc4770 RCX: ffffffff8a268002 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88813fe23b80 RBP: ffffc90000d47c90 R08: dffffc0000000000 R09: ffffed1027fc4771 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813fe23b80 R14: 0000000000000000 R15: 00000000ffff9e36 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:300 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3612 Comm: syz-executor.2 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__lock_acquire+0xd79/0x1ff0 kernel/locking/lockdep.c:4995 Code: e8 03 0f b6 04 38 84 c0 0f 85 d0 0d 00 00 83 3d 3c 53 dc 0f 00 b8 01 00 00 00 75 0a 49 83 ff ff 0f 85 b8 08 00 00 89 44 24 2c <48> 89 d8 48 c1 e8 03 80 3c 38 00 74 12 48 89 df e8 02 6d 67 00 48 RSP: 0018:ffffc900032a78e0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff88801dd58af0 RCX: ffffffff913f0f03 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff88801dd58ae0 R08: dffffc0000000000 R09: fffffbfff1f7f21b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88801dd58ae8 R14: 1ffff11003bab15c R15: ffffffffffffffff FS: 00007f583481b6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f583481ad80 CR3: 00000000131ad000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] get_signal+0x20e/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:0x7f5835ca20a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f583481b178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f5835dd8f88 RCX: 00007f5835ca20a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f5835dd8f88 RBP: 00007f5835dd8f80 R08: 00007f583481b6c0 R09: 00007f583481b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5835dd8f8c R13: 000000000000000b R14: 00007ffe008e4fb0 R15: 00007ffe008e5098 sched: RT throttling activated