[syzbot] [bpf?] INFO: rcu detected stall in vma_merge_new_range (3)

1 view
Skip to first unread message

syzbot

unread,
Jan 26, 2026, 8:07:32 PMĀ (yesterday)Ā Jan 26
to and...@kernel.org, a...@kernel.org, b...@vger.kernel.org, dan...@iogearbox.net, edd...@gmail.com, hao...@google.com, john.fa...@gmail.com, jo...@kernel.org, kps...@kernel.org, linux-...@vger.kernel.org, marti...@linux.dev, s...@fomichev.me, so...@kernel.org, syzkall...@googlegroups.com, yongho...@linux.dev
Hello,

syzbot found the following issue on:

HEAD commit: 62085877ae65 Merge tag 'kbuild-fixes-6.19-2' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14702ffc580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f1fac0919970b671
dashboard link: https://syzkaller.appspot.com/bug?extid=316c0070a0341d2661a2
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13ece05a580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ac88c4a42b92/disk-62085877.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/65aa8ae919a4/vmlinux-62085877.xz
kernel image: https://storage.googleapis.com/syzbot-assets/07d015936518/bzImage-62085877.xz

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

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6397/1:b..l
rcu: (detected by 0, t=10503 jiffies, g=12021, q=830 ncpus=2)
task:sed state:R running task stack:25736 pid:6397 tgid:6397 ppid:6396 task_flags:0x400000 flags:0x00080000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5260 [inline]
__schedule+0xfe4/0x5e10 kernel/sched/core.c:6867
preempt_schedule_irq+0x50/0x90 kernel/sched/core.c:7194
irqentry_exit+0x17b/0x670 kernel/entry/common.c:216
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:lock_release+0x19e/0x2e0 kernel/locking/lockdep.c:5893
Code: ff 65 0f c1 05 5b 5d 01 12 83 f8 01 0f 85 f7 00 00 00 9c 58 f6 c4 02 0f 85 0c 01 00 00 41 f7 c6 00 02 00 00 0f 85 99 00 00 00 <48> 8b 44 24 10 65 48 2b 05 ed 15 01 12 0f 85 0f 01 00 00 48 83 c4
RSP: 0018:ffffc9000454eec8 EFLAGS: 00000206
RAX: 0000000000000046 RBX: ffffffff8e5e3360 RCX: ffffc9000454eed4
RDX: 0000000000000001 RSI: ffffffff8dc1f455 RDI: ffffffff8bfa35a0
RBP: ffffffff821833aa R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802ff00000
R13: ffffc9000454f028 R14: 0000000000000206 R15: 0000000000000002
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:897 [inline]
is_bpf_text_address+0x8f/0x1a0 kernel/bpf/core.c:746
kernel_text_address kernel/extable.c:125 [inline]
kernel_text_address+0x8d/0x100 kernel/extable.c:94
__kernel_text_address+0xd/0x30 kernel/extable.c:79
unwind_get_return_address+0x59/0xa0 arch/x86/kernel/unwind_orc.c:385
arch_stack_walk+0xa6/0xf0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_noprof+0x2ad/0x780 mm/slub.c:5270
mt_alloc_one lib/maple_tree.c:174 [inline]
mas_alloc_nodes+0x280/0x390 lib/maple_tree.c:1110
mas_preallocate+0x39c/0xf10 lib/maple_tree.c:5194
vma_iter_prealloc mm/vma.h:505 [inline]
commit_merge+0x3e3/0xbd0 mm/vma.c:751
vma_expand+0x7c3/0xd50 mm/vma.c:1200
vma_merge_new_range+0x2ce/0xa30 mm/vma.c:1099
__mmap_region+0x85d/0x2820 mm/vma.c:2747
mmap_region+0x180/0x3e0 mm/vma.c:2830
do_mmap+0xc63/0x12f0 mm/mmap.c:558
vm_mmap_pgoff+0x29e/0x470 mm/util.c:581
ksys_mmap_pgoff+0x328/0x5b0 mm/mmap.c:604
__do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline]
__se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline]
__x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xc9/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3f299f3242
RSP: 002b:00007ffdac2ae3a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f3f2989b000 RCX: 00007f3f299f3242
RDX: 0000000000000001 RSI: 0000000000057000 RDI: 00007f3f2989b000
RBP: 0000000000000812 R08: 0000000000000003 R09: 0000000000176000
R10: 0000000000000812 R11: 0000000000000206 R12: 00007ffdac2ae430
R13: 00007f3f299c75f0 R14: 00007ffdac2aebe0 R15: 00000fffb5855c78
</TASK>
rcu: rcu_preempt kthread starved for 10551 jiffies! g12021 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:29112 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5260 [inline]
__schedule+0xfe4/0x5e10 kernel/sched/core.c:6867
__schedule_loop kernel/sched/core.c:6949 [inline]
schedule+0xdd/0x390 kernel/sched/core.c:6964
schedule_timeout+0x127/0x280 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x1a9/0xb00 kernel/rcu/tree.c:2083
rcu_gp_kthread+0x21e/0x320 kernel/rcu/tree.c:2285
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x3e6/0x1370 drivers/net/wireless/virtual/mac80211_hwsim.c:1814
Code: fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 23 0f 00 00 41 02 9d 4c 01 00 00 <88> 9c 24 e6 00 00 00 e8 ce f5 f2 fa 49 8d bc 24 b8 3e 00 00 48 b8
RSP: 0018:ffffc90000007b18 EFLAGS: 00000296
RAX: 0000000000000007 RBX: 00000000ffffffe2 RCX: ffffffff87140972
RDX: 0000000000000000 RSI: ffffffff871409ee RDI: ffff888030b16bac
RBP: ffff888032dfe500 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880333c3100
R13: ffff888030b16a60 R14: ffff8880333c3398 R15: 0000000000070000
FS: 0000000000000000(0000) GS:ffff8881245dc000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77ff200000 CR3: 0000000028289000 CR4: 00000000003526f0
Call Trace:
<IRQ>
mac80211_hwsim_tx_frame+0x1f6/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2264
__mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2281 [inline]
mac80211_hwsim_beacon_tx+0x57e/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2365
__iterate_interfaces+0x2e6/0x650 net/mac80211/util.c:761
ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:797
mac80211_hwsim_beacon+0x105/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2395
__run_hrtimer kernel/time/hrtimer.c:1777 [inline]
__hrtimer_run_queues+0x516/0x990 kernel/time/hrtimer.c:1841
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1858
handle_softirqs+0x1ea/0x910 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:82
Code: 76 78 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 cc 14 00 fb f4 <e9> fc 31 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
RSP: 0018:ffffffff8e207e00 EFLAGS: 00000242
RAX: 000000000015e0e3 RBX: ffffffff8e297ac0 RCX: ffffffff8b76b4b5
RDX: 0000000000000000 RSI: ffffffff8dc45440 RDI: ffffffff8bfa35a0
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed101708673d
R10: ffff8880b84339eb R11: 0000000000000000 R12: fffffbfff1c52f58
R13: 0000000000000000 R14: ffffffff90b737d0 R15: 0000000000000000
arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline]
default_idle+0x9/0x10 arch/x86/kernel/process.c:767
default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122
cpuidle_idle_call kernel/sched/idle.c:191 [inline]
do_idle+0x35b/0x4b0 kernel/sched/idle.c:332
cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:430
rest_init+0x251/0x260 init/main.c:757
start_kernel+0x47a/0x480 init/main.c:1206
x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
x86_64_start_kernel+0x122/0x130 arch/x86/kernel/head64.c:291
common_startup_64+0x13e/0x148
</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 syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

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

syzbot

unread,
6:20 AMĀ (14 hours ago)Ā 6:20 AM
to linux-...@vger.kernel.org, syzkall...@googlegroups.com
For archival purposes, forwarding an incoming command email to
linux-...@vger.kernel.org, syzkall...@googlegroups.com.

***

Subject: [PATCH] x86/stacktrace: Prevent RCU stalls during deep stack unwinding
Author: karti...@gmail.com

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master


When KASAN is enabled, stack unwinding for allocation tracking can
become expensive. Real-time tasks that perform many allocations
(e.g., VMA operations with maple tree preallocation) can monopolize
the CPU during deep stack traces, preventing the RCU grace period
kthread from running and causing RCU stalls.

Add periodic yielding during stack unwinding to allow other tasks,
particularly the RCU grace period kthread, to make progress. Yield
every 16 frames or when rescheduling is needed, similar to the
approach used in mm/vmalloc.c for KASAN operations.

Reported-by: syzbot+316c00...@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=316c0070a0341d2661a2
Signed-off-by: Deepanshu Kartikey <karti...@gmail.com>
---
arch/x86/kernel/stacktrace.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c
index ee117fcf46ed..b7d2912a715b 100644
--- a/arch/x86/kernel/stacktrace.c
+++ b/arch/x86/kernel/stacktrace.c
@@ -17,6 +17,7 @@ void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
{
struct unwind_state state;
unsigned long addr;
+ unsigned int frame_count = 0;

if (regs && !consume_entry(cookie, regs->ip))
return;
@@ -26,6 +27,12 @@ void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
addr = unwind_get_return_address(&state);
if (!addr || !consume_entry(cookie, addr))
break;
+
+ if (IS_ENABLED(CONFIG_KASAN) &&
+ (need_resched() || ++frame_count >= 16)) {
+ cond_resched();
+ frame_count = 0;
+ }
}
}

--
2.43.0

syzbot

unread,
7:59 AMĀ (13 hours ago)Ā 7:59 AM
to karti...@gmail.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

1] ? lock_acquire+0x17c/0x330
[ 38.431995][ C1] ? __pfx_try_to_wake_up+0x10/0x10
[ 38.432010][ C1] ? mark_held_locks+0x40/0x70
[ 38.432022][ C1] ? __pfx_call_rcu_tasks_generic_timer+0x10/0x10
[ 38.432039][ C1] rcuwait_wake_up+0xac/0x290
[ 38.432051][ C1] call_timer_fn+0x19a/0x590
[ 38.432069][ C1] ? __pfx_call_timer_fn+0x10/0x10
[ 38.432088][ C1] ? __pfx_call_rcu_tasks_generic_timer+0x10/0x10
[ 38.432104][ C1] ? mark_held_locks+0x40/0x70
[ 38.432116][ C1] ? __pfx_call_rcu_tasks_generic_timer+0x10/0x10
[ 38.432131][ C1] __run_timers+0x757/0xac0
[ 38.432144][ C1] ? __pfx___run_timers+0x10/0x10
[ 38.432163][ C1] timer_expire_remote+0x102/0x170
[ 38.432177][ C1] ? __pfx_timer_expire_remote+0x10/0x10
[ 38.432190][ C1] ? _raw_spin_unlock_irq+0x23/0x50
[ 38.432200][ C1] ? lockdep_hardirqs_on+0x78/0x100
[ 38.432213][ C1] tmigr_handle_remote_up+0x523/0xa50
[ 38.432232][ C1] ? __pfx_tmigr_handle_remote_up+0x10/0x10
[ 38.432250][ C1] ? find_held_lock+0x2b/0x80
[ 38.432267][ C1] __walk_groups_from+0x56/0x190
[ 38.432279][ C1] ? __pfx_tmigr_handle_remote_up+0x10/0x10
[ 38.432297][ C1] tmigr_handle_remote+0x2cb/0x380
[ 38.432313][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10
[ 38.432331][ C1] ? run_timer_base+0x121/0x190
[ 38.432341][ C1] ? __pfx_run_timer_base+0x10/0x10
[ 38.432353][ C1] run_timer_softirq+0x3a/0x50
[ 38.432363][ C1] handle_softirqs+0x1ea/0x910
[ 38.432380][ C1] ? __pfx_handle_softirqs+0x10/0x10
[ 38.432398][ C1] __irq_exit_rcu+0xef/0x150
[ 38.432413][ C1] irq_exit_rcu+0x9/0x30
[ 38.432429][ C1] sysvec_apic_timer_interrupt+0xa3/0xc0
[ 38.432441][ C1] </IRQ>
[ 38.432445][ C1] <TASK>
[ 38.432449][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 38.432462][ C1] RIP: 0010:its_return_thunk+0x0/0x10
[ 38.432479][ C1] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <c3> cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 e9 ab c8 fb f5 cc
[ 38.432490][ C1] RSP: 0000:ffffc90000067870 EFLAGS: 00000293
[ 38.432500][ C1] RAX: 0000000000000000 RBX: ffffc90000067d00 RCX: ffffc90000067b78
[ 38.432508][ C1] RDX: ffff8881412a0000 RSI: ffffffff828276b4 RDI: ffffc90000067d98
[ 38.432516][ C1] RBP: 0000000000000000 R08: 0000000000000006 R09: ffffff0c297ff000
[ 38.432523][ C1] R10: ffffff0c297af000 R11: 00000000000075a9 R12: ffffff0c297b0000
[ 38.432531][ C1] R13: ffffffff81b9b0e0 R14: dffffc0000000000 R15: ffffffff8ba473c0
[ 38.432540][ C1] ? __pfx_effective_prot_pte+0x10/0x10
[ 38.432554][ C1] ? ptdump_pte_entry+0x94/0x100
[ 38.432574][ C1] ptdump_pte_entry+0x94/0x100
[ 38.432591][ C1] walk_pte_range_inner+0x258/0x360
[ 38.432608][ C1] ? __pfx_walk_pte_range_inner+0x10/0x10
[ 38.432622][ C1] ? ptdump_pmd_entry+0x286/0x430
[ 38.432641][ C1] walk_pgd_range+0xecb/0x1eb0
[ 38.432657][ C1] ? __pfx_ptdump_pte_entry+0x10/0x10
[ 38.432677][ C1] ? __pfx_walk_pgd_range+0x10/0x10
[ 38.432694][ C1] walk_page_range_debug+0x2fd/0x370
[ 38.432708][ C1] ? __pfx_walk_page_range_debug+0x10/0x10
[ 38.432726][ C1] ? __pfx_down_write+0x10/0x10
[ 38.432742][ C1] ptdump_walk_pgd+0x129/0x330
[ 38.432761][ C1] ptdump_walk_pgd_level_core+0x26c/0x300
[ 38.432776][ C1] ? __pfx_ptdump_walk_pgd_level_core+0x10/0x10
[ 38.432792][ C1] ? __pfx_note_page_pte+0x10/0x10
[ 38.432803][ C1] ? __pfx_note_page_pmd+0x10/0x10
[ 38.432815][ C1] ? __pfx_note_page_pud+0x10/0x10
[ 38.432826][ C1] ? __pfx_note_page_p4d+0x10/0x10
[ 38.432838][ C1] ? __pfx_note_page_pgd+0x10/0x10
[ 38.432849][ C1] ? __pfx_note_page_flush+0x10/0x10
[ 38.432861][ C1] ? __pfx_effective_prot_pte+0x10/0x10
[ 38.432873][ C1] ? __pfx_effective_prot_pmd+0x10/0x10
[ 38.432885][ C1] ? __pfx_effective_prot_pud+0x10/0x10
[ 38.432896][ C1] ? __pfx_effective_prot_p4d+0x10/0x10
[ 38.432908][ C1] ? __pfx_effective_prot_pgd+0x10/0x10
[ 38.432923][ C1] ? free_reserved_area.cold+0x18/0x1d
[ 38.432943][ C1] ? free_init_pages+0x9b/0xe0
[ 38.432955][ C1] ptdump_walk_pgd_level_checkwx+0x63/0x90
[ 38.432969][ C1] kernel_init+0x60/0x1e0
[ 38.432984][ C1] ? _raw_spin_unlock_irq+0x2e/0x50
[ 38.432994][ C1] ? __pfx_kernel_init+0x10/0x10
[ 38.433009][ C1] ret_from_fork+0x754/0xaf0
[ 38.433023][ C1] ? __pfx_ret_from_fork+0x10/0x10
[ 38.433037][ C1] ? __switch_to+0x7b9/0x10c0
[ 38.433053][ C1] ? __pfx_kernel_init+0x10/0x10
[ 38.433069][ C1] ret_from_fork_asm+0x1a/0x30
[ 38.433084][ C1] </TASK>
[ 39.057319][ T1] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 39.069691][ T1] Failed to set sysctl parameter 'max_rcu_stall_to_panic=1': parameter not found
[ 39.079497][ T1] Run /sbin/init as init process
[ 39.304818][ C1] BUG: sleeping function called from invalid context at arch/x86/kernel/stacktrace.c:33
[ 39.314552][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1
[ 39.323349][ C1] preempt_count: 101, expected: 0
[ 39.328407][ C1] RCU nest depth: 0, expected: 0
[ 39.333331][ C1] 1 lock held by swapper/1/0:
[ 39.338026][ C1] #0: ffffffff8e5e31c0 (rcu_callback){....}-{0:0}, at: rcu_core+0x75f/0x15c0
[ 39.347144][ C1] Preemption disabled at:
[ 39.347155][ C1] [<0000000000000000>] 0x0
[ 39.355914][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W syzkaller #0 PREEMPT(full)
[ 39.355946][ C1] Tainted: [W]=WARN
[ 39.355953][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
[ 39.355968][ C1] Call Trace:
[ 39.355975][ C1] <IRQ>
[ 39.355984][ C1] dump_stack_lvl+0x100/0x190
[ 39.356017][ C1] __might_resched.cold+0x1ec/0x232
[ 39.356048][ C1] ? __pfx___might_resched+0x10/0x10
[ 39.356078][ C1] ? __pfx_stack_trace_consume_entry+0x10/0x10
[ 39.356113][ C1] arch_stack_walk+0xe0/0x130
[ 39.356148][ C1] ? default_idle_call+0x6c/0xb0
[ 39.356181][ C1] stack_trace_save+0x8e/0xc0
[ 39.356213][ C1] ? __pfx_stack_trace_save+0x10/0x10
[ 39.356248][ C1] ? __lock_acquire+0x4a5/0x2630
[ 39.356273][ C1] kasan_save_stack+0x30/0x50
[ 39.356299][ C1] ? kasan_save_stack+0x30/0x50
[ 39.356323][ C1] ? kasan_save_track+0x14/0x30
[ 39.356352][ C1] ? kasan_save_free_info+0x3b/0x70
[ 39.356372][ C1] ? __kasan_slab_free+0x5f/0x80
[ 39.356398][ C1] ? kfree+0x1c7/0x690
[ 39.356418][ C1] ? slab_free_after_rcu_debug+0x55/0x1c0
[ 39.356441][ C1] ? rcu_core+0x7c0/0x15c0
[ 39.356466][ C1] ? handle_softirqs+0x1ea/0x910
[ 39.356497][ C1] ? __irq_exit_rcu+0xef/0x150
[ 39.356527][ C1] ? irq_exit_rcu+0x9/0x30
[ 39.356556][ C1] ? sysvec_apic_timer_interrupt+0xa3/0xc0
[ 39.356578][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 39.356603][ C1] ? pv_native_safe_halt+0xf/0x20
[ 39.356623][ C1] ? default_idle+0x9/0x10
[ 39.356646][ C1] ? default_idle_call+0x6c/0xb0
[ 39.356697][ C1] kasan_save_track+0x14/0x30
[ 39.356723][ C1] kasan_save_free_info+0x3b/0x70
[ 39.356744][ C1] __kasan_slab_free+0x5f/0x80
[ 39.356773][ C1] kfree+0x1c7/0x690
[ 39.356793][ C1] ? lock_acquire+0x17c/0x330
[ 39.356813][ C1] ? slab_free_after_rcu_debug+0x55/0x1c0
[ 39.356841][ C1] ? rcu_core+0x7bb/0x15c0
[ 39.356867][ C1] ? slab_free_after_rcu_debug+0x55/0x1c0
[ 39.356891][ C1] slab_free_after_rcu_debug+0x55/0x1c0
[ 39.356919][ C1] rcu_core+0x7c0/0x15c0
[ 39.356952][ C1] ? __pfx_rcu_core+0x10/0x10
[ 39.356990][ C1] handle_softirqs+0x1ea/0x910
[ 39.357026][ C1] ? __pfx_handle_softirqs+0x10/0x10
[ 39.357063][ C1] __irq_exit_rcu+0xef/0x150
[ 39.357092][ C1] irq_exit_rcu+0x9/0x30
[ 39.357121][ C1] sysvec_apic_timer_interrupt+0xa3/0xc0
[ 39.357145][ C1] </IRQ>
[ 39.357152][ C1] <TASK>
[ 39.357160][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 39.357186][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20
[ 39.357209][ C1] Code: 66 78 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 bc 14 00 fb f4 <e9> fc 31 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
[ 39.357232][ C1] RSP: 0018:ffffc90000197df0 EFLAGS: 00000242
[ 39.357250][ C1] RAX: 000000000001ac97 RBX: ffff88801e2ba4c0 RCX: ffffffff8b76c4b5
[ 39.357266][ C1] RDX: 0000000000000000 RSI: ffffffff8dc4550c RDI: ffffffff8bfa35a0
[ 39.357281][ C1] RBP: 0000000000000001 R08: 0000000000000001 R09: ffffed10170a673d
[ 39.357295][ C1] R10: ffff8880b85339eb R11: 0000000000000000 R12: ffffed1003c57498
[ 39.357309][ C1] R13: 0000000000000001 R14: ffffffff90b74bd0 R15: 0000000000000000
[ 39.357331][ C1] ? ct_kernel_exit+0x125/0x180
[ 39.357366][ C1] default_idle+0x9/0x10
[ 39.357391][ C1] default_idle_call+0x6c/0xb0
[ 39.357419][ C1] do_idle+0x35b/0x4b0
[ 39.357450][ C1] ? __pfx_do_idle+0x10/0x10
[ 39.357488][ C1] cpu_startup_entry+0x4f/0x60
[ 39.357519][ C1] start_secondary+0x21d/0x2d0
[ 39.357543][ C1] ? __pfx_start_secondary+0x10/0x10
[ 39.357573][ C1] common_startup_64+0x13e/0x148
[ 39.357617][ C1] </TASK>
[ 39.453068][ T1] SELinux: Permission firmware_load in class system not defined in policy.
[ 39.734776][ T1] SELinux: Permission kexec_image_load in class system not defined in policy.
[ 39.743703][ T1] SELinux: Permission kexec_initramfs_load in class system not defined in policy.
[ 39.753063][ T1] SELinux: Permission policy_load in class system not defined in policy.
[ 39.761564][ T1] SELinux: Permission x509_certificate_load in class system not defined in policy.
[ 39.770953][ T1] SELinux: Permission watch_mountns in class file not defined in policy.
[ 39.779447][ T1] SELinux: Permission watch_mountns in class dir not defined in policy.
[ 39.787870][ T1] SELinux: Permission watch_mountns in class lnk_file not defined in policy.
[ 39.796726][ T1] SELinux: Permission watch_mountns in class chr_file not defined in policy.
[ 39.805623][ T1] SELinux: Permission watch_mountns in class blk_file not defined in policy.
[ 39.814465][ T1] SELinux: Permission watch_mountns in class sock_file not defined in policy.
[ 39.823407][ T1] SELinux: Permission watch_mountns in class fifo_file not defined in policy.
[ 39.832407][ T1] SELinux: Permission nlmsg in class netlink_route_socket not defined in policy.
[ 39.841597][ T1] SELinux: Permission nlmsg in class netlink_tcpdiag_socket not defined in policy.
[ 39.851179][ T1] SELinux: Permission nlmsg in class netlink_xfrm_socket not defined in policy.
[ 39.860301][ T1] SELinux: Permission nlmsg in class netlink_audit_socket not defined in policy.
[ 39.869677][ T1] SELinux: Permission watch_mountns in class anon_inode not defined in policy.
[ 39.878686][ T1] SELinux: Permission allowed in class io_uring not defined in policy.
[ 39.887020][ T1] SELinux: Class memfd_file not defined in policy.
[ 39.893573][ T1] SELinux: the above unknown classes and permissions will be denied
[ 39.971428][ T1] SELinux: policy capability network_peer_controls=1
[ 39.978336][ T1] SELinux: policy capability open_perms=1
[ 39.984137][ T1] SELinux: policy capability extended_socket_class=1
[ 39.990945][ T1] SELinux: policy capability always_check_network=0
[ 39.997659][ T1] SELinux: policy capability cgroup_seclabel=1
[ 40.003875][ T1] SELinux: policy capability nnp_nosuid_transition=1
[ 40.010651][ T1] SELinux: policy capability genfs_seclabel_symlinks=0
[ 40.017589][ T1] SELinux: policy capability ioctl_skip_cloexec=0
[ 40.024073][ T1] SELinux: policy capability userspace_initial_context=0
[ 40.031201][ T1] SELinux: policy capability netlink_xperm=0
[ 40.037354][ T1] SELinux: policy capability netif_wildcard=0
[ 40.043494][ T1] SELinux: policy capability genfs_seclabel_wildcard=0
[ 40.050466][ T1] SELinux: policy capability functionfs_seclabel=0
[ 40.057184][ T1] SELinux: policy capability memfd_class=0
[ 40.141477][ T30] audit: type=1403 audit(1769518249.136:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
[ 40.200895][ T5153] mount (5153) used greatest stack depth: 25576 bytes left
[ 40.255346][ T5154] EXT4-fs (sda1): re-mounted 4f91c6db-4997-4bb4-91b8-7e83a20c1bf1 r/w.


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build956639603=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 40acda8acc
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=40acda8acc843b8f5cc068eaad3b6b217e5a9de6 -X github.com/google/syzkaller/prog.gitRevisionDate=20260124-070254" ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=40acda8acc843b8f5cc068eaad3b6b217e5a9de6 -X github.com/google/syzkaller/prog.gitRevisionDate=20260124-070254" ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=40acda8acc843b8f5cc068eaad3b6b217e5a9de6 -X github.com/google/syzkaller/prog.gitRevisionDate=20260124-070254" -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"40acda8acc843b8f5cc068eaad3b6b217e5a9de6\"
/usr/bin/ld: /tmp/ccUB8XYQ.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x386): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=17cd9a94580000


Tested on:

commit: fcb70a56 Merge tag 'vfs-6.19-rc8.fixes' of git://git.k..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=f1fac0919970b671
dashboard link: https://syzkaller.appspot.com/bug?extid=316c0070a0341d2661a2
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch: https://syzkaller.appspot.com/x/patch.diff?x=10548802580000

Reply all
Reply to author
Forward
0 new messages