rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P23517/1:b..l P23513/1:b..l P34/1:b..l (detected by 0, t=10502 jiffies, g=108625, q=33 ncpus=2) task:kworker/u4:2 state:R running task stack:23080 pid: 34 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6495 preempt_schedule_notrace+0x5b/0xd0 kernel/sched/core.c:6757 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_read_unlock_sched_notrace include/linux/rcupdate.h:860 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x496/0x570 kernel/locking/lockdep.c:5637 rcu_lock_acquire include/linux/rcupdate.h:304 [inline] rcu_read_lock include/linux/rcupdate.h:738 [inline] inet_twsk_purge+0x117/0x850 net/ipv4/inet_timewait_sock.c:270 ops_exit_list+0x125/0x170 net/core/net_namespace.c:167 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 task:syz-executor.4 state:R running task stack:25272 pid:23513 ppid: 3638 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6495 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6807 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:batadv_hardif_get_by_netdev+0x137/0x400 net/batman-adv/hard-interface.c:71 Code: b3 02 00 00 4d 8b 24 24 49 81 fc e0 e0 57 91 0f 84 9b 01 00 00 e8 79 a3 63 f8 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 80 3c 18 00 <0f> 85 94 02 00 00 4d 39 6c 24 18 75 b7 e8 57 a3 63 f8 49 8d 6c 24 RSP: 0018:ffffc90005e5f248 EFLAGS: 00000246 RAX: 1ffff11006835d03 RBX: dffffc0000000000 RCX: ffffc9000bcb3000 RDX: 0000000000040000 RSI: ffffffff89187177 RDI: ffff8880341ae818 RBP: ffff88804e022000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880341ae800 R13: ffff88804e022000 R14: 0000000000000000 R15: ffffffff8dc1d480 batadv_hard_if_event+0x90/0x1400 net/batman-adv/hard-interface.c:949 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1945 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline] call_netdevice_notifiers net/core/dev.c:1997 [inline] register_netdevice+0x1127/0x1680 net/core/dev.c:10103 ipvlan_link_new+0x369/0xbc0 drivers/net/ipvlan/ipvlan_main.c:584 rtnl_newlink_create net/core/rtnetlink.c:3363 [inline] __rtnl_newlink+0x1087/0x17e0 net/core/rtnetlink.c:3580 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3593 rtnetlink_rcv_msg+0x43a/0xca0 net/core/rtnetlink.c:6090 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2482 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536 __sys_sendmsg+0xf3/0x1c0 net/socket.c:2565 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe22128a5a9 RSP: 002b:00007fe2223aa168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe2213abf80 RCX: 00007fe22128a5a9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007fe2212e5580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc57ca462f R14: 00007fe2223aa300 R15: 0000000000022000 task:udevd state:R running task stack:27904 pid:23517 ppid: 2972 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6495 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6807 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:rcu_read_lock_held_common kernel/rcu/update.c:120 [inline] RIP: 0010:rcu_read_lock_sched_held+0x2/0x70 kernel/rcu/update.c:123 Code: ff ff 66 0f 1f 44 00 00 48 c7 c7 c0 8a f8 8b e9 c4 fa ff ff 0f 1f 40 00 48 c7 c7 c0 87 f8 8b e9 b4 fa ff ff 0f 1f 40 00 41 54 <41> bc 01 00 00 00 e8 a3 9d 1a 08 85 c0 75 06 44 89 e0 41 5c c3 e8 RSP: 0000:ffffc900069f7e28 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888036b60000 RCX: 0000000000000000 RDX: 1ffff11006d6c25d RSI: ffffffff81b3d7fe RDI: ffff888036b612e8 RBP: ffffffff8bfcc0c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888036b60000 R13: ffffc900069f7f58 R14: ffff888036b60000 R15: ffff88802184f000 task_css include/linux/cgroup.h:495 [inline] mem_cgroup_from_task+0x3c/0x130 mm/memcontrol.c:914 count_memcg_event_mm.part.0+0xa6/0x2d0 include/linux/memcontrol.h:1104 count_memcg_event_mm include/linux/memcontrol.h:584 [inline] handle_mm_fault+0xcf/0x780 mm/memory.c:5137 do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1488 [inline] exc_page_fault+0x94/0x170 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7ff46fc0e7a0 RSP: 002b:00007ffc9acefbc8 EFLAGS: 00010246 RAX: 00000000ffffffff RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00007ff46f7f86c0 RSI: 00007ffc9acefdf8 RDI: 0000000000000000 RBP: 0000559bb4cba300 R08: 0000000000000000 R09: 0000000000000000 R10: 0000559bb4cb3000 R11: 0000000000000000 R12: 0000000000000001 R13: 00007ffc9acefdf8 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g108625 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=86310 rcu: rcu_preempt kthread starved for 10502 jiffies! g108625 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:28400 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6495 schedule+0xda/0x1b0 kernel/sched/core.c:6571 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1658 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1857 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 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: 23519 Comm: syz-executor.0 Not tainted 6.0.0-syzkaller-00372-ga5088ee7251e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x20 kernel/kcov.c:283 Code: 00 00 00 0f 1f 00 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 fc fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 da fe ff ff 66 2e 0f 1f RSP: 0018:ffffc900001f0e38 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff888020ad6b40 RCX: ffffffff816c3030 RDX: fffffbfff1bbdd8b RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8ddeec57 R10: fffffbfff1bbdd8a R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880b9b2a640 R14: ffff8880b9b2a540 R15: ffffffff878cd150 FS: 00007f76094a3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f76094a3718 CR3: 00000000324ab000 CR4: 0000000000350ee0 Call Trace: trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline] __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x570/0xe40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 4a 02 dc f7 48 89 ef e8 d2 83 dc f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 83 44 cf f7 65 8b 05 9c fb 7e 76 85 c0 74 0a 5b 5d c3 e8 70 18 RSP: 0018:ffffc90006a1fa98 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff211d02e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b9b2a540 R08: 0000000000000001 R09: ffffffff908e7947 R10: 0000000000000001 R11: 0000000000000000 R12: fe232ae149bb98e6 R13: 0000000000000000 R14: 0000013149bb98e6 R15: dffffc0000000000 clock_was_set+0x5ff/0x8a0 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x4b4/0x620 kernel/time/timekeeping.c:1395 do_adjtimex+0x32f/0xa40 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1118 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1130 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f760828a5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f76094a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f76083ac050 RCX: 00007f760828a5a9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f76082e5580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc8873034f R14: 00007f76094a3300 R15: 0000000000022000