rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3666/1:b..l P4605/1:b..l (detected by 0, t=10502 jiffies, g=14725, q=63 ncpus=2) task:syz.0.286 state:R running task stack:24544 pid:4605 ppid:4288 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:xas_start+0x3f3/0x7b0 lib/xarray.c:193 Code: 57 03 f7 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 74 08 4c 89 f7 e8 eb d8 5a f7 49 c7 06 01 00 00 00 31 ed e9 09 03 00 00 48 57 03 f7 eb 05 e8 41 57 03 f7 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90011bb7670 EFLAGS: 00000297 RAX: 0000000000000002 RBX: 0000000000000006 RCX: ffff888024050000 RDX: ffffc9000e437000 RSI: 000000000000001a RDI: 000000000000003f RBP: 000000000000001a R08: ffffffff8a873c22 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90011bb7768 R13: ffff88823bd14002 R14: ffffc90011bb7778 R15: 1ffff92002376eef xas_load+0x28/0x140 lib/xarray.c:235 mapping_get_entry mm/filemap.c:1853 [inline] __filemap_get_folio+0x22c/0xe80 mm/filemap.c:1915 shmem_get_folio_gfp+0x356/0x3470 mm/shmem.c:1881 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2559 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3817 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3945 generic_file_write_iter+0xab/0x310 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 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:0x7fbd8a975b29 RSP: 002b:00007fbd8b7db048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fbd8ab04070 RCX: 00007fbd8a975b29 RDX: 00000000fffffda5 RSI: 0000000020002100 RDI: 0000000000000008 RBP: 00007fbd8a9f6756 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbd8ab04070 R15: 00007ffc30e51b38 task:kworker/u4:6 state:R running task stack:22648 pid:3666 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:658 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 3f ac 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000460f8e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008c1f28 RCX: 1ffff920008c1ec8 RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4760 RBP: ffffc9000460fa28 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008c1f24 R13: dffffc0000000000 R14: ffffc9000460f940 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] inet_twsk_purge+0x150/0xa40 net/ipv4/inet_timewait_sock.c:295 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:604 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10567 jiffies! g14725 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:26144 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 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:308 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 acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572