rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4139/1:b..l P4118/1:b..l (detected by 1, t=10502 jiffies, g=11445, q=138 ncpus=2) task:syz.1.98 state:R running task stack:21800 pid:4118 ppid:3560 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] filemap_map_pages+0xffa/0x12c0 mm/filemap.c:3470 do_fault_around mm/memory.c:4581 [inline] do_read_fault mm/memory.c:4607 [inline] do_fault mm/memory.c:4741 [inline] handle_pte_fault mm/memory.c:5013 [inline] __handle_mm_fault mm/memory.c:5155 [inline] handle_mm_fault+0x33e2/0x5340 mm/memory.c:5276 faultin_page mm/gup.c:1009 [inline] __get_user_pages+0x4f3/0x1190 mm/gup.c:1233 populate_vma_page_range+0x217/0x2b0 mm/gup.c:1590 __mm_populate+0x275/0x440 mm/gup.c:1704 mm_populate include/linux/mm.h:2797 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:525 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:0x7fb800b75bd9 RSP: 002b:00007fb8009ff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fb800d04038 RCX: 00007fb800b75bd9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fb800be4aa1 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb800d04038 R15: 00007fff6493b3f8 task:syz.0.105 state:R running task stack:24808 pid:4139 ppid:3547 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:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 65 f0 90 8c eb 0a 48 c7 c7 9d f0 90 8c 4c 89 fe e8 d6 0d a7 08 31 db eb d7 cc cc <89> f6 48 8b 0c 24 31 d2 e9 d3 ec ff ff 0f 1f 00 89 f6 48 8b 0c 24 RSP: 0018:ffffc9000a87ed70 EFLAGS: 00000202 RAX: 1ffff11002c956cb RBX: ffff88805a8fe1f8 RCX: fefefefefefefeff RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88805a8fe1f8 RBP: 0000000000000008 R08: dffffc0000000000 R09: ffffed100b51fc3f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880164ab658 R13: ffff88805a8fe1f0 R14: 0000000000000008 R15: 0000000000000000 read_word_at_a_time+0xe/0x20 include/asm-generic/rwonce.h:85 strscpy+0x89/0x220 lib/string.c:211 __set_page_owner_handle mm/page_owner.c:175 [inline] __set_page_owner+0x20a/0x390 mm/page_owner.c:195 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2517 prep_new_page mm/page_alloc.c:2524 [inline] get_page_from_freelist+0x322e/0x33b0 mm/page_alloc.c:4283 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5551 __folio_alloc+0xf/0x30 mm/page_alloc.c:5583 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2243 shmem_alloc_folio mm/shmem.c:1589 [inline] shmem_alloc_and_acct_folio+0x5a8/0xd50 mm/shmem.c:1613 shmem_get_folio_gfp+0x13f0/0x3470 mm/shmem.c:1941 shmem_fault+0x235/0x9c0 mm/shmem.c:2156 __do_fault+0x136/0x4f0 mm/memory.c:4261 do_read_fault mm/memory.c:4612 [inline] do_fault mm/memory.c:4741 [inline] handle_pte_fault mm/memory.c:5013 [inline] __handle_mm_fault mm/memory.c:5155 [inline] handle_mm_fault+0x3412/0x5340 mm/memory.c:5276 faultin_page mm/gup.c:1009 [inline] __get_user_pages+0x4f3/0x1190 mm/gup.c:1233 populate_vma_page_range+0x217/0x2b0 mm/gup.c:1590 __mm_populate+0x275/0x440 mm/gup.c:1704 mm_populate include/linux/mm.h:2797 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:525 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:0x7f0a00975bd9 RSP: 002b:00007f0a0176c048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f0a00b03f60 RCX: 00007f0a00975bd9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f0a009e4aa1 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0a00b03f60 R15: 00007fffe1d94b98 rcu: rcu_preempt kthread timer wakeup didn't happen for 10567 jiffies! g11445 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=4584 rcu: rcu_preempt kthread starved for 10568 jiffies! g11445 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:27064 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: CPU: 1 PID: 4140 Comm: syz.2.107 Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: f1 bc f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4e 20 d5 f6 48 89 df e8 b6 5d d6 f6 e8 01 ea fb f6 fb bf 01 00 00 00 26 f6 c8 f6 65 8b 05 87 02 6d 75 85 c0 74 02 5b c3 e8 34 26 6b RSP: 0018:ffffc9000a85fb30 EFLAGS: 00000286 RAX: ef744e9b9d3e2e00 RBX: ffff88807a8dae40 RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: 0000000000000001 RBP: ffffc9000a85fc70 R08: dffffc0000000000 R09: ffffed100f51b5c9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100f51b65b R13: 000000001c000004 R14: 0000000000000021 R15: ffff88807a8db2d8 FS: 0000555557149500(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000079513000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2865 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f68ea85516c Code: 5d 41 5e 41 5f c3 0f 1f 84 00 00 00 00 00 41 b8 01 00 00 00 41 89 db 89 de 8d 7b 04 89 d8 89 c1 81 e1 ff 1f 00 00 49 8b 14 cf <48> 39 f2 0f 84 5f ff ff ff 48 85 d2 0f 84 d2 01 00 00 83 c0 01 39 RSP: 002b:00007fffdc9353b0 EFLAGS: 00000202 RAX: 0000000083fa6d98 RBX: ffffffff83fa6d97 RCX: 0000000000000d98 RDX: 0000000083fa6d97 RSI: 0000000083fa6d97 RDI: 0000000083fa6d9b RBP: 00007f68eb635720 R08: 0000000000000001 R09: 00007f68e9dfd000 R10: 0000000000000008 R11: 0000000083fa6d97 R12: ffffffff83fa6b0e R13: 00007f68eab040d0 R14: 0000000000000eca R15: 00007f68eaaf0000 sched: RT throttling activated