syzbot


uvm_fault: ffs_blkfree

Status: upstream: reported on 2024/09/13 01:45
Reported-by: syzbot+3e7d998e31b69046a987@syzkaller.appspotmail.com
First crash: 69d, last: 68d

Sample crash report:
uvm_fault(0xffffffff8353da28, 0xffff800027262004, 0, 1) -> d
kernel: page fault trap, code=0
Stopped at      ffs_blkfree+0x263:      movl    0x4(%r13),%r15d
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 365642  70308      0           0  0x4000000    0  syz-executor
* 36132  59573      0         0x2          0    1K syz-executor
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 ffs_cgread sys/ufs/ffs/ffs_alloc.c:856 [inline]
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 sys/ufs/ffs/ffs_alloc.c:1272
ffs_truncate(fffffd806be08bc0,0,0,ffffffffffffffff) at ffs_truncate+0x139f sys/ufs/ffs/ffs_inode.c:325
ufs_inactive(ffff80002a157e48) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806fd0ee98,ffff8000371ddc18) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vput(fffffd806fd0ee98) at vput+0xe5 sys/kern/vfs_subr.c:779
ufs_mkdir(ffff80002a158070) at ufs_mkdir+0x6be
VOP_MKDIR(fffffd806fa36958,ffff80002a1581d0,ffff80002a158200,ffff80002a158100) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
domkdirat(ffff8000371ddc18,ffffff9c,706c24180800,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
syscall(ffff80002a158380) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a158380) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x706c24180890, count: 5
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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu1: uvm_fault(0xffffffff8353da28, 0xffff800027262004, 0, 1) -> d
ddb{1}> trace
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 ffs_cgread sys/ufs/ffs/ffs_alloc.c:856 [inline]
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 sys/ufs/ffs/ffs_alloc.c:1272
ffs_truncate(fffffd806be08bc0,0,0,ffffffffffffffff) at ffs_truncate+0x139f sys/ufs/ffs/ffs_inode.c:325
ufs_inactive(ffff80002a157e48) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806fd0ee98,ffff8000371ddc18) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vput(fffffd806fd0ee98) at vput+0xe5 sys/kern/vfs_subr.c:779
ufs_mkdir(ffff80002a158070) at ufs_mkdir+0x6be
VOP_MKDIR(fffffd806fa36958,ffff80002a1581d0,ffff80002a158200,ffff80002a158100) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
domkdirat(ffff8000371ddc18,ffffff9c,706c24180800,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
syscall(ffff80002a158380) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a158380) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x706c24180890, count: -10
ddb{1}> show registers
rdi                                0
rsi                                0
rbp               0xffff80002a157bc0
rbx                          0x7742f    acpi_pdirpa+0x632a0
rdx                                0
rcx               0xffff8000371ddc18
rax               0xffff800029b7bff0
r8                0xffffffffffffffff
r9                0xffffffffffffffff
r10               0x92de6fdc160db721
r11               0xc86267c9d891be45
r12               0xfffffd807d1736c0
r13               0xffff800027262000
r14               0xffff800000a5f000
r15                                0
rip               0xffffffff815587a3    ffs_blkfree+0x263
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80002a157b00
ss                              0x10
ffs_blkfree+0x263:      movl    0x4(%r13),%r15d
ddb{1}> show proc
PROC (syz-executor) tid=36132 pid=59573 tcnt=1 stat=onproc
    flags process=2<EXEC> proc=0
    runpri=17, usrpri=86, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000371dd1f8,0xffff8000371dd490
    process=0xffff800029fea448 user=0xffff80002a153000, vmspace=0xfffffd806ecddc10
    estcpu=36, cpticks=1, pctcpu=0.3, user=0, sys=4, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 30550  197490  47141      0  2        0x40                syz-executor
  4279   26363  94251      0  3         0x2  clonelk       ifconfig
 94251  269358  52561      0  3    0x10008a  sigsusp       sh
 70308  439309  21331      0  2           0                syz-executor
 70308  409025  21331      0  3   0x4000080  fsleep        syz-executor
 70308  430445  21331      0  2   0x4000080                syz-executor
 70308  365642  21331      0  7   0x4000000                syz-executor
 56677  149765  57260      0  2           0                syz-executor
 56677  163381  57260      0  3   0x4000080  fsleep        syz-executor
 52561  403696  58374      0  3        0x82  wait          syz-executor
 47141  194977  58374      0  3        0x82  ppwait        syz-executor
 75280  492908  58374      0  3        0x82  piperd        syz-executor
 23562   53139  58374      0  3        0x82  piperd        syz-executor
 21331  210116  58374      0  3        0x82  nanoslp       syz-executor
 57260   85593  58374      0  3        0x82  nanoslp       syz-executor
*59573   36132  58374      0  7         0x2                syz-executor
 83797  415647      1      0  3    0x100083  ttyin         getty
 77147  168387      0      0  3     0x14200  bored         sosplice
 95851  190218      0      0  3     0x14280  nfsidl        nfsio
 86917   25828      0      0  3     0x14280  nfsidl        nfsio
 93808  128469      0      0  3     0x14280  nfsidl        nfsio
 94455  219621      0      0  3     0x14280  nfsidl        nfsio
 96989  378253      0      0  3     0x14280  nfsidl        nfsio
 37018  209319      0      0  3     0x14280  nfsidl        nfsio
 27489  217817      0      0  3     0x14280  nfsidl        nfsio
 90083  366430      0      0  3     0x14280  nfsidl        nfsio
 35689   79316      0      0  3     0x14280  nfsidl        nfsio
 59990  165248      0      0  3     0x14280  nfsidl        nfsio
 85901  474068      0      0  3     0x14280  nfsidl        nfsio
 54123  116654      0      0  3     0x14280  nfsidl        nfsio
  8624  403146      0      0  3     0x14280  nfsidl        nfsio
 75463   62810      0      0  3     0x14280  nfsidl        nfsio
  1485  313402      0      0  3     0x14280  nfsidl        nfsio
 77162  326767      0      0  3     0x14280  nfsidl        nfsio
 56594   95084      0      0  3     0x14280  nfsidl        nfsio
 38464  378193      0      0  3     0x14280  nfsidl        nfsio
 76091  145822      0      0  3     0x14280  nfsidl        nfsio
 19072  331885      0      0  3     0x14280  nfsidl        nfsio
 58374  499860  43129      0  3        0x82  wait          syz-executor
 43129  509960  94298      0  3    0x10008a  sigsusp       ksh
 94298   30768   1621      0  3        0x98  kqread        sshd-session
  1621    1998  10397      0  3        0x92  kqread        sshd-session
 10397  361398      1      0  3        0x88  kqread        sshd
 13334  373552   2662     74  3   0x1100092  bpf           pflogd
  2662  476730      1      0  3        0x80  sbwait        pflogd
 11095  187041  15663     73  2   0x1100010                syslogd
 15663  209393      1      0  3    0x100082  sbwait        syslogd
 98922   32175      1      0  3    0x100080  kqread        resolvd
 40008  226422  18965     77  3    0x100092  kqread        dhcpleased
 28231  203886  18965     77  3    0x100092  kqread        dhcpleased
 18965  366267      1      0  3        0x80  kqread        dhcpleased
 75464   90898      0      0  3     0x14200  bored         smr
 14191   24305      0      0  2     0x14200                zerothread
 69078  310007      0      0  3     0x14200  aiodoned      aiodoned
 76433  467525      0      0  3     0x14200  syncer        update
 59552  304290      0      0  3     0x14200  cleaner       cleaner
 33753  438622      0      0  3     0x14200  reaper        reaper
 43481  344889      0      0  3     0x14200  pgdaemon      pagedaemon
 90655  389728      0      0  3     0x14200  bored         viomb
 61016  256554      0      0  3  0x40014200  acpi0         acpi0
  4137  104002      0      0  3  0x40014200                idle1
 60673  185055      0      0  3     0x14200  bored         softnet3
 52375   89832      0      0  3     0x14200  bored         softnet2
 62798    4586      0      0  3     0x14200  bored         softnet1
 64046  464266      0      0  3     0x14200  bored         softnet0
 30665  300185      0      0  3     0x14200  bored         systqmp
 70697  187229      0      0  3     0x14200  bored         systq
 22780  474299      0      0  3     0x14200  tmoslp        softclockmp
 58400  146819      0      0  3  0x40014200  tmoslp        softclock
 69539  141816      0      0  3  0x40014200                idle0
     1   46208      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 59573 (syz-executor) thread 0xffff8000371ddc18 (36132)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83628520)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  __mp_acquire_count+0x58
#2  mi_switch+0x658 sys/kern/sched_bsd.c:460
#3  sleep_finish+0x219 sys/kern/kern_synch.c:416
#4  biowait+0xc1 sys/kern/vfs_bio.c:1254
#5  bwrite+0x2e2 sys/kern/vfs_bio.c:766
#6  ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111
#7  ufs_mkdir+0x55a sys/ufs/ufs/ufs_vnops.c:1160
#8  VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
#10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806be08c58)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169
#5  ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230
#6  ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393
#7  ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112
#8  VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
#10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd80660c9928)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0x109 sys/kern/vfs_lookup.c:418
#6  namei+0x7aa sys/kern/vfs_lookup.c:250
#7  domkdirat+0x8b sys/kern/vfs_syscalls.c:3084
#8  syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#8  syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#9  Xsyscall+0x128
Process 11095 (syslogd) thread 0xffff8000ffffd960 (187041)
exclusive rrwlock inode r = 0 (0xfffffd806e4e10a0)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926
#6  syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#6  syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#7  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10201  10236K   10540K 166960K     12301        0
            pcb    17     14K      14K 166960K       209        0
         rtable   173      5K       7K 166960K      1209        0
             pf    33     17K      21K 166960K       184        0
         ifaddr    36      6K       7K 166960K       169        0
        ifgroup    51      2K       2K 166960K       199        0
         sysctl     3      0K       0K 166960K         5        0
       counters    62     36K      36K 166960K       140        0
       ioctlops     0      0K       4K 166960K      1654        0
            iov     0      0K      28K 166960K       135        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1510     95K      95K 166960K      2538        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        15        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        27        0
        dirhash    12      2K       2K 166960K        30        0
           ACPI  1690    195K     286K 166960K     12418        0
      file desc    15     53K      89K 166960K      1348        0
          sigio     0      0K       0K 166960K        13        0
           proc    80    103K     128K 166960K      1368        0
        subproc   104      6K       6K 166960K       468        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       121        0
       in_multi    77      5K       7K 166960K       414        0
    ether_multi     1      0K       0K 166960K         6        0
            mrt     1      0K       0K 166960K         4        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    49    228K     228K 166960K        49        0
           exec     0      0K       1K 166960K       785        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   200     71K      91K 166960K     12451        0
       UVM aobj    24      4K       4K 166960K        37        0
     pinsyscall    40     80K     100K 166960K      3128        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        61        0
            NDP    21      1K       2K 166960K       120        0
           temp    74   6824K    6895K 166960K     55418        0
         kqueue    13     20K      32K 166960K       139        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       24    0        0     1     0     1     1     0     8    0
rtpcb      120      142    0      139     1     0     1     1     0     8    0
rtentry    112      420    0      342     4     1     3     4     0     8    0
unpcb      144     1006    0      987    12    10     2     6     0     8    1
syncache   336        6    0        6     4     4     0     1     0     8    0
tcpqe       32        2    0        2     1     1     0     1     0     8    0
tcpcb      808      447    0      442    21    17     4     8     0     8    3
arp        120       73    0       59     1     0     1     1     0     8    0
ipq         40        1    0        1     1     1     0     1     0     8    0
ipqe        40        3    0        3     1     1     0     1     0     8    0
inpcb      336     1378    0     1304    25    18     7     7     0     8    0
nd6        136      108    0       90     1     0     1     1     0     8    0
pkpcb       40        3    0        3     2     2     0     1     0     8    0
kcovpl      48       36    0       28     1     0     1     1     0     8    0
ppxss      1168       6    0        6     2     2     0     1     0     8    0
pffrag     232        3    0        2     1     0     1     1     0   482    0
pffrnode    88        3    0        2     1     0     1     1     0     8    0
pffrent     40        5    0        4     1     0     1     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
pfstitem    24      101    0       57     1     0     1     1     0     8    0
pfstkey    128      101    0       57     2     0     2     2     0     8    0
pfstate    376      101    0       57     6     0     6     6     0     8    0
pfrule     1344      43    0       28     2     0     2     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1707    0     1343    30     3    27    28     0     8    1
art_table   32     1708    0     1343     4     0     4     4     0     8    0
art_node    16      416    0      346     1     0     1     1     0     8    0
sysvmsgpl   40       13    0        6     1     0     1     1     0     8    0
semapl     112       23    0       13     1     0     1     1     0     8    0
shmpl      112       34    0       13     1     0     1     1     0     8    0
dirhash    1024      30    0       13     3     0     3     3     0     8    0
dino2pl    256     3070    0     1516    98     0    98    98     0     8    0
ffsino     272     3070    0     1516   105     1   104   104     0     8    0
nchpl      144     4465    0     3885    63    40    23    63     0     8    0
uvmvnodes   80     4140    0        0    85     0    85    85     0     8    0
vnodes     216     4140    0        0   230     0   230   230     0     8    0
namei      1024   18541    0    18540     6     5     1     2     0     8    0
percpumem   16       84    0       39     1     0     1     1     0     8    0
kstatmem   264      100    0       78     2     0     2     2     0     8    0
scsiplug    72        1    0        1     1     1     0     1     0     8    0
scxspl     216    22627    0    22627    10     9     1     8     1     8    1
plimitpl   152      264    0      247     1     0     1     1     0     8    0
sigapl     424     1619    0     1551     9     0     9     9     0     8    0
futexpl     64    12729    0    12727     3     2     1     1     0     8    0
knotepl    120      398    0        0    13     0    13    13     0     8    0
kqueuepl   216      346    0      337     5     4     1     3     0     8    0
pipepl     320      327    0      300     3     0     3     3     0     8    0
fdescpl    496     1577    0     1548     6     1     5     5     0     8    1
filepl     152     9723    0     9414    29    14    15    19     0     8    3
lockfpl    104      529    0      527     3     2     1     2     0     8    0
lockfspl    48      221    0      219     1     0     1     1     0     8    0
sessionpl  144       55    0       46     1     0     1     1     0     8    0
pgrppl      48       98    0       81     1     0     1     1     0     8    0
ucredpl    104     1601    0     1588     1     0     1     1     0     8    0
zombiepl   144     1552    0     1551     2     1     1     1     0     8    0
processpl  1160    1619    0     1551     6     0     6     6     0     8    0
procpl     648     3003    0     2931     9     1     8     8     0     8    0
srpgc       96        6    0        6     3     3     0     1     0     8    0
sosppl     168        4    0        3     2     1     1     1     0     8    0
sockpl     664     2543    0     2447    32    23     9    14     0     8    1
mcl64k     65536      7    0        0     1     0     1     1     0     8    0
mcl16k     16384      5    0        0     1     0     1     1     0     8    0
mcl12k     12288      4    0        0     1     0     1     1     0     8    0
mcl9k      9216       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       7    0        0     1     0     1     1     0     8    0
mcl4k      4096       6    0        0     1     0     1     1     0     8    0
mcl2k      2048     225    0        0    29     1    28    29     0     8    0
mtagpl      96       23    0        0     1     0     1     1     0     8    0
mbufpl     256      509    0        0    32     0    32    32     0     8    0
bufpl      280     7099    0      925   442     0   442   442     0     8    0
anonpl      24   259833    0   256575    85    33    52    63     0   185   16
amapchunkpl 152   39788    0    39409    44    12    32    33     0   158   14
amappl16   200     5614    0     5607    32    30     2    15     0     8    0
amappl15   192       27    0       27     1     1     0     1     0     8    0
amappl14   184      175    0      163     1     0     1     1     0     8    0
amappl13   176        7    0        7     1     1     0     1     0     8    0
amappl12   168     2649    0     2621     3     1     2     2     0     8    0
amappl11   160       56    0       41     1     0     1     1     0     8    0
amappl10   152        8    0        8     1     1     0     1     0     8    0
amappl9    144      136    0      136     1     1     0     1     0     8    0
amappl8    136       52    0       49     1     0     1     1     0     8    0
amappl7    128      168    0      155     1     0     1     1     0     8    0
amappl6    120      436    0      432     1     0     1     1     0     8    0
amappl5    112      246    0      233     1     0     1     1     0     8    0
amappl4    104      398    0      379     1     0     1     1     0     8    0
amappl3     96     8094    0     8009     5     1     4     4     0     8    0
amappl2     88     1082    0     1011     2     0     2     2     0     8    0
amappl1     80    13488    0    12932    15     1    14    14     0     8    0
amappl      88    11809    0    11671     5     0     5     5     0    92    0
dma32768   32768      1    0        1     1     1     0     1     0     8    0
dma8192    8192       1    0        1     1     1     0     1     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma2048    2048       1    0        1     1     1     0     1     0     8    0
dma1024    1024       2    0        1     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       19    0       18     1     0     1     1     0     8    0
aobjpl      72       36    0       13     1     0     1     1     0     8    0
uaddrrnd    24     1577    0     1548     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1577    0     1548     1     0     1     1     0     8    0
vmmpekpl   168    13948    0    13891     5     1     4     4     0     8    0
vmmpepl    168   103186    0   101541   106    22    84    97     0   357    4
vmsppl     440     1576    0     1548     6     2     4     5     0     8    0
rwobjpl     56    34880    0    29827    72     0    72    72     0     8    0
pdppl      4096    3161    0     3096   123    54    69    83     0     8    4
pvpl        32    31131    0        0   252     1   251   251     0   265    0
pmappl     248     1576    0     1548     3     0     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      489    0      110    12     0    12    12     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff834f4ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83628318) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83628318) at __mp_lock+0x192 sys/kern/kern_lock.c:144
intr_handler(ffff80002a09a720,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__mp_lock(ffffffff83628318) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83628318) at __mp_lock+0x199 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x38 sys/dev/kcov.c:164
rw_enter(ffff8000011e5d80,11) at rw_enter+0x407 sys/kern/kern_rwlock.c:309
sblock(ffff8000011e5d80,1) at sblock+0xb7 sys/kern/uipc_socket2.c:549
soreceive(ffff8000011e5cc0,ffff80002a09ab78,ffff80002a09ab28,0,0,ffff80002a09acec,533d292a4069a904) at soreceive+0x295 sys/kern/uipc_socket.c:947
recvit(ffff8000371c1c08,4,ffff80002a09acc0,0,ffff80002a09ad70) at recvit+0x40a sys/kern/uipc_syscalls.c:1082
end trace frame: 0xffff80002a09ad40, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff834f4ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83628318) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83628318) at __mp_lock+0x192 sys/kern/kern_lock.c:144
intr_handler(ffff80002a09a720,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__mp_lock(ffffffff83628318) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff83628318) at __mp_lock+0x199 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88
Xsoftclock() at Xsoftclock+0x27
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x38 sys/dev/kcov.c:164
rw_enter(ffff8000011e5d80,11) at rw_enter+0x407 sys/kern/kern_rwlock.c:309
sblock(ffff8000011e5d80,1) at sblock+0xb7 sys/kern/uipc_socket2.c:549
soreceive(ffff8000011e5cc0,ffff80002a09ab78,ffff80002a09ab28,0,0,ffff80002a09acec,533d292a4069a904) at soreceive+0x295 sys/kern/uipc_socket.c:947
recvit(ffff8000371c1c08,4,ffff80002a09acc0,0,ffff80002a09ad70) at recvit+0x40a sys/kern/uipc_syscalls.c:1082
sys_recvmsg(ffff8000371c1c08,ffff80002a09ae20,ffff80002a09ad70) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882
syscall(ffff80002a09ae20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a09ae20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xd5ddefa3170, count: -17
ddb{0}> machine ddbcpu 1
Stopped at      ffs_blkfree+0x263:      movl    0x4(%r13),%r15d
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 ffs_cgread sys/ufs/ffs/ffs_alloc.c:856 [inline]
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 sys/ufs/ffs/ffs_alloc.c:1272
ffs_truncate(fffffd806be08bc0,0,0,ffffffffffffffff) at ffs_truncate+0x139f sys/ufs/ffs/ffs_inode.c:325
ufs_inactive(ffff80002a157e48) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806fd0ee98,ffff8000371ddc18) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vput(fffffd806fd0ee98) at vput+0xe5 sys/kern/vfs_subr.c:779
ufs_mkdir(ffff80002a158070) at ufs_mkdir+0x6be
VOP_MKDIR(fffffd806fa36958,ffff80002a1581d0,ffff80002a158200,ffff80002a158100) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
domkdirat(ffff8000371ddc18,ffffff9c,706c24180800,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
syscall(ffff80002a158380) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a158380) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x706c24180890, count: 5
ddb{1}> trace
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 ffs_cgread sys/ufs/ffs/ffs_alloc.c:856 [inline]
ffs_blkfree(fffffd806be08bc0,7742f,800) at ffs_blkfree+0x263 sys/ufs/ffs/ffs_alloc.c:1272
ffs_truncate(fffffd806be08bc0,0,0,ffffffffffffffff) at ffs_truncate+0x139f sys/ufs/ffs/ffs_inode.c:325
ufs_inactive(ffff80002a157e48) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd806fd0ee98,ffff8000371ddc18) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vput(fffffd806fd0ee98) at vput+0xe5 sys/kern/vfs_subr.c:779
ufs_mkdir(ffff80002a158070) at ufs_mkdir+0x6be
VOP_MKDIR(fffffd806fa36958,ffff80002a1581d0,ffff80002a158200,ffff80002a158100) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394
domkdirat(ffff8000371ddc18,ffffff9c,706c24180800,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099
syscall(ffff80002a158380) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a158380) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x706c24180890, count: -10

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/14 12:58 openbsd f4336680ed94 08d8a733 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
2024/09/14 06:19 openbsd 3800fc3581d8 ff60e2ca .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
2024/09/14 01:51 openbsd 3800fc3581d8 ff60e2ca .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
2024/09/13 08:13 openbsd 00475b9b7a59 73e8a465 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
2024/09/13 06:37 openbsd 00475b9b7a59 73e8a465 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
2024/09/13 01:44 openbsd 00475b9b7a59 73e8a465 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs_blkfree
* Struck through repros no longer work on HEAD.