syzbot


SYZFAIL: posix_spawnp failed

Status: upstream: reported on 2025/01/29 02:19
Reported-by: syzbot+7fb9542c410d3e919ef1@syzkaller.appspotmail.com
First crash: 45d, last: 4h15m

Sample crash report:
SYZFAIL: posix_spawnp failed
 (errno 35: Resource temporarily unavailable)
ktrace write failed, errno 27, tracing stopped for pid 759
ktrace write failed, errno 27, tracing stopped for pid 761
maxproc limit exceeded by uid 0 (pid 6478); see tuning(7) and login.conf(5)
maxproc limit exceeded by uid 0 (pid 7982); see tuning(7) and login.conf(5)
panic: pmap_san_enter_alloc_4k: no memory to grow shadow map
cpuid = 0
time = 1741999102
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe007f2ff630
kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe007f2ff790
vpanic() at vpanic+0x257/frame 0xfffffe007f2ff950
panic() at panic+0xb5/frame 0xfffffe007f2ffa10
pmap_san_enter_alloc_4k() at pmap_san_enter_alloc_4k+0x4b/frame 0xfffffe007f2ffa30
pmap_san_enter() at pmap_san_enter+0x356/frame 0xfffffe007f2ffa70
kasan_shadow_map() at kasan_shadow_map+0x98/frame 0xfffffe007f2ffa90
pmap_growkernel() at pmap_growkernel+0xd7/frame 0xfffffe007f2ffaf0
vm_map_insert1() at vm_map_insert1+0x67a/frame 0xfffffe007f2ffc30
vm_map_find_locked() at vm_map_find_locked+0xa22/frame 0xfffffe007f2ffda0
vm_map_find() at vm_map_find+0xc7/frame 0xfffffe007f2ffe10
kva_import() at kva_import+0xd4/frame 0xfffffe007f2ffef0
vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe007f2fffd0
vmem_xalloc() at vmem_xalloc+0x54c/frame 0xfffffe007f300080
kva_import_domain() at kva_import_domain+0x5f/frame 0xfffffe007f3000d0
vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe007f3001c0
vmem_xalloc() at vmem_xalloc+0x54c/frame 0xfffffe007f300270
vmem_alloc() at vmem_alloc+0xfe/frame 0xfffffe007f3002d0
kmem_malloc_domainset() at kmem_malloc_domainset+0x17e/frame 0xfffffe007f300410
keg_alloc_slab() at keg_alloc_slab+0x1f1/frame 0xfffffe007f300530
zone_import() at zone_import+0x2d9/frame 0xfffffe007f300720
cache_alloc() at cache_alloc+0x7e5/frame 0xfffffe007f3007f0
cache_alloc_retry() at cache_alloc_retry+0x35/frame 0xfffffe007f300830
bucket_alloc() at bucket_alloc+0x1a4/frame 0xfffffe007f300880
cache_alloc() at cache_alloc+0x781/frame 0xfffffe007f300950
cache_alloc_retry() at cache_alloc_retry+0x35/frame 0xfffffe007f300990
vm_map_entry_create() at vm_map_entry_create+0xa6/frame 0xfffffe007f3009b0
vmspace_fork() at vmspace_fork+0x91c/frame 0xfffffe007f300ad0
fork1() at fork1+0xb36/frame 0xfffffe007f300bf0
sys_rfork() at sys_rfork+0x1b7/frame 0xfffffe007f300d10
amd64_syscall() at amd64_syscall+0x4af/frame 0xfffffe007f300f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe007f300f30
--- syscall (198, FreeBSD ELF64, __syscall), rip = 0x3a197a, rsp = 0x826a6ff08, rbp = 0x826a6ff80 ---
KDB: enter: panic
[ thread pid 3621 tid 103645 ]
Stopped at      kdb_enter+0x6e: movq    $0,0x23e76b7(%rip)
db> set $maxwidth = 0
db> show registers
cs                        0x20
ds                        0x3b
es                        0x3b
fs                        0x13
gs                        0x1b
ss                        0x28
rax                       0x12
rcx         0xfffffe00033eee30
rdx                          0
rbx         0xffffffff82751280  .str.27
rsp         0xfffffe007f2ff770
rbp         0xfffffe007f2ff790
rsi                          0
rdi         0xffffffff815dbfd9  printf+0x149
r8                           0
r9                  0xffffffff
r10                          0
r11                       0x3f
r12         0xfffffe008033a740
r13         0xfffffffffffffffe
--More--        r14         0xffffffff82751280  .str.27
r15                          0
rip         0xffffffff815c695e  kdb_enter+0x6e
rflags                    0x46
kdb_enter+0x6e: movq    $0,0x23e76b7(%rip)
db> proc
No such command; use "help" to list available commands
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
 8082  3458   766     0  N                                   syz-executor
 8081  3041   766     0  N                                   syz-executor
 8080  3958   766     0  N                                   syz-executor
 8079  2711   766     0  N                                   syz-executor
 8078  4442   766     0  N                                   syz-executor
 8077  3656   766     0  N                                   syz-executor
 8076  2263   766     0  N                                   syz-executor
 8075  5330   766     0  N                                   syz-executor
 8074  2382   766     0  N                                   syz-executor
 8073  1874   766     0  N                                   syz-executor
 8072  4861   766     0  N                                   syz-executor
 8071  1559   766     0  N                                   syz-executor
 8070  1734   766     0  N                                   syz-executor
 8069  3025   766     0  N                                   syz-executor
 8068  4834   766     0  N                                   syz-executor
 8067  4668   766     0  N                                   syz-executor
 8066  3828   766     0  N                                   syz-executor
 8065  2503   766     0  N                                   syz-executor
 8064  2408   766     0  N                                   syz-executor
--More--         8063  2406   766     0  N                                   syz-executor
 8062  3477   766     0  N                                   syz-executor
 8061  2896   766     0  N                                   syz-executor
 8060  2736   766     0  N                                   syz-executor
 8059  3694   766     0  N                                   syz-executor
 8058  5249   766     0  N                                   syz-executor
 8057  2988   766     0  N                                   syz-executor
 8056  2860   766     0  N                                   syz-executor
 8055  3091   766     0  N                                   syz-executor
 8054  3290   766     0  N                                   syz-executor
 8053  2970   766     0  N                                   syz-executor
 8052  1523   766     0  N                                   syz-executor
 8051  1865   766     0  N                                   syz-executor
 8050  2931   766     0  N                                   syz-executor
 8049  3983   766     0  N                                   syz-executor
 8048  1668   766     0  N                                   syz-executor
 8047  4889   766     0  N                                   syz-executor
 8046  3990   766     0  N                                   syz-executor
 8045  3495   766     0  N                                   syz-executor
 8044  3517   766     0  N                                   syz-executor
--More--         8043  4649   766     0  N                                   syz-executor
 8042  4175   766     0  N                                   syz-executor
 8041  1372   766     0  N                                   syz-executor
 8040  2152   766     0  N                                   syz-executor
 8039  2055   766     0  N                                   syz-executor
 8038  5497   766     0  N                                   syz-executor
 8037  4036   766     0  N                                   syz-executor
 8036  1685   766     0  N                                   syz-executor
 8035  5106   766     0  N                                   syz-executor
 8034  3874   766     0  N                                   syz-executor
 8033  3098   766     0  N                                   syz-executor
 8032  3316   766     0  N                                   syz-executor
 8031  5651   766     0  N                                   syz-executor
 8030  2060   766     0  N                                   syz-executor
 8029  5572   766     0  N                                   syz-executor
 8028  5192   766     0  N                                   syz-executor
 8027  5419   766     0  N                                   syz-executor
 8026  1743   766     0  N                                   syz-executor
 8025  3563   766     0  N                                   syz-executor
 8024  2305   766     0  D       pfault  0xffffffff82e07700  syz-executor
--More--         8023  5321   766     0  D       pfault  0xffffffff82e07700  syz-executor
--More--         8022  3516   766     0  D       pfault  0xffffffff82e07700  syz-executor
 8021  3241   766     0  D       pfault  0xffffffff82e07700  syz-executor
 8020  2880   766     0  N                                   syz-executor
 8019  1505   766     0  N                                   syz-executor
 8018  5149   766     0  N                                   syz-executor
 8017  3162   766     0  N                                   syz-executor
 8016  1647   766     0  N                                   syz-executor
 8015  2084   766     0  N                                   syz-executor
 8014  1560   766     0  D       pfault  0xffffffff82e07700  syz-executor
 8013  1428   766     0  D       pfault  0xffffffff82e07700  syz-executor
 8012  2264   766     0  D       pfault  0xffffffff82e07700  syz-executor
 8011  1699   766     0  D       fork    0xffffffff82756520  syz-executor
 8010  2114   766     0  D       fork    0xffffffff82756520  syz-executor
 8009  1590   766     0  D       fork    0xffffffff82756520  syz-executor
 8008  4910   766     0  D       fork    0xffffffff82756520  syz-executor
 8007  2823   766     0  D       fork    0xffffffff82756520  syz-executor
 8006  2591   766     0  D       fork    0xffffffff82756520  syz-executor
 8005  3237   766     0  D       fork    0xffffffff82756520  syz-executor
 8004  3222   766     0  D       fork    0xffffffff82756520  syz-executor
 8003  3396   766     0  D       fork    0xffffffff82756520  syz-executor
--More--         8002  2495   766     0  D       fork    0xffffffff82756520  syz-executor
--More--         8001  3708   766     0  D       fork    0xffffffff82756520  syz-executor
 8000  3331   766     0  D       fork    0xffffffff82756520  syz-executor
 7999  3052   766     0  D       pfault  0xffffffff82e07700  syz-executor
 7998  1424   766     0  D       fork    0xffffffff82756520  syz-executor
 7997  1851   766     0  D       fork    0xffffffff82756520  syz-executor
 7996  3762   766     0  D       fork    0xffffffff82756520  syz-executor
 7995  3673   766     0  D       fork    0xffffffff82756520  syz-executor
 7994  5092   766     0  D       fork    0xffffffff82756520  syz-executor
 7993  5275   766     0  D       fork    0xffffffff82756520  syz-executor
 7992  2947   766     0  D       fork    0xffffffff82756520  syz-executor
 7991  5274   766     0  D       fork    0xffffffff82756520  syz-executor
 7990  2654   766     0  D       fork    0xffffffff82756520  syz-executor
 7989  3311   766     0  D       fork    0xffffffff82756520  syz-executor
 7988  2984   766     0  D       fork    0xffffffff82756520  syz-executor
 7987  4852   766     0  D       fork    0xffffffff82756520  syz-executor
 7986  2731   766     0  D       fork    0xffffffff82756520  syz-executor
 7985  1836   766     0  D       fork    0xffffffff82756520  syz-executor
 7984  1761   766     0  D       fork    0xffffffff82756520  syz-executor
 7983  3174   766     0  D       pfault  0xffffffff82e07700  syz-executor
 7982  5029   766     0  D       fork    0xffffffff82756520  syz-executor
--More--         7981  5153   766     0  D       fork    0xffffffff82756520  syz-executor
--More--

Crashes (591):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/15 00:38 freebsd-src 36782aaba4f1 e2826670 console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/12 19:43 freebsd-src ef037a028af7 1a5d9317 console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/10 01:15 freebsd-src 1016b3c34435 163f510d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/09 14:56 freebsd-src 1016b3c34435 163f510d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/09 13:30 freebsd-src 1016b3c34435 163f510d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/08 19:05 freebsd-src 457c03b397c8 7e3bd60d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/08 15:57 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/08 15:12 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/08 14:30 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/08 14:18 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-main SYZFAIL: posix_spawnp failed
2025/03/15 11:26 freebsd-src 5963423232e8 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 22:35 freebsd-src 4a4eee553307 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 16:34 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 13:54 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 12:52 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 11:03 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 10:32 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 08:10 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 04:47 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/14 03:32 freebsd-src f402078d0956 e2826670 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/13 01:45 freebsd-src ba6c35f0cadb 1a5d9317 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/12 23:03 freebsd-src ba6c35f0cadb 1a5d9317 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/11 08:39 freebsd-src 048d6ca31d96 163f510d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/09 04:30 freebsd-src 457c03b397c8 163f510d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 16:45 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 13:14 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 12:30 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 11:28 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 11:25 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 10:00 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 08:59 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 07:54 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 06:31 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 03:12 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/08 02:12 freebsd-src 780a4667bbde 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 15:55 freebsd-src 136c5e17b61a 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 14:45 freebsd-src 136c5e17b61a 7e3bd60d console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 10:23 freebsd-src ecb3a7d43dd6 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 08:34 freebsd-src ecb3a7d43dd6 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 07:15 freebsd-src ecb3a7d43dd6 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/07 06:14 freebsd-src ecb3a7d43dd6 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/06 13:01 freebsd-src 23f453ae34c2 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/03/06 11:59 freebsd-src 23f453ae34c2 831e3629 console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
2025/01/29 02:18 freebsd-src c64b3f32a570 865ef71e console log report ci-freebsd-i386 SYZFAIL: posix_spawnp failed
* Struck through repros no longer work on HEAD.