syzbot
INFO: rcu detected stall in shmem_fault (3)
Status:
upstream: reported on 2026/11/28 03:40
Reported-by: syzbot+7ad28d318180d5d0f24b@syzkaller.appspotmail.com
First crash: 1d04h, last: 1d04h
Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7486/1:b..l
(detected by 0, t=10502 jiffies, g=45909, q=133 ncpus=1)
task:syz.5.752 state:R running task stack:25328 pid:7486 ppid:6152 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5257 [inline]
__schedule+0x1089/0x4140 kernel/sched/core.c:6584
preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6896
irqentry_exit+0x63/0x70 kernel/entry/common.c:442
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5866
Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc90005277068 EFLAGS: 00000206
RAX: bf6d9c0263a3ad00 RBX: ffff8880537eda00 RCX: bf6d9c0263a3ad00
RDX: ffffc9001c400000 RSI: ffffffff8aac34e0 RDI: ffffffff8afe9420
RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff236d848
R10: dffffc0000000000 R11: fffffbfff236d849 R12: 0000000000000001
R13: 0000000000000246 R14: ffffffff8db2de20 R15: ffff8880537ee508
lookup_page_ext mm/page_ext.c:277 [inline]
page_ext_get+0x18f/0x2a0 mm/page_ext.c:158
__page_table_check_zero+0x134/0x4b0 mm/page_table_check.c:148
prep_new_page mm/page_alloc.c:2568 [inline]
get_page_from_freelist+0x208b/0x21a0 mm/page_alloc.c:4368
__alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5668
__folio_alloc+0xe/0x30 mm/page_alloc.c:5700
vma_alloc_folio+0x496/0x910 mm/mempolicy.c:2236
shmem_alloc_folio mm/shmem.c:1628 [inline]
shmem_alloc_and_acct_folio+0x463/0xbd0 mm/shmem.c:1652
shmem_get_folio_gfp+0x1439/0x35e0 mm/shmem.c:1978
shmem_fault+0x1b6/0x790 mm/shmem.c:2193
__do_fault+0x13b/0x4e0 mm/memory.c:4287
do_read_fault mm/memory.c:4638 [inline]
do_fault mm/memory.c:4767 [inline]
handle_pte_fault mm/memory.c:5038 [inline]
__handle_mm_fault mm/memory.c:5180 [inline]
handle_mm_fault+0x2610/0x3d40 mm/memory.c:5301
faultin_page mm/gup.c:1026 [inline]
__get_user_pages+0x40d/0xec0 mm/gup.c:1250
populate_vma_page_range+0x214/0x2b0 mm/gup.c:1607
__mm_populate+0x25c/0x380 mm/gup.c:1721
mm_populate include/linux/mm.h:2891 [inline]
vm_mmap_pgoff+0x212/0x2d0 mm/util.c:525
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f07c47a9b59
RSP: 002b:00007f07c5627028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f07c4a35fa0 RCX: 00007f07c47a9b59
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f07c483a18b R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f07c4a36038 R14: 00007f07c4a35fa0 R15: 00007ffe3d487c48
</TASK>
rcu: rcu_preempt kthread starved for 10500 jiffies! g45909 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:27056 pid:16 ppid:2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5257 [inline]
__schedule+0x1089/0x4140 kernel/sched/core.c:6584
schedule+0xb9/0x180 kernel/sched/core.c:6660
schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2169
rcu_gp_fqs_loop+0x303/0x13a0 kernel/rcu/tree.c:1706
rcu_gp_kthread+0x9a/0x400 kernel/rcu/tree.c:1905
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 7506 Comm: syz.2.755 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
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: 00 00 00 66 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ce 8f 20 f7 48 89 df e8 36 62 21 f7 e8 21 d6 44 f7 fb bf 01 00 00 00 <e8> 46 c6 14 f7 65 8b 05 57 3c be 75 85 c0 74 02 5b c3 e8 64 50 bc
RSP: 0018:ffffc9000518fba0 EFLAGS: 00000286
RAX: 80010fb1c2959600 RBX: ffff888055773780 RCX: 80010fb1c2959600
RDX: dffffc0000000000 RSI: ffffffff8aac2360 RDI: 0000000000000001
RBP: ffff888055773c18 R08: ffff888055773783 R09: 1ffff1100aaee6f0
R10: dffffc0000000000 R11: ffffed100aaee6f1 R12: 0000000000000020
R13: 0000000000000021 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f03271b16c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0326392cc0 CR3: 000000007a157000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
spin_unlock_irq include/linux/spinlock.h:401 [inline]
get_signal+0x123a/0x1440 kernel/signal.c:2900
arch_do_signal_or_restart+0xc4/0x1310 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
__syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f032626639a
Code: 8d 04 c0 48 c1 e0 04 48 83 7c 02 28 00 74 0f 48 8b 44 24 08 c7 80 90 00 00 00 16 00 00 00 48 8b 44 24 08 80 3d 4c f3 ef 00 00 <c6> 80 f0 00 00 00 00 74 27 80 3d 29 f3 ef 00 00 75 0d 80 3d 21 f3
RSP: 002b:00007f03271b1050 EFLAGS: 00000202
RAX: 00007f0326635fa0 RBX: 00007f0326635fa0 RCX: 00007f0326635fa0
RDX: 00007f03264c3160 RSI: 236bd4336e4642df RDI: 0000000000000000
RBP: 00007f032643a18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0326636038 R14: 00007f0326635fa0 R15: 00007ffe34f84168
</TASK>
* Struck through repros no longer work on HEAD.