rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5828/1:b..l P5841/1:b..l P12725/1:b..l P5824/1:b..l rcu: (detected by 1, t=10503 jiffies, g=37217, q=436 ncpus=2) task:syz-executor state:R running task stack:22784 pid:5824 tgid:5824 ppid:5818 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1705 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x37fa/0x4230 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 exit_mmap+0x275/0xc20 mm/mmap.c:1667 __mmput+0x115/0x3c0 kernel/fork.c:1353 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f628fd76113 RSP: 002b:00007fff49317b28 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 00000000000016c9 RCX: 00007f628fd76113 RDX: 0000000040000000 RSI: 00007fff49317b3c RDI: 00000000ffffffff RBP: 00007fff49317b3c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 task:syz-executor state:R running task stack:23840 pid:12725 tgid:12725 ppid:5818 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xb8/0xa30 kernel/locking/lockdep.c:5860 Code: 08 0f 83 fe 05 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 70 52 19 90 be 08 00 00 00 e8 a0 88 8f 00 48 0f a3 1d a8 7e 9e 0e <73> 16 e8 51 38 0a 00 84 c0 75 0d 80 3d f9 ac 88 0e 00 0f 84 fc 05 RSP: 0018:ffffc90003017280 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff817ad3c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90195270 RBP: ffffc900030173b8 R08: ffffffff90195277 R09: 1ffffffff2032a4e R10: dffffc0000000000 R11: fffffbfff2032a4f R12: 1ffff92000602e5c R13: ffffffff81ae8696 R14: 0000000000000000 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] is_bpf_text_address+0x280/0x2a0 kernel/bpf/core.c:770 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x92/0x800 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1556 prep_new_page mm/page_alloc.c:1564 [inline] get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3474 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4751 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 vm_area_alloc_pages mm/vmalloc.c:3589 [inline] __vmalloc_area_node mm/vmalloc.c:3667 [inline] __vmalloc_node_range_noprof+0x9c9/0x1380 mm/vmalloc.c:3844 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3998 kcov_ioctl+0x56/0x640 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff130f7fadb RSP: 002b:00007fff3a513ea0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007ff130f7fadb RDX: 0000000000080000 RSI: ffffffff80086301 RDI: 00000000000000da RBP: 00007ff1311461f8 R08: 00000000000000d9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 task:syz-executor state:R running task stack:20128 pid:5841 tgid:5841 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:page_ext_put+0x0/0xc0 mm/page_ext.c:546 Code: cc cc e8 53 88 88 ff e9 dc fe ff ff e8 49 88 88 ff 90 0f 0b 90 e9 0a ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 53 48 89 fb e8 23 88 88 ff 48 85 db 0f 84 93 00 00 00 RSP: 0018:ffffc90003fff7e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888064820000 RDX: ffff888064820000 RSI: 0000000000000001 RDI: ffff88801e4f3fc0 RBP: 00000000000016d1 R08: ffffffff8214baf6 R09: 1ffff11003c9e7f8 R10: dffffc0000000000 R11: ffffed1003c9e7f9 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88801e4f4004 R15: ffff88801e4f4010 __reset_page_owner+0x2de/0x430 mm/page_owner.c:300 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_page+0xdef/0x1130 mm/page_alloc.c:2657 vfree+0x186/0x2e0 mm/vmalloc.c:3382 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdde3181dca RSP: 002b:00007ffe80e4c3d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: 0000000000000000 RBX: 00007ffe80e4c460 RCX: 00007fdde3181dca RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00000000000002e8 R09: 0079746972756365 R10: 00007fdde330d120 R11: 0000000000000206 R12: 00007fdde330d0c0 R13: 00007ffe80e4c3fc R14: 0000000000000000 R15: 00007fdde330de40 task:syz-executor state:R running task stack:19872 pid:5828 tgid:5828 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:194 [inline] RIP: 0010:write_comp_data kernel/kcov.c:246 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x35/0x90 kernel/kcov.c:321 Code: 0c 25 00 d6 03 00 65 8b 05 f0 5e 64 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 4e 8b 81 f8 15 00 00 <83> f8 03 75 43 48 8b 91 00 16 00 00 44 8b 89 fc 15 00 00 49 c1 e1 RSP: 0018:ffffc90003fdf7f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88802c51bc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003fdf8e0 R08: ffffffff81f85947 R09: 1ffffffff2857510 R10: dffffc0000000000 R11: fffffbfff2857511 R12: ffffea0001e4c080 R13: 1ffff11005c77c54 R14: 00000000000002f7 R15: ffff88802e3be2ac PageTail include/linux/page-flags.h:281 [inline] folio_memcg_kmem include/linux/memcontrol.h:518 [inline] folio_memcg include/linux/memcontrol.h:428 [inline] mod_memcg_page_state+0x1b7/0x800 include/linux/memcontrol.h:937 vfree+0x17c/0x2e0 mm/vmalloc.c:3377 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a09781dca RSP: 002b:00007ffd07178978 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: 0000000000000000 RBX: 00007ffd07178a00 RCX: 00007f9a09781dca RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00000000000003b8 R09: 0079746972756365 R10: 00007f9a0990bce0 R11: 0000000000000206 R12: 00007f9a0990bc80 R13: 00007ffd0717899c R14: 0000000000000000 R15: 00007f9a0990de40 rcu: rcu_preempt kthread starved for 10660 jiffies! g37217 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:25528 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.13.0-rc1-syzkaller-00277-g6145fefc1e42 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 2e 0a 37 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 34 9a f5 65 8b 05 24 86 30 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900001e6f40 EFLAGS: 00000206 RAX: ad58da8e43620200 RBX: 1ffff9200003cdec RCX: ffffffff9a3c1903 RDX: dffffc0000000000 RSI: ffffffff8c0a9680 RDI: 0000000000000001 RBP: ffffc900001e6fe0 R08: ffffffff90195277 R09: 1ffffffff2032a4e R10: dffffc0000000000 R11: fffffbfff2032a4f R12: dffffc0000000000 R13: 1ffff9200003cde8 R14: ffffc900001e6f60 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcba8da2d8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] backlog_unlock_irq_restore net/core/dev.c:250 [inline] enqueue_to_backlog+0x8b2/0xc80 net/core/dev.c:4893 netif_rx_internal+0x17a/0x630 net/core/dev.c:5201 __netif_rx+0x78/0xc0 net/core/dev.c:5221 loopback_xmit+0x454/0x6b0 drivers/net/loopback.c:89 __netdev_start_xmit include/linux/netdevice.h:5043 [inline] netdev_start_xmit include/linux/netdevice.h:5052 [inline] generic_xdp_tx+0x198/0x3b0 net/core/dev.c:5124 do_xdp_generic+0x952/0xd30 net/core/dev.c:5158 __netif_receive_skb_core+0x1ce9/0x4690 net/core/dev.c:5492 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5785 process_backlog+0x662/0x15b0 net/core/dev.c:6117 __napi_poll+0xcb/0x490 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7074 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:943 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244