rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16430/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=178353, q=711 ncpus=2)
task:syz.1.1474 state:R running task stack:25872 pid:16430 tgid:16429 ppid:15255 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x56/0x70 kernel/kcov.c:221
Code: 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b 8b 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 00 00 48 8b 01 <48> 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 c3 cc cc cc cc 0f
RSP: 0018:ffffc90003e3f040 EFLAGS: 00000246
RAX: 000000000003ffff RBX: 0000000000000001 RCX: ffffc9000e14f000
RDX: 0000000000040000 RSI: ffffffff81f1cdd0 RDI: 0000000000000001
RBP: ffff8880182195d0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000140cca
R13: 1ffff920007c7e13 R14: 0000000000c202a9 R15: 0000000000000000
rcu_lock_release include/linux/rcupdate.h:336 [inline]
rcu_read_unlock include/linux/rcupdate.h:869 [inline]
page_ext_put+0x30/0xd0 mm/page_ext.c:560
__set_page_owner+0x147/0x560 mm/page_owner.c:328
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1493
prep_new_page mm/page_alloc.c:1501 [inline]
get_page_from_freelist+0x1351/0x2e50 mm/page_alloc.c:3442
__alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4700
alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263
folio_alloc_mpol_noprof+0x36/0xd0 mm/mempolicy.c:2281
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1722
shmem_alloc_and_add_folio+0x19c/0xce0 mm/shmem.c:1782
shmem_get_folio_gfp+0xa62/0x15e0 mm/shmem.c:2188
shmem_fault+0x205/0xaf0 mm/shmem.c:2388
__do_fault+0x10a/0x490 mm/memory.c:4655
do_read_fault mm/memory.c:5061 [inline]
do_fault mm/memory.c:5191 [inline]
do_pte_missing mm/memory.c:3947 [inline]
handle_pte_fault mm/memory.c:5522 [inline]
__handle_mm_fault+0x37c4/0x5660 mm/memory.c:5665
handle_mm_fault+0x44e/0x7b0 mm/memory.c:5833
faultin_page mm/gup.c:1194 [inline]
__get_user_pages+0x475/0x15c0 mm/gup.c:1493
populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1932
__mm_populate+0x1d6/0x380 mm/gup.c:2035
mm_populate include/linux/mm.h:3415 [inline]
vm_mmap_pgoff+0x293/0x360 mm/util.c:593
ksys_mmap_pgoff+0x7d/0x5d0 mm/mmap.c:1514
__do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
__se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline]
__x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f76fdd799b9
RSP: 002b:00007f76feaa8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f76fdf15f80 RCX: 00007f76fdd799b9
RDX: 000000000200000d RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007f76fdde78d8 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000004008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f76fdf15f80 R15: 00007ffee3cdbd48
rcu: rcu_preempt kthread starved for 10537 jiffies! g178353 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:27680 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034
rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16451 Comm: sed Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline]
RIP: 0010:kasan_check_range+0x2b/0x1a0 mm/kasan/generic.c:189
Code: 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff <48> 39 f8 0f 83 b3 00 00 00 4c 8d 54 37 ff 48 89 fd 48 b8 00 00 00
RSP: 0000:ffffc9000320f8d0 EFLAGS: 00000092
RAX: ffff7fffffffffff RBX: 1ffff92000641f20 RCX: ffffffff81686cf9
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9012e2d8
RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000641f28
R10: 0000000000000003 R11: 0000000000000000 R12: ffffffff95166be8
R13: 000000000000001a R14: 000000000003db0c R15: ffff88805c248000
FS: 00007f2e95450380(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2e954cb19c CR3: 0000000045898000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:562 [inline]
cpu_online include/linux/cpumask.h:1105 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xa9/0x6f0 kernel/locking/lockdep.c:5770
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
_raw_spin_unlock_irqrestore+0x1a/0x80 kernel/locking/spinlock.c:194
__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020
free_pages_prepare mm/page_alloc.c:1101 [inline]
free_unref_page+0x24f/0xe40 mm/page_alloc.c:2612
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3988 [inline]
slab_alloc_node mm/slub.c:4037 [inline]
kmem_cache_alloc_noprof+0x121/0x2f0 mm/slub.c:4044
anon_vma_alloc mm/rmap.c:94 [inline]
__anon_vma_prepare+0x344/0x5e0 mm/rmap.c:202
vmf_anon_prepare+0x11c/0x250 mm/memory.c:3289
do_anonymous_page mm/memory.c:4551 [inline]
do_pte_missing mm/memory.c:3945 [inline]
handle_pte_fault mm/memory.c:5522 [inline]
__handle_mm_fault+0x2a19/0x5660 mm/memory.c:5665
handle_mm_fault+0x44e/0x7b0 mm/memory.c:5833
do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f2e954ae124
Code: 53 48 83 ec 20 64 48 8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 e8 dc fa ff ff 48 8d 15 81 d0 01 00 48 c7 44 24 08 00 00 00 00 <89> 02 48 8b 05 3b be 01 00 48 83 38 00 0f 85 eb 00 00 00 48 8d 3d
RSP: 002b:00007ffe6230bae0 EFLAGS: 00010206
RAX: 0000000000001000 RBX: 00007f2e954c94f8 RCX: 0000000000000002
RDX: 00007f2e954cb19c RSI: 00007ffe6230bbb8 RDI: 000000000000001e
RBP: 00007f2e954c94f0 R08: 0000000000000000 R09: 000000000000000d
R10: 00007ffe6230b7f0 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffe6230bbb8 R14: 00007ffe6230bbe0 R15: 0000000000000000