rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3561/1:b..l P5391/1:b..l (detected by 0, t=10502 jiffies, g=91225, q=72) task:kworker/u4:17 state:R running task stack:21896 pid: 5391 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data kernel/kcov.c:227 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x32/0x80 kernel/kcov.c:293 Code: 34 a8 8a 7e 65 8b 15 35 a8 8a 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 5b 83 b9 34 16 00 00 00 74 52 8b 91 10 16 00 00 <83> fa 03 75 47 48 8b 91 18 16 00 00 44 8b 89 14 16 00 00 49 c1 e1 RSP: 0018:ffffc9000311fa38 EFLAGS: 00000246 RAX: ffffffff88542965 RBX: 0000000000000001 RCX: ffff88801e1d9dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000311fb50 R08: dffffc0000000000 R09: fffffbfff1ff6e19 R10: fffffbfff1ff6e19 R11: 1ffffffff1ff6e18 R12: 00000000000507fc R13: dffffc0000000000 R14: ffff88802be83fe0 R15: ffffffff8d411680 rcu_read_unlock include/linux/rcupdate.h:768 [inline] inet_twsk_purge+0x6f5/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 task:udevd state:R running task stack:23296 pid: 3561 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6577 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+0xf6/0x100 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+0x11b/0x180 kernel/sched/wait.c:205 sock_def_readable+0x136/0x250 net/core/sock.c:3093 __netlink_sendskb net/netlink/af_netlink.c:1264 [inline] netlink_sendskb+0x97/0x130 net/netlink/af_netlink.c:1270 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa9c53b3407 RSP: 002b:00007ffffc255100 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa9c52c5880 RCX: 00007fa9c53b3407 RDX: 0000000000000000 RSI: 00007ffffc255160 RDI: 0000000000000004 RBP: 000055c129d92e30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000b6 R13: 000055c129d739e0 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 9749 jiffies! g91225 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27848 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:728