syzbot


panic: malloc: out of space in kmem_map (2)

Status: auto-obsoleted due to no activity on 2023/04/01 13:00
Reported-by: syzbot+22d13cf00182cc8ef92e@syzkaller.appspotmail.com
First crash: 690d, last: 690d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: malloc: out of space in kmem_map 97 2063d 2128d 3/3 fixed on 2019/05/21 04:34
openbsd panic: malloc: out of space in kmem_map (3) 1 76d 76d 0/3 upstream: reported on 2024/09/06 23:26

Sample crash report:
q iã@>üWC·3Ž2?'Œ´ð^гà;Ê×™ÙwWB}#í$panic: malloc: out of space in kmem_map
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*378465  62532      0         0x2          0    0K syz-executor.2
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82603a4b) at panic+0x177 sys/kern/subr_prf.c:198
malloc(10000,7f,1) at malloc+0xacc sys/kern/kern_malloc.c:246
ufs_readdir(ffff80002416bf00) at ufs_readdir+0x148 sys/ufs/ufs/ufs_vnops.c:1444
VOP_READDIR(fffffd80697a9bf8,ffff80002416bf80,fffffd807f7d73a8,ffff80002416bfc4) at VOP_READDIR+0xbf sys/kern/vfs_vops.c:444
sys_getdents(ffff8000212962a8,ffff80002416c040,ffff80002416c090) at sys_getdents+0x20d sys/kern/vfs_syscalls.c:3182
syscall(ffff80002416c110) at syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002416c110) at syscall+0x438 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff80a0, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: malloc: out of space in kmem_map
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82603a4b) at panic+0x177 sys/kern/subr_prf.c:198
malloc(10000,7f,1) at malloc+0xacc sys/kern/kern_malloc.c:246
ufs_readdir(ffff80002416bf00) at ufs_readdir+0x148 sys/ufs/ufs/ufs_vnops.c:1444
VOP_READDIR(fffffd80697a9bf8,ffff80002416bf80,fffffd807f7d73a8,ffff80002416bfc4) at VOP_READDIR+0xbf sys/kern/vfs_vops.c:444
sys_getdents(ffff8000212962a8,ffff80002416c040,ffff80002416c090) at sys_getdents+0x20d sys/kern/vfs_syscalls.c:3182
syscall(ffff80002416c110) at syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002416c110) at syscall+0x438 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff80a0, count: -8
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002416bb90
rbx               0xffffffff82925b8f    cpu_info_full_primary+0x2b8f
rdx                                0
rcx                                0
rax               0xffff8000212962a8
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x471b84cc411350a0
r11                0xbd5e25cff89e0d9
r12               0xffffffff82925990    cpu_info_full_primary+0x2990
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff8142b318    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff80002416bb80
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.2) pid=378465 stat=onproc
    flags process=2<EXEC> proc=0
    pri=84, usrpri=84, nice=20
    forw=0xffffffffffffffff, list=0xffff800021334000,0xffff800021335270
    process=0xffff8000ffff9928 user=0xffff800024167000, vmspace=0xfffffd806ee09cf8
    estcpu=36, cpticks=1, pctcpu=0.1
    user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 60721  477189  81162      0  2           0                syz-executor.6
 60721   58043  81162      0  3   0x4000080  fsleep        syz-executor.6
   521   54695  13762      0  2           0                syz-executor.7
   521  109069  13762      0  3   0x4000080  fsleep        syz-executor.7
   521  295296  13762      0  3   0x4000080  fsleep        syz-executor.7
 38894  418734  20818      0  2           0                syz-executor.5
 38894  252748  20818      0  3   0x4000080  fsleep        syz-executor.5
 70951  303425  12339      0  2           0                syz-executor.4
 70951   58649  12339      0  3   0x4000080  fsleep        syz-executor.4
 76455  101845  12064      0  2           0                syz-executor.0
 76455  470585  12064      0  3   0x4000080  fsleep        syz-executor.0
 64370  209492  27766      0  2           0                syz-executor.1
 64370  281905  27766      0  3   0x4000080  fsleep        syz-executor.1
 64370  311303  27766      0  3   0x4000080  fsleep        syz-executor.1
 81898   73414  39343      0  2           0                syz-executor.3
 81898  262956  39343      0  3   0x4000000  pfanchor      syz-executor.3
 13762   42043  64311      0  3        0x82  nanoslp       syz-executor.7
 81162  245851  64311      0  3        0x82  nanoslp       syz-executor.6
 27766  235309  64311      0  3        0x82  nanoslp       syz-executor.1
 20818  336706  64311      0  3        0x82  nanoslp       syz-executor.5
 16431  354916      1      0  3    0x100083  ttyin         getty
*62532  378465  64311      0  7         0x2                syz-executor.2
 12064  501806  64311      0  3        0x82  nanoslp       syz-executor.0
 26894  271527      0      0  3     0x14280  nfsidl        nfsio
  9964  509507      0      0  3     0x14280  nfsidl        nfsio
 25385  476261      0      0  3     0x14280  nfsidl        nfsio
 84759  367620      0      0  3     0x14280  nfsidl        nfsio
 47915  269209      0      0  3     0x14280  nfsidl        nfsio
 26700  196868      0      0  3     0x14280  nfsidl        nfsio
 80394  240658      0      0  3     0x14280  nfsidl        nfsio
 98201  162728      0      0  3     0x14280  nfsidl        nfsio
  6981  340590      0      0  3     0x14280  nfsidl        nfsio
 83177  132307      0      0  3     0x14280  nfsidl        nfsio
 25204  171182      0      0  3     0x14280  nfsidl        nfsio
 35803  466051      0      0  3     0x14280  nfsidl        nfsio
 12845  244621      0      0  3     0x14280  nfsidl        nfsio
 24245   53353      0      0  3     0x14280  nfsidl        nfsio
 91278  240319      0      0  3     0x14280  nfsidl        nfsio
 37303  242398      0      0  3     0x14280  nfsidl        nfsio
 98007   64625      0      0  3     0x14280  nfsidl        nfsio
 99564   19034      0      0  3     0x14280  nfsidl        nfsio
 31874  388187      0      0  3     0x14280  nfsidl        nfsio
 14672  432210      0      0  3     0x14280  nfsidl        nfsio
  7826  198299      0      0  3     0x14200  bored         sosplice
 12339  321165  64311      0  3        0x82  nanoslp       syz-executor.4
 39343   66769  64311      0  3        0x82  nanoslp       syz-executor.3
 64311  463572  44418      0  3        0x82  wait          syz-fuzzer
 64311  368436  44418      0  3   0x4000082  nanoslp       syz-fuzzer
 64311  251530  44418      0  3   0x4000082  kqread        syz-fuzzer
 64311  155800  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311  478557  44418      0  3   0x4000082  wait          syz-fuzzer
 64311  227372  44418      0  3   0x4000082  wait          syz-fuzzer
 64311   59529  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311   20507  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311  405619  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311  481390  44418      0  3   0x4000082  wait          syz-fuzzer
 64311  231544  44418      0  3   0x4000082  wait          syz-fuzzer
 64311  219510  44418      0  3   0x4000082  wait          syz-fuzzer
 64311  398949  44418      0  3   0x4000082  wait          syz-fuzzer
 64311  186615  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311  274655  44418      0  3   0x4000082  thrsleep      syz-fuzzer
 64311  506444  44418      0  3   0x4000082  wait          syz-fuzzer
 44418  406333  13016      0  3    0x10008a  sigsusp       ksh
 13016    3605  23515      0  3        0x9a  kqread        sshd
 23515  100371      1      0  3        0x88  kqread        sshd
 87502  389965  97027     74  3   0x1100092  bpf           pflogd
 97027  370900      1      0  3        0x80  netio         pflogd
 58507  404516   7400     73  3   0x1100090  kqread        syslogd
  7400   70051      1      0  3    0x100082  netio         syslogd
 83332  147925      1      0  3    0x100080  kqread        resolvd
 83062  259784      0      0  3     0x14200  bored         smr
 84829   68927      0      0  2     0x14200                zerothread
 31672  445971      0      0  3     0x14200  aiodoned      aiodoned
 84124  319149      0      0  3     0x14200  syncer        update
 47369  482712      0      0  3     0x14200  cleaner       cleaner
  8216  354225      0      0  3     0x14200  reaper        reaper
 41357  335856      0      0  3     0x14200  pgdaemon      pagedaemon
 55504  240992      0      0  3     0x14200  bored         viomb
 26812  299874      0      0  3  0x40014200  acpi0         acpi0
 34045  349044      0      0  7  0x40014200                idle1
  6185   55879      0      0  3     0x14200  bored         softnet
  5687  404479      0      0  3     0x14200  bored         softnet
 12611   69060      0      0  3     0x14200  bored         softnet
 72562  129983      0      0  3     0x14200  bored         softnet
 54977  467310      0      0  3     0x14200  bored         systqmp
 85199  443467      0      0  3     0x14200  bored         systq
 95727  176305      0      0  3  0x40014200  bored         softclock
 44246  459938      0      0  3  0x40014200                idle0
     1  231342      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 81898 (syz-executor.3) thread 0xffff800021336d30 (262956)
exclusive rwlock pf_lock r = 0 (0xffffffff82957780)
#0  witness_lock+0x44d
#1  pfioctl+0x3ab7 sys/net/pf_ioctl.c:2481
#2  VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
#3  vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
#4  sys_ioctl+0x4a2
#5  syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#5  syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#6  Xsyscall+0x128
exclusive rwlock netlock r = 0 (0xffffffff8295d1b0)
#0  witness_lock+0x44d
#1  pfioctl+0x3aab sys/net/pf_ioctl.c:2480
#2  VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
#3  vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
#4  sys_ioctl+0x4a2
#5  syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#5  syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#6  Xsyscall+0x128
exclusive rwlock pfioctl_rw r = 0 (0xffffffff829577e0)
#0  witness_lock+0x44d
#1  pfioctl+0x167 sys/net/pf_ioctl.c:1130
#2  VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
#3  vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
#4  sys_ioctl+0x4a2
#5  syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#5  syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#6  Xsyscall+0x128
Process 62532 (syz-executor.2) thread 0xffff8000212962a8 (378465)
exclusive rrwlock inode r = 0 (0xfffffd806ef3a708)
#0  witness_lock+0x44d
#1  rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2  rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3  VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  sys_getdents+0x19a sys/kern/vfs_syscalls.c:3167
#6  syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#6  syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#7  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82aaf200)
#0  witness_lock+0x44d
#1  syscall+0x424 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#1  syscall+0x424 sys/arch/amd64/amd64/trap.c:599
#2  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10224   6501K    7625K  78643K     23907        0
            pcb    13     16K      21K  78643K      4883        0
         rtable   198     15K      16K  78643K      1176        0
         ifaddr    82     19K      20K  78643K       463        0
         sysctl     2      0K       0K  78643K         2        0
       counters    58     35K      36K  78643K       390        0
       ioctlops     0      0K       4K  78643K      2266        0
            iov     0      0K      16K  78643K       473        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1644    103K     103K  78643K     14659        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K        78        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       1K  78643K      2280        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    17     61K      93K  78643K      8925        0
          sigio     0      0K       0K  78643K       140        0
           proc    64     67K     115K  78643K      1245        0
        subproc   104      6K      10K  78643K       537        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K      2682        0
       in_multi    85      5K       7K  78643K       476        0
    ether_multi     1      0K       0K  78643K        41        0
            mrt     1      0K       0K  78643K        26        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   223    996K     996K  78643K       223        0
           exec     0      0K       1K  78643K      1323        0
     pfkey data     0      0K       0K  78643K         7        0
            tdb     3      0K       0K  78643K         3        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     8     62K      64K  78643K        10        0
       UVM amap   373     97K     109K  78643K     60766        0
       UVM aobj   131      7K       7K  78643K       138        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       674        0
            NDP    13      0K       1K  78643K       145        0
           temp   136   4759K    4818K  78643K    673394        0
         kqueue     6     10K      26K  78643K       771        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120     1405    0     1403     7     4     3     3     0     8    2
rtentry    112      396    0      310     4     0     4     4     0     8    0
unpcb      144     4436    0     4428    59    53     6     8     0     8    5
syncache   296       33    0       33     6     6     0     1     0     8    0
tcpqe       32      172    0      172     5     5     0     1     0     8    0
tcpcb      776     5568    0     5562    85    81     4    14     0     8    3
arp        120       61    0       45     1     0     1     1     0     8    0
inpcb      368    13551    0    13545   132   128     4    19     0     8    3
nd6         48       87    0       66     1     0     1     1     0     8    0
pkpcb       40       15    0       15     4     4     0     1     0     8    0
kcovpl      48       25    0       17     1     0     1     1     0     8    0
ppxss      1256     107    0      107    10    10     0     1     0     8    0
pppxif     1448      91    0       91     8     8     0     1     0     8    0
pfstscr     40       13    0       13     3     3     0     1     0     8    0
pffrag     232       18    0       18     5     5     0     1     0   482    0
pffrnode    88       18    0       18     5     5     0     1     0     8    0
pffrent     40      181    0      181     6     6     0     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfanchor   1280  137647    0    49399  7354     0  7354  7354     0     8    0
pfqueue    264        2    0        2     1     1     0     1     0     8    0
pfstitem    24      104    0       98     1     0     1     1     0     8    0
pfstkey    128      187    0      184     2     1     1     2     0     8    0
pfstate    384      174    0      168     4     3     1     4     0     8    0
pfrule     1344      21    0       20     2     1     1     2     0     8    0
rttmr      136        4    0        4     1     1     0     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1863    0     1484    49    23    26    32     0     8    0
art_table   32     1864    0     1484     7     3     4     5     0     8    0
art_node    16      395    0      322     1     0     1     1     0     8    0
sysvmsgpl   40       43    0        3     1     0     1     1     0     8    0
semupl     112        9    0        9     1     1     0     1     0     8    0
semapl     112     2276    0     2266     1     0     1     1     0     8    0
shmpl      112      135    0        7     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    13099    0    11638    92     0    92    92     0     8    0
ffsino     272    13099    0    11638    98     0    98    98     0     8    0
nchpl      144    24920    0    23275    63     0    63    63     0     8    0
uvmvnodes   80     5926    0        0   121     0   121   121     0     8    0
vnodes     216     5926    0        0   330     0   330   330     0     8    0
namei      1024  105140    0   105140     4     3     1     2     0     8    1
percpumem   16      207    0      166     1     0     1     1     0     8    0
kstatmem   264      176    0      150     5     3     2     3     0     8    0
scsiplug    72        7    0        7     1     1     0     1     0     8    0
scxspl     216    71610    0    71610    15    14     1     8     0     8    1
plimitpl   152      563    0      548     1     0     1     1     0     8    0
sigapl     424     9222    0     9157    10     2     8     8     0     8    0
futexpl     64   117447    0   117439     1     0     1     1     0     8    0
knotepl    120      687    0        0    15     0    15    15     0     8    0
kqueuepl   216     1617    0     1612    29    28     1     5     0     8    0
pipepl     320     3463    0     3432    49    40     9    11     0     8    6
fdescpl    496     9183    0     9156     5     1     4     5     0     8    0
filepl     152    83704    0    83458   105    87    18    23     0     8    7
lockfpl    104     1506    0     1505     6     5     1     2     0     8    0
lockfspl    48      384    0      383     1     0     1     1     0     8    0
sessionpl  144       44    0       28     1     0     1     1     0     8    0
pgrppl      48       57    0       41     1     0     1     1     0     8    0
ucredpl    104    15454    0    15445     1     0     1     1     0     8    0
zombiepl   144     9157    0     9157     1     0     1     1     0     8    1
processpl  1072    9222    0     9157     5     0     5     5     0     8    0
procpl     672    24309    0    24220    13     4     9    10     0     8    0
srpgc       96       24    0       24     6     6     0     1     0     8    0
sosppl     168       29    0       29     6     6     0     1     0     8    0
sockpl     488    19414    0    19398   326   315    11    29     0     8    8
mcl64k     65536     14    0        0     2     0     2     2     0     8    0
mcl16k     16384     11    0        0     2     0     2     2     0     8    0
mcl12k     12288     17    0        0     2     0     2     2     0     8    0
mcl9k      9216       9    0        0     1     0     1     1     0     8    0
mcl8k      8192      17    0        0     3     0     3     3     0     8    0
mcl4k      4096      33    0        0     3     0     3     3     0     8    0
mcl2k2     2112       5    0        0     1     0     1     1     0     8    0
mcl2k      2048     446    0        0    54     6    48    54     0     8    0
mtagpl      96     1575    0        0    39     2    37    39     0     8    0
mbufpl     256     3311    0        0   203     1   202   203     0     8    0
bufpl      288    16127    0     9792   453     0   453   453     0     8    0
anonpl      24  2906056    0  2886088   266   131   135   188     0   186    0
amapchunkpl 152  171318    0   170502    93    59    34    62     0   158    0
amappl16   200    84971    0    84334   116    77    39    47     0     8    2
amappl15   192        5    0        5     2     2     0     1     0     8    0
amappl14   184      193    0      184     2     1     1     2     0     8    0
amappl13   176        8    0        8     2     2     0     1     0     8    0
amappl12   168      617    0      615     1     0     1     1     0     8    0
amappl11   160       50    0       42     1     0     1     1     0     8    0
amappl10   152       49    0       39     1     0     1     1     0     8    0
amappl9    144      991    0      989     1     0     1     1     0     8    0
amappl8    136      416    0      319     4     0     4     4     0     8    0
amappl7    128      209    0      184     2     0     2     2     0     8    0
amappl6    120      285    0      265     1     0     1     1     0     8    0
amappl5    112      255    0      249     1     0     1     1     0     8    0
amappl4    104      732    0      694     5     3     2     2     0     8    0
amappl3     96    26617    0    26561     2     0     2     2     0     8    0
amappl2     88     9830    0     9767     3     1     2     3     0     8    0
amappl1     80   208434    0   207723    23     6    17    23     0     8    0
amappl      88    59964    0    59748     7     1     6     6     0    92    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      253    0      253     1     1     0     1     0     8    0
dma64       64        6    0        6     1     1     0     1     0     8    0
dma32       32        7    0        7     1     1     0     1     0     8    0
dma16       16       18    0       17     1     0     1     1     0     8    0
aobjpl      72      137    0        7     3     0     3     3     0     8    0
uaddrrnd    24     9183    0     9156     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     9183    0     9156     1     0     1     1     0     8    0
vmmpekpl   168    78946    0    78898     3     0     3     3     0     8    0
vmmpepl    168   903236    0   900379   248   115   133   168     0   357    2
vmsppl     368     9182    0     9156     4     1     3     4     0     8    0
rwobjpl     56   291275    0   283450   124    11   113   115     0     8    0
pdppl      4096   18373    0    18312   291   228    63    83     0     8    2
pvpl        32  5500138    0  5473465   492   254   238   335     0   265    0
pmappl     248     9182    0     9156     3     1     2     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1407    0      402    30     0    30    30     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82603a4b) at panic+0x177 sys/kern/subr_prf.c:198
malloc(10000,7f,1) at malloc+0xacc sys/kern/kern_malloc.c:246
ufs_readdir(ffff80002416bf00) at ufs_readdir+0x148 sys/ufs/ufs/ufs_vnops.c:1444
VOP_READDIR(fffffd80697a9bf8,ffff80002416bf80,fffffd807f7d73a8,ffff80002416bfc4) at VOP_READDIR+0xbf sys/kern/vfs_vops.c:444
sys_getdents(ffff8000212962a8,ffff80002416c040,ffff80002416c090) at sys_getdents+0x20d sys/kern/vfs_syscalls.c:3182
syscall(ffff80002416c110) at syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002416c110) at syscall+0x438 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff80a0, count: -8
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020dd8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175
end trace frame: 0x0, count: -5

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/01 12:59 openbsd 86a45bbd35a5 ab32d508 .config console log report ci-openbsd-multicore panic: malloc: out of space in kmem_map
* Struck through repros no longer work on HEAD.