syzbot


uvm_fault: witness_checkorder (5)

Status: upstream: reported on 2024/03/25 02:45
Reported-by: syzbot+a7fc47685a6a4310195e@syzkaller.appspotmail.com
First crash: 84d, last: 24d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: witness_checkorder (3) C 212 279d 532d 0/3 auto-obsoleted due to no activity on 2023/11/01 12:30
openbsd uvm_fault: witness_checkorder (2) 1 1671d 1671d 0/3 auto-closed as invalid on 2020/02/18 09:16
openbsd uvm_fault: witness_checkorder syz 2 1702d 1702d 3/3 fixed on 2019/10/22 13:03
openbsd uvm_fault: witness_checkorder (4) 1 206d 206d 0/3 auto-obsoleted due to no activity on 2024/02/21 18:24

Sample crash report:
uvm_fault(0xfffffd806a87ca68, 0x28, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      witness_checkorder+0x8e:        movl    0x18(%r14),%r15d
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*466701   1397      0   0x8000002          0    0K syz-executor.0
witness_checkorder(10,9,0) at witness_checkorder+0x8e sys/kern/subr_witness.c:782
rw_enter(0,1) at rw_enter+0xd1
uvm_vnp_terminate(fffffd8069680458) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428
vclean(fffffd8069680458,8,ffff8000313402d0) at vclean+0x10a sys/kern/vfs_subr.c:1063
vgonel(fffffd8069680458,ffff8000313402d0) at vgonel+0x7f sys/kern/vfs_subr.c:1175
checkalias(fffffd8061f73b58,1c1300,0) at checkalias+0x159
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline]
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c sys/kern/vfs_subr.c:507
spec_open_clone(ffff8000373bdba8) at spec_open_clone+0x18f sys/kern/spec_vnops.c:711
spec_open(ffff8000373bdba8) at spec_open+0x242 sys/kern/spec_vnops.c:148
VOP_OPEN(fffffd806e94fca8,3,fffffd807f7d3820,ffff8000313402d0) at VOP_OPEN+0x79 sys/kern/vfs_vops.c:138
vn_open(ffff8000373bddf8,3,0) at vn_open+0x4e4 sys/kern/vfs_vnops.c:177
doopenat(ffff8000313402d0,ffffff9c,9ac3b0af15b,2,0,ffff8000373bdfa0) at doopenat+0x269 sys/kern/vfs_syscalls.c:1127
syscall(ffff8000373be050) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000373be050) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x721363781860, count: 1
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: uvm_fault(0xfffffd806a87ca68, 0x28, 0, 1) -> e
ddb{0}> trace
witness_checkorder(10,9,0) at witness_checkorder+0x8e sys/kern/subr_witness.c:782
rw_enter(0,1) at rw_enter+0xd1
uvm_vnp_terminate(fffffd8069680458) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428
vclean(fffffd8069680458,8,ffff8000313402d0) at vclean+0x10a sys/kern/vfs_subr.c:1063
vgonel(fffffd8069680458,ffff8000313402d0) at vgonel+0x7f sys/kern/vfs_subr.c:1175
checkalias(fffffd8061f73b58,1c1300,0) at checkalias+0x159
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline]
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c sys/kern/vfs_subr.c:507
spec_open_clone(ffff8000373bdba8) at spec_open_clone+0x18f sys/kern/spec_vnops.c:711
spec_open(ffff8000373bdba8) at spec_open+0x242 sys/kern/spec_vnops.c:148
VOP_OPEN(fffffd806e94fca8,3,fffffd807f7d3820,ffff8000313402d0) at VOP_OPEN+0x79 sys/kern/vfs_vops.c:138
vn_open(ffff8000373bddf8,3,0) at vn_open+0x4e4 sys/kern/vfs_vnops.c:177
doopenat(ffff8000313402d0,ffffff9c,9ac3b0af15b,2,0,ffff8000373bdfa0) at doopenat+0x269 sys/kern/vfs_syscalls.c:1127
syscall(ffff8000373be050) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000373be050) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x721363781860, count: -14
ddb{0}> show registers
rdi                                0
rsi                                0
rbp               0xffff8000373bd830
rbx                                0
rdx                                0
rcx               0xffff8000313402d0
rax               0xffffffff82d37ff0    cpu_info_full_primary+0x1ff0
r8                              0x50
r9                0xfffffd807f7d3820
r10               0x4f2a5a50d2d169a6
r11               0xadb9dd13bedcf445
r12                                0
r13                              0x1
r14                             0x10
r15                              0x3
rip               0xffffffff81eba44e    witness_checkorder+0x8e
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff8000373bd780
ss                              0x10
witness_checkorder+0x8e:        movl    0x18(%r14),%r15d
ddb{0}> show proc
PROC (syz-executor.0) tid=466701 pid=1397 tcnt=1 stat=onproc
    flags process=8000002<EXEC> proc=0
    runpri=64, usrpri=64, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000313407f0,0xffff8000313419f0
    process=0xffff8000373844b0 user=0xffff8000373b9000, vmspace=0xfffffd806a87ca68
    estcpu=14, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 26646  187520  10198      0  2   0x8000000                syz-executor.4
 85469   61670  92766      0  2   0x8000000                syz-executor.3
 85469  286129  92766      0  2   0xc000000                syz-executor.3
 70618  333109  37470      0  2   0x8000000                syz-executor.1
 70618  209739  37470      0  3   0xc000080  fsleep        syz-executor.1
* 1397  466701  50073      0  7   0x8000002                syz-executor.0
 75676   40740  16997      0  2   0x8000000                syz-executor.2
 75676  481274  16997      0  3   0xc000080  fsleep        syz-executor.2
 67437  331477  86756      0  2   0x8000010                syz-executor.6
 67437  108632  86756      0  3   0xc000090  fsleep        syz-executor.6
 16224  220351  26836      0  2   0x8000000                syz-executor.5
 16224  262584  26836      0  3   0xc000080  fsleep        syz-executor.5
 69461  498291  83551      0  3   0x8000080  nanoslp       syz-executor.7
 69461  493736  83551      0  3   0xc000080  lockf         syz-executor.7
 69461  355819  83551      0  3   0xc000080  fsleep        syz-executor.7
 69461  295912  83551      0  3   0xc000080  fsleep        syz-executor.7
 10198   62517  50073      0  3   0x8000082  nanoslp       syz-executor.4
 37470  450046  50073      0  3   0x8000082  nanoslp       syz-executor.1
 31294  251449      1      0  3  0x18100083  ttyin         getty
 92766  124840  50073      0  3   0x8000082  nanoslp       syz-executor.3
 26836   84150  50073      0  3   0x8000082  nanoslp       syz-executor.5
 83551  336017  50073      0  3   0x8000082  nanoslp       syz-executor.7
 86756  141644  50073      0  3   0x8000082  nanoslp       syz-executor.6
 30568  441913      0      0  3     0x14280  nfsidl        nfsio
 59287  308934      0      0  3     0x14280  nfsidl        nfsio
 13874  512455      0      0  3     0x14280  nfsidl        nfsio
 35213  113248      0      0  3     0x14280  nfsidl        nfsio
 20930  294315      0      0  3     0x14280  nfsidl        nfsio
 10046  144673      0      0  3     0x14280  nfsidl        nfsio
  7135  428138      0      0  3     0x14280  nfsidl        nfsio
 66843  434886      0      0  3     0x14280  nfsidl        nfsio
 55238  462455      0      0  3     0x14280  nfsidl        nfsio
 59813  423410      0      0  3     0x14280  nfsidl        nfsio
  4827  372418      0      0  3     0x14280  nfsidl        nfsio
 39699  491768      0      0  3     0x14280  nfsidl        nfsio
 27476   29100      0      0  3     0x14280  nfsidl        nfsio
 10863  387366      0      0  3     0x14280  nfsidl        nfsio
 27960  120197      0      0  3     0x14280  nfsidl        nfsio
 57288   28679      0      0  3     0x14280  nfsidl        nfsio
 56904  480059      0      0  3     0x14280  nfsidl        nfsio
 24230  496193      0      0  3     0x14280  nfsidl        nfsio
 20568  331185      0      0  3     0x14280  nfsidl        nfsio
 82627  523122      0      0  3     0x14280  nfsidl        nfsio
  7935  358020      0      0  3     0x14200  bored         sosplice
 16997  282108  50073      0  3   0x8000082  nanoslp       syz-executor.2
 50073  425026  64055      0  3  0x1a000082  kqread        syz-fuzzer
 50073  494529  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  298059  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073   96877  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  338883  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  235163  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  183004  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  242594  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  181066  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  148894  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  368014  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  427798  64055      0  3  0x1e000082  thrsleep      syz-fuzzer
 50073  513952  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073   24152  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  391691  64055      0  3  0x1e000082  wait          syz-fuzzer
 50073  473047  64055      0  3  0x1e000082  wait          syz-fuzzer
 64055  301604  38039      0  3   0x810008a  sigsusp       ksh
 38039  122888  17087      0  3  0x1800009a  kqread        sshd
 17087  218583      1      0  3  0x18000088  kqread        sshd
 89345  163220  30051     73  2  0x19100010                syslogd
 30051  214625      1      0  3  0x18100082  sbwait        syslogd
 45601   81545      1      0  3  0x18100080  kqread        resolvd
 28932  513762  93401     77  3  0x18100092  kqread        dhcpleased
 67147  186741  93401     77  3  0x18100092  kqread        dhcpleased
 93401  514002      1      0  3  0x18000080  kqread        dhcpleased
 47437  277919      0      0  3     0x14200  bored         smr
 43313  439023      0      0  2     0x14200                zerothread
 28989   50552      0      0  3     0x14200  aiodoned      aiodoned
 67241   66371      0      0  3     0x14200  syncer        update
 31670  106453      0      0  3     0x14200  cleaner       cleaner
 33829  291846      0      0  3     0x14200  reaper        reaper
 94811   63699      0      0  3     0x14200  pgdaemon      pagedaemon
 52013     226      0      0  3     0x14200  bored         viomb
 27198   60881      0      0  3  0x40014200  acpi0         acpi0
 29619  319333      0      0  7  0x40014200                idle1
 77876  429957      0      0  3     0x14200  bored         softnet3
 57858  315208      0      0  3     0x14200  bored         softnet2
 63182  298433      0      0  3     0x14200  bored         softnet1
  5844   80504      0      0  3     0x14200  bored         softnet0
 69242  116986      0      0  3     0x14200  bored         systqmp
 74499  325024      0      0  3     0x14200  bored         systq
 44142  203259      0      0  3     0x14200  tmoslp        softclockmp
 21284  489520      0      0  3  0x40014200  tmoslp        softclock
 85945   73611      0      0  3  0x40014200                idle0
     1   23680      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 1397 (syz-executor.0) thread 0xffff8000313402d0 (466701)
exclusive rrwlock inode r = 0 (0xfffffd806e3a60a0)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  rw_enter+0x32d sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x91 sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:524
#4  vn_lock+0x85 sys/kern/vfs_vnops.c:564
#5  vget+0x1fd sys/kern/vfs_subr.c:676
#6  cache_lookup+0x2b3 sys/kern/vfs_cache.c:222
#7  ufs_lookup+0x1b2 sys/ufs/ufs/ufs_lookup.c:160
#8  VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85
#9  vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566
#10 namei+0x56a sys/kern/vfs_lookup.c:250
#11 vn_open+0x101 sys/kern/vfs_vnops.c:140
#12 doopenat+0x269 sys/kern/vfs_syscalls.c:1127
#13 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
#13 syscall+0x854 sys/arch/amd64/amd64/trap.c:577
#14 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e5a068)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  syscall+0x83b mi_syscall sys/sys/syscall_mi.h:180 [inline]
#1  syscall+0x83b sys/arch/amd64/amd64/trap.c:577
#2  Xsyscall+0x128
Process 89345 (syslogd) thread 0xffff8000ffffdc40 (163220)
exclusive rrwlock inode r = 0 (0xfffffd806e766700)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  rw_enter+0x32d sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x91 sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:524
#4  vn_lock+0x85 sys/kern/vfs_vnops.c:564
#5  sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2931
#6  syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
#6  syscall+0x854 sys/arch/amd64/amd64/trap.c:577
#7  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10204   6505K    7134K 166960K     13910        0
            pcb    17     14K      16K 166960K       324        0
         rtable   184     13K      14K 166960K       911        0
             pf    29      8K      10K 166960K       129        0
         ifaddr    39     14K      15K 166960K       141        0
        ifgroup    50      2K       2K 166960K       197        0
         sysctl     3      0K       0K 166960K         3        0
       counters    64     36K      36K 166960K       140        0
       ioctlops     0      0K       4K 166960K      1552        0
            iov     0      0K      16K 166960K       100        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1383     87K      87K 166960K      2748        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2     16K      28K 166960K        48        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K       112        0
        dirhash    12      2K       2K 166960K        42        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    17     61K      89K 166960K      1613        0
          sigio     0      0K       0K 166960K        31        0
           proc    59     79K     128K 166960K       993        0
        subproc    91      5K       7K 166960K       300        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       217        0
       in_multi    78      5K       7K 166960K       297        0
    ether_multi     1      0K       0K 166960K        14        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    97    440K     440K 166960K        97        0
           exec     0      0K       1K 166960K       725        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   294     91K     128K 166960K     15794        0
       UVM aobj    74      7K       7K 166960K        78        0
     pinsyscall    37     74K     100K 166960K      3128        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       1K 166960K       129        0
            NDP    11      0K       2K 166960K        93        0
           temp    71   6819K    6943K 166960K     51893        0
         kqueue    13     20K      27K 166960K       256        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{0}> 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      174    0      171     1     0     1     1     0     8    0
rtentry    112      312    0      231     4     0     4     4     0     8    0
unpcb      144     1266    0     1253     3     2     1     2     0     8    0
syncache   336        7    0        7     3     3     0     1     0     8    0
tcpqe       32       15    0       15     1     1     0     1     0     8    0
tcpcb      808      468    0      462     9     8     1     2     0     8    0
arp        120       55    0       39     1     0     1     1     0     8    0
inpcb      384     1757    0     1746    30    28     2    15     0     8    0
nd6        136       79    0       59     1     0     1     1     0     8    0
pkpcb       40        4    0        4     4     4     0     1     0     8    0
kcovpl      48       23    0       16     1     0     1     1     0     8    0
ppxss      1168      11    0       11     6     6     0     1     0     8    0
pffrag     232        8    0        7     3     2     1     1     0   482    0
pffrnode    88        8    0        7     3     2     1     1     0     8    0
pffrent     40      143    0      142     4     3     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      148    0      119     1     0     1     1     0     8    0
pfstkey    128      148    0      119     2     0     2     2     0     8    0
pfstate    376      148    0      119     4     0     4     4     0     8    0
pfrule     1344      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       2    0        1     2     1     1     2     0     8    0
art_heap4  256     1238    0      876    35     9    26    29     0     8    1
art_table   32     1240    0      877     4     0     4     4     0     8    0
art_node    16      308    0      235     1     0     1     1     0     8    0
sysvmsgpl   40       11    0        4     2     1     1     1     0     8    0
semupl     112        3    0        3     2     2     0     1     0     8    0
semapl     112      109    0       99     1     0     1     1     0     8    0
shmpl      112       75    0        4     3     0     3     3     0     8    0
dirhash    1024      37    0       20     3     0     3     3     0     8    0
dino2pl    256     4055    0     2541    96     0    96    96     0     8    0
ffsino     272     4055    0     2541   102     0   102   102     0     8    0
nchpl      144     6463    0     4725    67     0    67    67     0     8    0
uvmvnodes   80     5132    0        0   105     0   105   105     0     8    0
uvmvnodes: pool(0xffffffff82e5baf0:uvmvnodes): page inconsistency: page 0x0; at page head addr 0xfffffd80637e4f90 (p 0xfffffd80637e4000)
vnodes     216     5132    0        0   286     0   286   286     0     8    0
namei      1024   22774    0    22774     6     5     1     2     0     8    1
percpumem   16       84    0       38     1     0     1     1     0     8    0
vcpupl     3904       4    0        2     1     0     1     1     0     8    0
vmpool     696       10    0        8     4     3     1     1     0     8    0
kstatmem   264       98    0       76     2     0     2     2     0     8    0
scsiplug    72        7    0        7     4     4     0     1     0     8    0
scxspl     216    40283    0    40283    13    12     1     8     1     8    1
plimitpl   152      285    0      270     1     0     1     1     0     8    0
sigapl     424     1907    0     1840     9     0     9     9     0     8    0
futexpl     64    28603    0    28597     8     7     1     1     0     8    0
knotepl    120      738    0        0    18     0    18    18     0     8    0
kqueuepl   216      517    0      508     1     0     1     1     0     8    0
pipepl     320      411    0      382     4     1     3     3     0     8    0
fdescpl    496     1867    0     1839     7     2     5     5     0     8    0
filepl     152    12180    0    11945    16     5    11    16     0     8    0
lockfpl    104      634    0      630     1     0     1     1     0     8    0
lockfspl    48      265    0      262     1     0     1     1     0     8    0
sessionpl  144       38    0       23     1     0     1     1     0     8    0
pgrppl      48       56    0       41     1     0     1     1     0     8    0
ucredpl    104     1867    0     1855     1     0     1     1     0     8    0
zombiepl   144     1840    0     1840     2     1     1     1     0     8    1
processpl  1144    1907    0     1840     8     2     6     6     0     8    0
procpl     656     3456    0     3366     9     0     9     9     0     8    0
srpgc       96       10    0       10     5     5     0     1     0     8    0
sosppl     168        5    0        5     3     3     0     1     0     8    0
sockpl     664     3221    0     3194    30    26     4    15     0     8    0
mcl64k     65536      6    0        0     1     0     1     1     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl12k     12288      2    0        0     1     0     1     1     0     8    0
mcl9k      9216       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       5    0        0     1     0     1     1     0     8    0
mcl4k      4096       4    0        0     1     0     1     1     0     8    0
mcl2k      2048     375    0        0    47     0    47    47     0     8    0
mtagpl      96       26    0        0     1     0     1     1     0     8    0
mbufpl     256      494    0        0    26     0    26    26     0     8    0
bufpl      280    10933    0     2836   579     0   579   579     0     8    0
anonpl      24   431587    0   425526    90    27    63    86     0   186    0
amapchunkpl 152   55060    0    54380    70    38    32    50     0   158    0
amappl16   200    10022    0     9885   100    88    12    33     0     8    0
amappl15   192       28    0       28     1     1     0     1     0     8    0
amappl14   184      237    0      226     2     1     1     2     0     8    0
amappl13   176       14    0       13     1     0     1     1     0     8    0
amappl12   168     2731    0     2700     2     0     2     2     0     8    0
amappl11   160       52    0       42     1     0     1     1     0     8    0
amappl10   152       58    0       49     1     0     1     1     0     8    0
amappl9    144      311    0      310     1     0     1     1     0     8    0
amappl8    136      216    0      181     2     0     2     2     0     8    0
amappl7    128       52    0       38     1     0     1     1     0     8    0
amappl6    120      508    0      494     2     1     1     2     0     8    0
amappl5    112      236    0      224     1     0     1     1     0     8    0
amappl4    104      631    0      597     3     1     2     3     0     8    0
amappl3     96     9852    0     9767     3     0     3     3     0     8    0
amappl2     88     2308    0     2236     3     1     2     3     0     8    0
amappl1     80    15039    0    14551    22    10    12    22     0     8    0
amappl      88    15023    0    14820     6     0     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       77    0        4     2     0     2     2     0     8    0
uaddrrnd    24     1877    0     1847     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1877    0     1847     1     0     1     1     0     8    0
vmmpekpl   168    17357    0    17289     4     0     4     4     0     8    0
vmmpepl    168   136095    0   134197   166    72    94   116     0   357    1
vmsppl     440     1876    0     1847     4     0     4     4     0     8    0
rwobjpl     56    43920    0    37629   102    11    91    93     0     8    0
pdppl      4096    3761    0     3696   162    95    67    77     0     8    2
pvpl        32    45798    0        0   370     0   370   370     0   265    0
pmappl     248     1876    0     1847     6     3     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      504    0      129    12     0    12    12     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
witness_checkorder(10,9,0) at witness_checkorder+0x8e sys/kern/subr_witness.c:782
rw_enter(0,1) at rw_enter+0xd1
uvm_vnp_terminate(fffffd8069680458) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428
vclean(fffffd8069680458,8,ffff8000313402d0) at vclean+0x10a sys/kern/vfs_subr.c:1063
vgonel(fffffd8069680458,ffff8000313402d0) at vgonel+0x7f sys/kern/vfs_subr.c:1175
checkalias(fffffd8061f73b58,1c1300,0) at checkalias+0x159
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline]
cdevvp(1c1300,ffff8000373bdad0) at cdevvp+0x9c sys/kern/vfs_subr.c:507
spec_open_clone(ffff8000373bdba8) at spec_open_clone+0x18f sys/kern/spec_vnops.c:711
spec_open(ffff8000373bdba8) at spec_open+0x242 sys/kern/spec_vnops.c:148
VOP_OPEN(fffffd806e94fca8,3,fffffd807f7d3820,ffff8000313402d0) at VOP_OPEN+0x79 sys/kern/vfs_vops.c:138
vn_open(ffff8000373bddf8,3,0) at vn_open+0x4e4 sys/kern/vfs_vnops.c:177
doopenat(ffff8000313402d0,ffffff9c,9ac3b0af15b,2,0,ffff8000373bdfa0) at doopenat+0x269 sys/kern/vfs_syscalls.c:1127
syscall(ffff8000373be050) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000373be050) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x721363781860, count: -14
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1e:        addq    $0x8,%rsp
x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27
acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27
acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183
end trace frame: 0x0, count: -5

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/24 15:40 openbsd 6859a790d2a4 8f98448e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2024/04/19 06:24 openbsd 78aef4a0e2ce af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2024/03/25 02:45 openbsd b9739e4cfaf4 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
* Struck through repros no longer work on HEAD.