[v6.6] INFO: rcu detected stall in do_seccomp

0 views
Skip to first unread message

syzbot

unread,
Dec 31, 2025, 5:31:24 PM (14 days ago) 12/31/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5fa4793a2d2d Linux 6.6.119
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1185cafc580000
kernel config: https://syzkaller.appspot.com/x/.config?x=691a6769a86ac817
dashboard link: https://syzkaller.appspot.com/bug?extid=7e297f3f4eaf1d22bfdc
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/63699875f1dd/disk-5fa4793a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8506652fcb6f/vmlinux-5fa4793a.xz
kernel image: https://storage.googleapis.com/syzbot-assets/1b30ceed1710/bzImage-5fa4793a.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7e297f...@syzkaller.appspotmail.com

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (1 GPs behind) idle=127c/1/0x4000000000000000 softirq=72229/72231 fqs=0
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9777/1:b..l P13296/1:b..l
rcu: (detected by 0, t=10502 jiffies, g=83405, q=214 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13308 Comm: syz.0.1423 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:kasan_check_range+0x1c6/0x290 mm/kasan/generic.c:-1
Code: 85 e4 49 0f 49 dc 48 83 e3 f8 49 29 dc 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 49 ff cc 75 ee 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 45 84 ff 75 61 41 f7 c7 00 ff 00 00 75 5d 41 f7 c7 00 00 ff
RSP: 0018:ffffc900001f0b50 EFLAGS: 00000056
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81677b7b
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e4a2128
RBP: ffffc900001f0c70 R08: ffffffff8e4a212f R09: 1ffffffff1c94425
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: ffffffff8175e84d
R13: dffffc0000000000 R14: ffffffff97152470 R15: 1ffff9200003e178
FS: 00007fb929d856c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb929d84f98 CR3: 0000000062f3c000 CR4: 00000000003506e0
Call Trace:
<IRQ>
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:504 [inline]
cpu_online include/linux/cpumask.h:1082 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xab/0x8b0 kernel/locking/lockdep.c:5765
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
_raw_spin_unlock_irqrestore+0x71/0x110 kernel/locking/spinlock.c:194
debug_hrtimer_deactivate kernel/time/hrtimer.c:455 [inline]
debug_deactivate+0x1d/0x1d0 kernel/time/hrtimer.c:511
__run_hrtimer kernel/time/hrtimer.c:1718 [inline]
__hrtimer_run_queues+0x2bf/0xc40 kernel/time/hrtimer.c:1814
hrtimer_interrupt+0x3c9/0x9c0 kernel/time/hrtimer.c:1876
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline]
__sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:numa_node_id include/linux/topology.h:89 [inline]
RIP: 0010:get_task_policy mm/mempolicy.c:174 [inline]
RIP: 0010:alloc_pages_bulk_array_mempolicy+0x5dc/0x9e0 mm/mempolicy.c:2362
Code: 00 00 e8 77 0b ac ff 49 bd 00 00 00 00 00 fc ff df e9 7a 01 00 00 e8 63 0b ac ff e9 8e 00 00 00 e8 59 0b ac ff e9 84 00 00 00 <65> 8b 1d cd ef 29 7e bf ff ff ff ff 89 de e8 f1 0e ac ff 83 fb ff
RSP: 0018:ffffc900039dfa40 EFLAGS: 00000246
RAX: 1ffff1100f8bfa1a RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88807c5fbc00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: 0000000000000028 R09: 000000008131b300
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 00000000ffffffff
R13: 0000000000000000 R14: 0000000000402dc2 R15: ffff88801d798050
vm_area_alloc_pages mm/vmalloc.c:3055 [inline]
__vmalloc_area_node mm/vmalloc.c:3158 [inline]
__vmalloc_node_range+0x721/0x1320 mm/vmalloc.c:3339
__vmalloc_node mm/vmalloc.c:3404 [inline]
__vmalloc+0x7a/0x90 mm/vmalloc.c:3418
bpf_prog_alloc_no_stats+0x47/0x440 kernel/bpf/core.c:98
bpf_prog_alloc+0x3d/0x1b0 kernel/bpf/core.c:136
bpf_prog_create_from_user+0xa6/0x420 net/core/filter.c:1427
seccomp_prepare_filter kernel/seccomp.c:680 [inline]
seccomp_prepare_user_filter kernel/seccomp.c:717 [inline]
seccomp_set_mode_filter kernel/seccomp.c:1933 [inline]
do_seccomp+0x7ac/0xd90 kernel/seccomp.c:2053
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb928f8f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb929d85038 EFLAGS: 00000246 ORIG_RAX: 000000000000013d
RAX: ffffffffffffffda RBX: 00007fb9291e6180 RCX: 00007fb928f8f749
RDX: 0000200000000000 RSI: 000000000000000c RDI: 0000000000000001
RBP: 00007fb929013f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb9291e6218 R14: 00007fb9291e6180 R15: 00007ffc2370f068
</TASK>
task:syz.9.1422 state:R running task stack:25320 pid:13296 ppid:7535 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6866
preempt_schedule+0xab/0xc0 kernel/sched/core.c:6890
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
zap_pte_range mm/memory.c:1523 [inline]
zap_pmd_range mm/memory.c:1571 [inline]
zap_pud_range mm/memory.c:1600 [inline]
zap_p4d_range mm/memory.c:1621 [inline]
unmap_page_range+0x236f/0x2fe0 mm/memory.c:1642
unmap_vmas+0x25e/0x3a0 mm/memory.c:1732
exit_mmap+0x200/0xb50 mm/mmap.c:3302
__mmput+0x118/0x3c0 kernel/fork.c:1355
exit_mm+0x1da/0x2c0 kernel/exit.c:569
do_exit+0x88e/0x23c0 kernel/exit.c:870
do_group_exit+0x21b/0x2d0 kernel/exit.c:1024
__do_sys_exit_group kernel/exit.c:1035 [inline]
__se_sys_exit_group kernel/exit.c:1033 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f14d198f749
RSP: 002b:00007ffdce1e86e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f14d198f749
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdce1e874c R08: 0000001ece1e87df R09: 00000000000927c0
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000013e
R13: 00000000000927c0 R14: 00000000000ae947 R15: 00007ffdce1e87a0
</TASK>
task:syz-executor state:R running task stack:21736 pid:9777 ppid:9764 flags:0x00004002
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009
irqentry_exit+0x67/0x70 kernel/entry/common.c:438
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:692
RIP: 0010:unwind_get_return_address+0x0/0xc0 arch/x86/kernel/unwind_orc.c:365
Code: 3f ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 49 ff ff ff 48 89 df e8 fe 5c a2 00 e9 3c ff ff ff e8 b4 d4 2c 09 0f 1f 40 00 <f3> 0f 1e fa 55 41 57 41 56 53 48 89 fb 49 be 00 00 00 00 00 fc ff
RSP: 0018:ffffc900051bf3e0 EFLAGS: 00000293
RAX: ffffffff81321dc2 RBX: ffffc900051bf4a0 RCX: ffff88807a7a1e00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: ffffc900051bf3e8
RBP: ffffc900051bf470 R08: ffff88807a7a1e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81e621ce
R13: 1ffff92000a37ea8 R14: ffffffff81746d20 R15: ffffc900051bf3e8
arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
save_stack+0xf7/0x1f0 mm/page_owner.c:128
__reset_page_owner+0x4e/0x190 mm/page_owner.c:149
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1154 [inline]
free_unref_page_prepare+0x7ce/0x8e0 mm/page_alloc.c:2336
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2475
release_pages+0x1fa0/0x2220 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x5d0/0x1a40 mm/shmem.c:1026
shmem_truncate_range mm/shmem.c:1135 [inline]
shmem_evict_inode+0x273/0xa70 mm/shmem.c:1264
evict+0x486/0x870 fs/inode.c:705
do_unlinkat+0x37b/0x570 fs/namei.c:4406
__do_sys_unlink fs/namei.c:4447 [inline]
__se_sys_unlink fs/namei.c:4445 [inline]
__x64_sys_unlink+0x49/0x50 fs/namei.c:4445
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6fab78ecf7
RSP: 002b:00007ffe762e8fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6fab78ecf7
RDX: 00007ffe762e9010 RSI: 00007ffe762e90a0 RDI: 00007ffe762e90a0
RBP: 00007ffe762e90a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe762ea130
R13: 00007f6fab813d7d R14: 00000000000ae991 R15: 00007ffe762ea170
</TASK>
rcu: rcu_preempt kthread starved for 10502 jiffies! g83405 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:26568 pid:17 ppid:2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
schedule+0xbd/0x170 kernel/sched/core.c:6773
schedule_timeout+0x160/0x280 kernel/time/timer.c:2168
rcu_gp_fqs_loop+0x302/0x1560 kernel/rcu/tree.c:1667
rcu_gp_kthread+0x99/0x380 kernel/rcu/tree.c:1866
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 12861 Comm: kworker/u4:25 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0xddf/0x1130 kernel/smp.c:855
Code: 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 6a d7 0a 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 a5 d3 0a 00 eb 38 f3 90 <42> 0f b6 04 2b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 89 d3
RSP: 0000:ffffc900043ef780 EFLAGS: 00000293
RAX: ffffffff817abd37 RBX: 1ffff110171e826d RCX: ffff88802322da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900043ef900 R08: ffffffff90d94507 R09: 1ffffffff21b28a0
R10: dffffc0000000000 R11: fffffbfff21b28a1 R12: ffff8880b8f41368
R13: dffffc0000000000 R14: ffff8880b8e3d148 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb91ee75000 CR3: 000000000cb30000 CR4: 00000000003506f0
Call Trace:
<TASK>
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1022
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2222 [inline]
text_poke_bp_batch+0x318/0x930 arch/x86/kernel/alternative.c:2432
text_poke_flush arch/x86/kernel/alternative.c:2623 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2630
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207
static_key_enable+0x1a/0x20 kernel/jump_label.c:220
toggle_allocation_gate+0xaa/0x250 mm/kfence/core.c:831
process_one_work kernel/workqueue.c:2634 [inline]
process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages