rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13061/1:b..l (detected by 0, t=10502 jiffies, g=72669, q=143 ncpus=2) task:syz-executor state:R running task stack:19736 pid:13061 ppid:13040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 vprintk_emit+0x683/0x740 kernel/printk/printk.c:2304 dev_vprintk_emit+0x2aa/0x323 drivers/base/core.c:4925 dev_printk_emit+0xd9/0x118 drivers/base/core.c:4936 __netdev_printk+0x335/0x410 net/core/dev.c:11266 netdev_info+0x11e/0x165 net/core/dev.c:11321 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/0x13b0 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+0xc6f/0xf20 net/ipv4/udp_tunnel_nic.c:531 udp_tunnel_nic_add_port include/net/udp_tunnel.h:333 [inline] udp_tunnel_notify_add_rx_port+0x300/0x4c0 net/ipv4/udp_tunnel_core.c:127 geneve_socket_create drivers/net/geneve.c:618 [inline] geneve_sock_add+0x643/0xbc0 drivers/net/geneve.c:693 geneve_open+0xdf/0x150 drivers/net/geneve.c:735 __dev_open+0x377/0x510 net/core/dev.c:1457 __dev_change_flags+0x1db/0x6e0 net/core/dev.c:8593 dev_change_flags+0x87/0x190 net/core/dev.c:8664 do_setlink+0xcf4/0x3de0 net/core/rtnetlink.c:2830 __rtnl_newlink net/core/rtnetlink.c:3605 [inline] rtnl_newlink+0x172c/0x2050 net/core/rtnetlink.c:3652 rtnetlink_rcv_msg+0x818/0xff0 net/core/rtnetlink.c:6150 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2493 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1337 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1859 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x480/0x600 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2161 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0ec7781d6c RSP: 002b:00007fff885bdd00 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0ec8474620 RCX: 00007f0ec7781d6c RDX: 000000000000002c RSI: 00007f0ec8474670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff885bdd54 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f0ec8474670 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10495 jiffies! g72669 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=56737 rcu: rcu_preempt kthread starved for 10496 jiffies! g72669 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13291 Comm: syz.2.2367 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x5c/0x290 mm/kasan/generic.c:189 Code: fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a <4c> 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 RSP: 0018:ffffc900001e09b8 EFLAGS: 00000803 RAX: 0000000000000001 RBX: 1ffffffff224984c RCX: ffffffff816ab4af RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9124c260 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff224984c R10: 1ffffffff224984c R11: dffffc0000000001 R12: ffff888031332898 R13: ffff888031331dc0 R14: fffffbfff224984d R15: 1ffff11006266522 FS: 00007fdba85ff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdba85fefb8 CR3: 0000000054f6f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xcbf/0x1f80 kernel/locking/lockdep.c:5019 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x68/0x4e0 lib/debugobjects.c:698 debug_hrtimer_activate kernel/time/hrtimer.c:421 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 e7 25 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 07 52 a2 f6 65 8b 05 c8 31 46 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900034a7920 EFLAGS: 00000206 RAX: af483cc170202100 RBX: 1ffff92000694f28 RCX: ffffffff816b124a RDX: dffffc0000000000 RSI: ffffffff8b0c01c0 RDI: 0000000000000001 RBP: ffffc900034a79b0 R08: dffffc0000000000 R09: fffffbfff224984d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000694f24 R14: ffffc900034a7940 R15: 0000000000000246 clock_was_set+0x177/0x900 kernel/time/hrtimer.c:971 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1154 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1166 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1157 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1157 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdba877fed9 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:00007fdba85ff058 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fdba8945fa0 RCX: 00007fdba877fed9 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007fdba87f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdba8945fa0 R15: 00007ffd584af988