syzbot


uvm_fault: witness_checkorder (6)

Status: upstream: reported on 2025/05/16 22:51
Reported-by: syzbot+94c529af6dd3e483cff6@syzkaller.appspotmail.com
First crash: 13d, last: 11d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: witness_checkorder (3) C 212 625d 879d 0/3 auto-obsoleted due to no activity on 2023/11/01 12:30
openbsd uvm_fault: witness_checkorder (2) 1 2017d 2017d 0/3 auto-closed as invalid on 2020/02/18 09:16
openbsd uvm_fault: witness_checkorder syz 2 2049d 2049d 3/3 fixed on 2019/10/22 13:03
openbsd uvm_fault: witness_checkorder (4) 1 553d 553d 0/3 auto-obsoleted due to no activity on 2024/02/21 18:24
openbsd uvm_fault: witness_checkorder (5) 7 197d 431d 0/3 auto-obsoleted due to no activity on 2025/02/12 06:16

Sample crash report:
uvm_fault(0xfffffd806af647a0, 0x48, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      witness_checkorder+0xa9:        movl    0x20(%r14),%r15d
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 131142  29248      0           0          0    0  syz-executor
*440504  64848      0           0  0x4000000    1K syz-executor
witness_checkorder(28,9,0) at witness_checkorder+0xa9 sys/kern/subr_witness.c:779
mtx_enter(18) at mtx_enter+0x47 sys/kern/kern_lock.c:238
clockintr_unbind(ffff8000015c6c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001492000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003c419170) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80784ab870,81,fffffd807f7d2680,ffff8000ffff2010) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8069b62608,ffff8000ffff2010) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd8069b62608,ffff8000ffff2010) at closef+0x192 sys/kern/kern_descrip.c:1251
syscall(ffff80003c4193d0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4193d0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa18c2b1c3d0, count: 3
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(0xfffffd806af647a0, 0x48, 0, 1) -> e
ddb{1}> trace
witness_checkorder(28,9,0) at witness_checkorder+0xa9 sys/kern/subr_witness.c:779
mtx_enter(18) at mtx_enter+0x47 sys/kern/kern_lock.c:238
clockintr_unbind(ffff8000015c6c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001492000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003c419170) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80784ab870,81,fffffd807f7d2680,ffff8000ffff2010) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8069b62608,ffff8000ffff2010) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd8069b62608,ffff8000ffff2010) at closef+0x192 sys/kern/kern_descrip.c:1251
syscall(ffff80003c4193d0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4193d0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa18c2b1c3d0, count: -12
ddb{1}> show registers
rdi                                0
rsi                                0
rbp               0xffff80003c418fe0
rbx                                0
rdx               0xffff800001496900
rcx               0xffff8000ffff2010
rax               0xffff8000299ddff0
r8                0xffffffff822f7620    uvm_map_inentry_sp
r9                                 0
r10                                0
r11               0x2d8f09fda6be336d
r12                                0
r13                              0x1
r14                             0x28
r15                              0x3
rip               0xffffffff81ee8829    witness_checkorder+0xa9
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80003c418f30
ss                              0x10
witness_checkorder+0xa9:        movl    0x20(%r14),%r15d
ddb{1}> show proc
PROC (syz-executor) tid=440504 pid=64848 tcnt=2 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=50, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000ffff2f70,0xffff8000ffff0550
    process=0xffff80003a810990 user=0xffff80003c414000, vmspace=0xfffffd806af647a0
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 42888   96785  66509      0  2           0                syz-executor
 42888  408626  66509      0  2   0x4000000                syz-executor
 42888  468050  66509      0  3   0x4000080  fsleep        syz-executor
 42888  281940  66509      0  3   0x4000080  fsleep        syz-executor
 29248  131142  87527      0  7           0                syz-executor
 29248  177783  87527      0  2   0x4000000                syz-executor
 27752  437131  71166      0  2           0                syz-executor
 27752   95678  71166      0  3   0x4000080  fsleep        syz-executor
 27752  379190  71166      0  3   0x4000080  fsleep        syz-executor
 27752  511974  71166      0  3   0x4000080  fsleep        syz-executor
 64848  344072  76141      0  2           0                syz-executor
*64848  440504  76141      0  7   0x4000000                syz-executor
 96470  194630  98726      0  2           0                syz-executor
 96470   27766  98726      0  3   0x4000080  msgwait       syz-executor
   789  438011  95450      0  3        0x80  nanoslp       syz-executor
   789  328763  95450      0  3   0x4000080  fsleep        syz-executor
   789  509794  95450      0  3   0x4000080  fifor         syz-executor
   789  129237  95450      0  3   0x4000080  fsleep        syz-executor
 80759  416543  90150      0  3        0x80  nanoslp       syz-executor
 80759  138038  90150      0  3   0x4000080  kqread        syz-executor
 80759  221389  90150      0  3   0x4000080  fsleep        syz-executor
 76141  509180  83948      0  3        0x82  nanoslp       syz-executor
 71166  291278  83948      0  3        0x82  nanoslp       syz-executor
 31595  494745      0      0  3     0x14200  acct          acct
 69396  154530      0      0  3     0x14200  bored         sosplice
 79383  131779  14932      0  3    0x100082  sbwait        arp
 14932  380915  58379      0  3    0x10008a  sigsusp       sh
 90150  277822  83948      0  3        0x82  nanoslp       syz-executor
 95450  416693  83948      0  3        0x82  nanoslp       syz-executor
 87527  444736  83948      0  3        0x82  nanoslp       syz-executor
 98726   48536  83948      0  3        0x82  nanoslp       syz-executor
 66509   54764  83948      0  3        0x82  nanoslp       syz-executor
 58379  190149  83948      0  3        0x82  wait          syz-executor
 83948  167438  81049      0  2         0x2                syz-executor
 81049  206086  23879      0  3    0x10008a  sigsusp       ksh
 23879  505937  65579      0  3        0x98  kqread        sshd-session
 65579  129889  79792      0  3        0x92  kqread        sshd-session
 21059  357300      1      0  3    0x100083  ttyin         getty
 79792  119848      1      0  3        0x88  kqread        sshd
 54717  382972  16744     74  3   0x1100092  bpf           pflogd
 16744  256348      1      0  3        0x80  sbwait        pflogd
 14722  429530  30046     73  3   0x1100090  kqread        syslogd
 30046  430217      1      0  3    0x100082  sbwait        syslogd
 25877  423863      1      0  3    0x100080  kqread        resolvd
 74374  411542  74623     77  3    0x100092  kqread        dhcpleased
 12623  303830  74623     77  3    0x100092  kqread        dhcpleased
 74623  154048      1      0  3        0x80  kqread        dhcpleased
 87519   26902      0      0  3     0x14200  bored         smr
 56444   96063      0      0  2     0x14200                zerothread
 18872   98753      0      0  3     0x14200  aiodoned      aiodoned
 65153  366338      0      0  3     0x14200  syncer        update
  5350  372855      0      0  3     0x14200  cleaner       cleaner
 62235  465928      0      0  3     0x14200  reaper        reaper
 91293  464401      0      0  3     0x14200  pgdaemon      pagedaemon
 88681  507325      0      0  3     0x14200  bored         viomb
 21176  457647      0      0  3  0x40014200  acpi0         acpi0
 93456  138131      0      0  3  0x40014200                idle1
 36870   58172      0      0  3     0x14200  bored         softnet3
 70084  103198      0      0  3     0x14200  bored         softnet2
 16536  116310      0      0  3     0x14200  bored         softnet1
 95645  472364      0      0  3     0x14200  bored         softnet0
 57861   56965      0      0  3     0x14200  bored         systqmp
 58875  478794      0      0  3     0x14200  bored         systq
 13873  115456      0      0  3     0x14200  tmoslp        softclockmp
 85430  300267      0      0  3  0x40014200  tmoslp        softclock
 49663   61350      0      0  3  0x40014200                idle0
     1  220345      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 64848 (syz-executor) thread 0xffff8000ffff2010 (440504)
exclusive rwlock dtlk r = 0 (0xffffffff83828a28)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x367 sys/kern/kern_rwlock.c:311
#2  dt_ioctl_record_stop+0x68 sys/dev/dt/dt_dev.c:-1
#3  dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
#3  dtclose+0x105 sys/dev/dt/dt_dev.c:232
#4  spec_close+0x45f sys/kern/spec_vnops.c:-1
#5  VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
#6  vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
#6  vn_closefile+0x12b sys/kern/vfs_vnops.c:615
#7  fdrop+0x126 sys/kern/kern_descrip.c:1267
#8  closef+0x192 sys/kern/kern_descrip.c:1251
#9  syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#9  syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
#10 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838d47b0)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1160
#1  vn_closefile+0x41 sys/kern/vfs_vnops.c:608
#2  fdrop+0x126 sys/kern/kern_descrip.c:1267
#3  closef+0x192 sys/kern/kern_descrip.c:1251
#4  syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#4  syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
#5  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10220  11063K   11763K 166960K     12643        0
            pcb    84     16K      16K 166960K       199        0
         rtable   167      7K       7K 166960K       506        0
             pf    37     18K      21K 166960K       108        0
         ifaddr    34      5K       7K 166960K        79        0
        ifgroup    59      2K       2K 166960K       130        0
         sysctl     2      1K       9K 166960K         8        0
       counters    68     36K      37K 166960K       116        0
       ioctlops     0      0K       4K 166960K      1599        0
            iov     0      0K      16K 166960K        35        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1438     90K      91K 166960K      2209        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         7        0
         VM map     2      1K       1K 166960K         2        0
            sem    17      5K       6K 166960K        34        0
        dirhash    12      2K       2K 166960K        33        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    19     69K     114K 166960K       875        0
          sigio     0      0K       0K 166960K        11        0
           proc    72     91K     128K 166960K       673        0
        subproc    72      4K       4K 166960K        99        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     1      0K       0K 166960K       226        0
       in_multi    55      4K       6K 166960K       138        0
    ether_multi     1      0K       0K 166960K         7        0
            mrt     0      0K       0K 166960K         7        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    79    360K     360K 166960K        79        0
           exec     0      0K       1K 166960K       574        0
   fusefs mount     1     32K      32K 166960K         1        0
     pfkey data     0      0K       0K 166960K         2        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   262    171K     180K 166960K      9426        0
       UVM aobj    12      2K       2K 166960K        14        0
     pinsyscall    45     90K     103K 166960K      2058        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        37        0
            NDP    13      0K       1K 166960K        52        0
           temp    54   8674K    8748K 166960K     31089        0
         kqueue    14     22K      30K 166960K       155        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       26    0        0     1     0     1     1     0     8    0
rtpcb      120      156    0      152     2     1     1     2     0     8    0
rtentry    176      149    0       79     5     0     5     5     0     8    0
unpcb      144      700    0      681     6     5     1     6     0     8    0
syncache   336        5    0        5     2     2     0     1     0     8    0
tcpqe       32        1    0        1     1     1     0     1     0     8    0
tcpcb      808      373    0      367    16     7     9    14     0     8    8
arp        128       25    0        9     1     0     1     1     0     8    0
inpcb      384     1175    0     1096    13     5     8     8     0     8    0
nd6        144       31    0       17     1     0     1     1     0     8    0
pkpcb       40        9    0        9     2     1     1     1     0     8    1
kcovpl      48       11    0        3     1     0     1     1     0     8    0
ppxss      1192      13    0       13     2     1     1     1     0     8    1
pppxif     1504       3    0        3     2     1     1     1     0     8    1
pffrag     232        9    0        2     1     0     1     1     0   482    0
pffrnode    88        6    0        0     1     0     1     1     0     8    0
pffrent     40       13    0        6     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
pfanchor   1288       4    0        0     1     0     1     1     0     8    0
pfstitem    24       73    0       12     1     0     1     1     0     8    0
pfstkey    128       73    0       12     3     0     3     3     0     8    0
pfstate    384       73    0       12     7     0     7     7     0     8    0
pfrule     1344      24    0       16     2     0     2     2     0     8    0
art_heap8  4096       4    0        0     4     0     4     4     0     8    0
art_heap4  256      589    0      317    27     9    18    27     0     8    0
art_table   32      593    0      317     4     0     4     4     0     8    0
art_node    16      147    0       83     1     0     1     1     0     8    0
sysvmsgpl   40       19    0        6     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112       26    0       11     1     0     1     1     0     8    0
shmpl      112       11    0        2     1     0     1     1     0     8    0
dirhash    1024      31    0       14     3     0     3     3     0     8    0
dino2pl    256     2824    0     1309    96     0    96    96     0     8    0
ffsino     288     2824    0     1309   109     0   109   109     0     8    0
nchpl      144     3990    0     2295    64     0    64    64     0     8    0
uvmvnodes   80     3524    0        0    72     0    72    72     0     8    0
vnodes     216     3524    0        0   196     0   196   196     0     8    0
namei      1024   14046    0    14046     1     0     1     1     0     8    1
percpumem   16       73    0       24     1     0     1     1     0     8    0
kstatmem   264       68    0       38     4     1     3     3     0     8    1
acpiwqpl    32        2    0        2     1     0     1     1     1     8    1
scsiplug    72        6    0        6     2     1     1     1     0     8    1
scxspl     216    12799    0    12799    10     7     3     8     1     8    3
plimitpl   152      173    0      154     1     0     1     1     0     8    0
sigapl     424     1174    0     1121     7     0     7     7     0     8    0
knotepl    120      594    0        0    18     0    18    18     0     8    0
kqueuepl   224      229    0      219     2     0     2     2     0     8    1
pipepl     336      177    0      150     3     0     3     3     0     8    0
fdescpl    520     1154    0     1121     3     0     3     3     0     8    0
filepl     160     7136    0     6849    17     4    13    17     0     8    0
lockfpl    104      394    0      391     2     0     2     2     0     8    1
lockfspl    48      146    0      143     1     0     1     1     0     8    0
sessionpl  144       27    0       18     1     0     1     1     0     8    0
pgrppl      48       47    0       30     1     0     1     1     0     8    0
ucredpl    104     1076    0     1063     1     0     1     1     0     8    0
zombiepl   144     1121    0     1121     1     0     1     1     0     8    1
processpl  1208    1174    0     1121     5     0     5     5     0     8    0
procpl     656     2321    0     2254     6     0     6     6     0     8    0
srpgc       96        8    0        8     1     0     1     1     0     8    1
sosppl     168        4    0        4     2     1     1     1     0     8    1
sockpl     728     2053    0     1950    18     8    10    16     0     8    0
mcl64k     65536      4    0        0     1     0     1     1     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl12k     12288      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       5    0        0     1     0     1     1     0     8    0
mcl4k      4096     115    0        0    15     0    15    15     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048      34    0        0     5     1     4     5     0     8    0
mtagpl      96       61    0        0     2     0     2     2     0     8    0
mbufpl     256      230    0        0    14     0    14    14     0     8    0
bufpl      280     3975    0      125   275     0   275   275     0     8    0
anonpl      32     8538    0        0    69     0    69    69     0   246    0
amapchunkpl 152   30614    0    30061    37     5    32    32     0   158    7
amappl16   200     2665    0     2632     7     3     4     5     0     8    0
amappl15   192        8    0        8     2     2     0     1     0     8    0
amappl14   184      129    0      116     1     0     1     1     0     8    0
amappl13   176        2    0        2     2     1     1     1     0     8    1
amappl12   168     1850    0     1816     3     1     2     2     0     8    0
amappl11   160       55    0       41     1     0     1     1     0     8    0
amappl10   152        7    0        7     1     1     0     1     0     8    0
amappl9    144      246    0      246     1     1     0     1     0     8    0
amappl8    136       55    0       52     1     0     1     1     0     8    0
amappl7    128      138    0      125     1     0     1     1     0     8    0
amappl6    120      212    0      207     1     0     1     1     0     8    0
amappl5    112      134    0      124     1     0     1     1     0     8    0
amappl4    104      356    0      333     1     0     1     1     0     8    0
amappl3     96     6015    0     5895     4     0     4     4     0     8    0
amappl2     88      701    0      636     2     0     2     2     0     8    0
amappl1     80    11842    0    11209    16     1    15    15     0     8    0
amappl      88     8545    0     8362     5     0     5     5     0    92    0
dma32768   32768      1    0        1     1     1     0     1     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       2    0        1     1     0     1     1     0     8    0
dma256     256        7    0        7     2     1     1     1     0     8    1
dma128     128      255    0      255     2     2     0     1     0     8    0
dma64       64        7    0        7     2     2     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       13    0        2     1     0     1     1     0     8    0
uaddrrnd    24     1154    0     1121     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1154    0     1121     1     0     1     1     0     8    0
vmmpekpl   168    10277    0    10228     3     0     3     3     0     8    0
vmmpepl    168    76453    0    74365    97     4    93    95     0   357    2
vmsppl     480     1153    0     1121     5     0     5     5     0     8    0
rwobjpl     72    24789    0    20257    83     0    83    83     0     8    0
pdppl      4096    2316    0     2242   110    34    76    84     0     8    2
pvpl        32    18305    0        0   149     1   148   148     0   265    0
pmappl     256     1153    0     1121     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      416    0       56    11     0    11    11     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff837d7ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
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(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83
dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840
Xsoftclock() at Xsoftclock+0x27
end of kernel
end trace frame: 0x751fdfdedb60, count: 8
ddb{0}> trace
x86_ipi_db(ffffffff837d7ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
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(ffffffff838d45a8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff838d45a8) at __mp_lock+0x192 sys/kern/kern_lock.c:144
softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83
dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:840
Xsoftclock() at Xsoftclock+0x27
end of kernel
end trace frame: 0x751fdfdedb60, count: -7
ddb{0}> machine ddbcpu 1
Stopped at      witness_checkorder+0xa9:        movl    0x20(%r14),%r15d
witness_checkorder(28,9,0) at witness_checkorder+0xa9 sys/kern/subr_witness.c:779
mtx_enter(18) at mtx_enter+0x47 sys/kern/kern_lock.c:238
clockintr_unbind(ffff8000015c6c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001492000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003c419170) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80784ab870,81,fffffd807f7d2680,ffff8000ffff2010) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8069b62608,ffff8000ffff2010) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd8069b62608,ffff8000ffff2010) at closef+0x192 sys/kern/kern_descrip.c:1251
syscall(ffff80003c4193d0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4193d0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa18c2b1c3d0, count: 3
ddb{1}> trace
witness_checkorder(28,9,0) at witness_checkorder+0xa9 sys/kern/subr_witness.c:779
mtx_enter(18) at mtx_enter+0x47 sys/kern/kern_lock.c:238
clockintr_unbind(ffff8000015c6c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001492000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff8000ffff2010) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003c419170) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80784ab870,81,fffffd807f7d2680,ffff8000ffff2010) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8069b62608,ffff8000ffff2010) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8069b62608,ffff8000ffff2010) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd8069b62608,ffff8000ffff2010) at closef+0x192 sys/kern/kern_descrip.c:1251
syscall(ffff80003c4193d0) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4193d0) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa18c2b1c3d0, count: -12

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/18 21:36 openbsd 6decc3d5f4d6 f41472b0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2025/05/16 22:51 openbsd f47d9bee1200 f41472b0 .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.