rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P28898/1:b..l rcu: (detected by 1, t=10502 jiffies, g=187569, q=221 ncpus=2) task:kworker/u4:5 state:R running task stack:26848 pid:28898 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7022 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5729 Code: c1 05 c5 e7 9b 7e 83 f8 01 0f 85 b0 02 00 00 9c 58 f6 c4 02 0f 85 9b 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000373fa08 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006e7f43 RCX: 0000000000000001 RDX: 1ffff11005200998 RSI: ffffffff8a6c6b20 RDI: ffffffff8ac7e3e0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23081d0 R10: ffffffff91840e87 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c9a3200 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] inet_twsk_purge+0x139/0x920 net/ipv4/inet_timewait_sock.c:292 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10487 jiffies! g187569 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:28232 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 30922 Comm: syz-executor.3 Not tainted 6.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x4db/0x1570 kernel/smp.c:835 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 dc 5e 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90003f6f6c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffe8ffffc0b360 RCX: ffffc90003841000 RDX: 0000000000040000 RSI: ffffffff817a2ac4 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: fffff91ffff8166d R13: 0000000000000001 R14: ffff8880b993d5c0 R15: ffffe8ffffc0b368 FS: 00007fc5a45426c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000007383f000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1003 __purge_vmap_area_lazy+0x203/0x2160 mm/vmalloc.c:1749 _vm_unmap_aliases+0x69f/0x9c0 mm/vmalloc.c:2306 change_page_attr_set_clr+0x24a/0x490 arch/x86/mm/pat/set_memory.c:1838 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1886 [inline] set_memory_ro+0x7c/0xa0 arch/x86/mm/pat/set_memory.c:2077 bpf_prog_lock_ro include/linux/filter.h:855 [inline] bpf_prog_select_runtime+0x4f7/0x640 kernel/bpf/core.c:2219 bpf_migrate_filter net/core/filter.c:1298 [inline] bpf_prepare_filter+0xd35/0x1100 net/core/filter.c:1346 bpf_prog_create_from_user+0x1e4/0x2d0 net/core/filter.c:1440 seccomp_prepare_filter kernel/seccomp.c:671 [inline] seccomp_prepare_user_filter kernel/seccomp.c:708 [inline] seccomp_set_mode_filter kernel/seccomp.c:1871 [inline] do_seccomp+0x7bc/0x27f0 kernel/seccomp.c:1991 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc5a387cb29 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:00007fc5a45420c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 00007fc5a399bf80 RCX: 00007fc5a387cb29 RDX: 0000000020000040 RSI: 000000000000000a RDI: 0000000000000001 RBP: 00007fc5a38c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc5a399bf80 R15: 00007ffe176f14f8