syzbot


witness: reversal: &cq->cq_mtx &sched_lock

Status: upstream: reported on 2025/04/22 03:22
Reported-by: syzbot+8f5c1beabd11c2de64bb@syzkaller.appspotmail.com
First crash: 305d, last: 13d

Sample crash report:
witness: lock order reversal:
 1st 0xffff8000299dee30 &cq->cq_mtx (&cq->cq_mtx)
 2nd 0xffffffff839d5cf0 &sched_lock (&sched_lock)
lock order [1] &cq->cq_mtx (&cq->cq_mtx) -> [2] &sched_lock (&sched_lock)
#0  mtx_enter+0x95 sys/kern/kern_lock.c:406
#1  sleep_setup+0xed sys/kern/kern_synch.c:304
#2  msleep_nsec+0x10b sys/kern/kern_synch.c:217
#3  dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589
#4  dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
#4  dtclose+0x109 sys/dev/dt/dt_dev.c:239
#5  spec_close+0x466 sys/kern/spec_vnops.c:-1
#6  VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
#7  vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
#7  vn_closefile+0x12b sys/kern/vfs_vnops.c:615
#8  fdrop+0x121 sys/kern/kern_descrip.c:1280
#9  closef+0x192 sys/kern/kern_descrip.c:1264
#10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#11 Xsyscall+0x128
lock order [2] &sched_lock (&sched_lock) -> [1] &cq->cq_mtx (&cq->cq_mtx)
#0  mtx_enter+0x95 sys/kern/kern_lock.c:406
#1  clockintr_cancel+0x2f sys/kern/kern_clockintr.c:323
#2  mi_switch+0x187 sys/kern/sched_bsd.c:376
#3  ast+0x15a mi_ast sys/sys/syscall_mi.h:252 [inline]
#3  ast+0x15a sys/arch/amd64/amd64/trap.c:739
#4  intr_user_exit+0x3c
Stopped at   db_enter+0x25:            addq         $0x8,%rsp
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
witness_checkorder(ffffffff839d5cf0,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1
mtx_enter(ffffffff839d5ce0) at mtx_enter+0x95 sys/kern/kern_lock.c:406
sleep_setup(ffff8000299dee80,220,ffffffff83432cf3) at sleep_setup+0xed sys/kern/kern_synch.c:304
msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff83432cf3,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217
dt_ioctl_record_stop(ffff800001644000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589
dtclose(21e5f,81,2000,ffff8000fffe7a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(21e5f,81,2000,ffff8000fffe7a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c4c4d00) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd800b957dc8,81,fffffd80097fd410,ffff8000fffe7a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8064b22e60,ffff8000fffe7a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8064b22e60,ffff8000fffe7a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8064b22e60,ffff8000fffe7a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280
closef(fffffd8064b22e60,ffff8000fffe7a18) at closef+0x192 sys/kern/kern_descrip.c:1264
syscall(ffff80003c4c4f60) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4c4f60) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xcc462a58e10, count: -14
ddb{0}> show registers
rdi                                0
rsi                          0x80000   acpi_pdirpa+0x6be71
rbp               0xffff80003c4c49d0
rbx                                0
rdx               0xffff8000015f7340
rcx               0xffff8000fffe7a18
rax                          0x7ffff   acpi_pdirpa+0x6be70
r8                0xffff80003c4c48b0
r9                0x8080808080808080
r10               0xfee4808526a6165c
r11               0xbc07ee17630d1d4a
r12               0xfffffd8003f55e40
r13               0xfffffd8004700330
r14                              0x3
r15               0xffffffff834249fa   substchar+0x129b5
rip               0xffffffff8124bc15   db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80003c4c49c0
ss                              0x10
db_enter+0x25:            addq         $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=414543 pid=77058 tcnt=2 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=83, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000383e02d0,0xffff8000fffe6568
    process=0xffff8000383dc020 user=0xffff80003c4c0000, vmspace=0xfffffd805f20cb98
    estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 52112  496749  42068      0  2           0                syz-executor
 52112    7144  42068      0  3   0x4000080  fsleep        syz-executor
 98239   64130  57435      0  2           0                syz-executor
 98239  511171  57435      0  3   0x4000080  fsleep        syz-executor
 90767  169452  93516      0  2           0                syz-executor
 90767  230198  93516      0  3   0x4000080  fsleep        syz-executor
 82707  119813  50673      0  2           0                syz-executor
 82707   95623  50673      0  3   0x4000080  ttyretype     syz-executor
 77058   16803  14100      0  2           0                syz-executor
*77058  414543  14100      0  7   0x4000000                syz-executor
 72657  414455  98173      0  2           0                syz-executor
 72657  416554  98173      0  3   0x4000080  fsleep        syz-executor
 72657  234074  98173      0  3   0x4000080  fsleep        syz-executor
 40162  518054  92435      0  2        0x10                syz-executor
 40162  516047  92435      0  3   0x4000090  kqread        syz-executor
 40162  333328  92435      0  3   0x4000090  fsleep        syz-executor
   725    1369      0      0  3     0x14200  acct          acct
 34166   99706  57914      0  3        0x82  wait          syz-executor
 50673  476219  57914      0  3        0x82  nanoslp       syz-executor
 42068  217222  57914      0  3        0x82  nanoslp       syz-executor
 14100  383123  57914      0  3        0x82  nanoslp       syz-executor
 29894  126556      1      0  3    0x100083  ttyin         getty
  9142  166131      0      0  3     0x14280  nfsidl        nfsio
 43302   88304      0      0  3     0x14280  nfsidl        nfsio
 49445  141808      0      0  3     0x14280  nfsidl        nfsio
 90319  217034      0      0  3     0x14280  nfsidl        nfsio
 14376  235712      0      0  3     0x14280  nfsidl        nfsio
 28614  467193      0      0  3     0x14280  nfsidl        nfsio
  5538    6071      0      0  3     0x14280  nfsidl        nfsio
 45176   12100      0      0  3     0x14280  nfsidl        nfsio
 60148  117415      0      0  3     0x14280  nfsidl        nfsio
 79442  237025      0      0  3     0x14280  nfsidl        nfsio
 16305  438829      0      0  3     0x14280  nfsidl        nfsio
 76289  267796      0      0  3     0x14280  nfsidl        nfsio
 67299  137995      0      0  3     0x14280  nfsidl        nfsio
 59365   48904      0      0  3     0x14280  nfsidl        nfsio
 45397  439768      0      0  3     0x14280  nfsidl        nfsio
 44976  163892      0      0  3     0x14280  nfsidl        nfsio
 90893   72363      0      0  3     0x14280  nfsidl        nfsio
 59078    7381      0      0  3     0x14280  nfsidl        nfsio
 50316  355589      0      0  3     0x14280  nfsidl        nfsio
  3383  154511      0      0  3     0x14280  nfsidl        nfsio
 92435  315823  57914      0  3        0x82  nanoslp       syz-executor
 93516  393636  57914      0  3        0x82  nanoslp       syz-executor
 98173  399176  57914      0  3        0x82  nanoslp       syz-executor
 57435  445297  57914      0  3        0x82  nanoslp       syz-executor
 57914  481357  69501      0  3        0x82  kqread        syz-executor
 69501  169837  51894      0  3    0x10008a  sigsusp       ksh
 51894  277498   2416      0  3        0x98  kqread        sshd-session
  2416  300200  72985      0  3        0x92  kqread        sshd-session
 72985   41019      1      0  3        0x88  kqread        sshd
  2284  450097  82576     74  3   0x1100092  bpf           pflogd
 82576  206736      1      0  3        0x80  sbwait        pflogd
 49065  336841  44496     73  3   0x1100090  kqread        syslogd
 44496  483015      1      0  3    0x100082  sbwait        syslogd
 42689  159641      1      0  3    0x100080  kqread        resolvd
 65187  323644  73385     77  3    0x100092  kqread        dhcpleased
 56098  517104  73385     77  3    0x100092  kqread        dhcpleased
 73385  392832      1      0  3        0x80  kqread        dhcpleased
 62633  129334      0      0  3     0x14200  bored         smr
 23928  266218      0      0  2     0x14200                zerothread
 21532  365704      0      0  3     0x14200  aiodoned      aiodoned
 11773  177439      0      0  3     0x14200  syncer        update
 39782  523064      0      0  3     0x14200  cleaner       cleaner
 36359  163661      0      0  3     0x14200  reaper        reaper
 58587  155864      0      0  3     0x14200  pgdaemon      pagedaemon
 56036  208918      0      0  3     0x14200  bored         viomb
 85145    8554      0      0  3  0x40014200  acpi0         acpi0
 50355  258202      0      0  7  0x40014200                idle1
 88587  221768      0      0  3     0x14200  bored         softnet1
 85713  259385      0      0  3     0x14200  bored         softnet0
 44547  389444      0      0  3     0x14200  bored         systqmp
 36452  447473      0      0  3     0x14200  bored         systq
 32644  375826      0      0  3     0x14200  tmoslp        softclockmp
 72558  318831      0      0  3  0x40014200  tmoslp        softclock
 99177  298855      0      0  3  0x40014200                idle0
     1  420413      0      0  3        0x82  wait          init
     0       0     -1      0  3  0x10010200  scheduler     swapper
ddb{0}> show all locks
CPU 0:
exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee30)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2  clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
#3  dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589
#4  dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
#4  dtclose+0x109 sys/dev/dt/dt_dev.c:239
#5  spec_close+0x466 sys/kern/spec_vnops.c:-1
#6  VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
#7  vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
#7  vn_closefile+0x12b sys/kern/vfs_vnops.c:615
#8  fdrop+0x121 sys/kern/kern_descrip.c:1280
#9  closef+0x192 sys/kern/kern_descrip.c:1264
#10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#11 Xsyscall+0x128
Process 77058 (syz-executor) thread 0xffff8000fffe7a18 (414543)
exclusive rwlock dtlk r = 0 (0xffffffff8380bbc8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  dt_ioctl_record_stop+0x2e sys/dev/dt/dt_dev.c:572
#3  dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
#3  dtclose+0x109 sys/dev/dt/dt_dev.c:239
#4  spec_close+0x466 sys/kern/spec_vnops.c:-1
#5  VOP_CLOSE+0x132 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+0x121 sys/kern/kern_descrip.c:1280
#8  closef+0x192 sys/kern/kern_descrip.c:1264
#9  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#9  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#10 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83903fc0)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  vn_closefile+0x41 sys/kern/vfs_vnops.c:608
#2  fdrop+0x121 sys/kern/kern_descrip.c:1280
#3  closef+0x192 sys/kern/kern_descrip.c:1264
#4  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#4  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#5  Xsyscall+0x128
exclusive mutex &cq->cq_mtx r = 0 (0xffff8000299dee30)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2  clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
#3  dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589
#4  dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
#4  dtclose+0x109 sys/dev/dt/dt_dev.c:239
#5  spec_close+0x466 sys/kern/spec_vnops.c:-1
#6  VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
#7  vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
#7  vn_closefile+0x12b sys/kern/vfs_vnops.c:615
#8  fdrop+0x121 sys/kern/kern_descrip.c:1280
#9  closef+0x192 sys/kern/kern_descrip.c:1264
#10 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
#11 Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11083  12153K   13158K 166960K     13753        0
            pcb    20     16K      18K 166960K       506        0
         rtable   228     10K      11K 166960K       661        0
             pf    37     18K      82K 166960K       173        0
         ifaddr    45      8K       8K 166960K       139        0
        ifgroup    59      2K       2K 166960K       220        0
         sysctl     4      1K       9K 166960K        15        0
       counters    72     37K      38K 166960K       238        0
       ioctlops     0      0K       4K 166960K      1946        0
            iov     0      0K      24K 166960K       134        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1491     94K      94K 166960K      2685        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     3      5K       9K 166960K        16        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        61        0
        dirhash    12      2K       2K 166960K        27        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    18     65K      93K 166960K      1386        0
          sigio     0      0K       0K 166960K        31        0
           proc    74    115K     164K 166960K       800        0
        subproc    72      4K       4K 166960K       119        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       140        0
       in_multi    92      6K       7K 166960K       210        0
    ether_multi     1      0K       0K 166960K        11        0
            mrt     2      0K       0K 166960K        13        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    85    387K     387K 166960K        85        0
           exec     0      0K       1K 166960K       587        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   250    161K     175K 166960K     14499        0
       UVM aobj    40     16K      16K 166960K        47        0
     pinsyscall    43     86K     104K 166960K      2659        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       104        0
            NDP    13      0K       1K 166960K        98        0
           temp    78   8684K    8764K 166960K     61808        0
         kqueue    13     20K      30K 166960K       278        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       26    0        0     1     0     1     1     0     8    0
rtpcb      120      130    0      127     1     0     1     1     0     8    0
rtentry    176      196    0      104     6     1     5     6     0     8    0
unpcb      144      987    0      968    14    12     2     6     0     8    1
syncache   336        6    0        6     3     3     0     1     0     8    0
tcpcb      736      366    0      362     4     3     1     4     0     8    0
arp        136       30    0       12     1     0     1     1     0     8    0
inpcb      328     1616    0     1606    17    10     7     7     0     8    6
nd6        152       43    0       22     1     0     1     1     0     8    0
pkpcb       40        8    0        8     4     3     1     1     0     8    1
kcovpl      48       13    0        5     1     0     1     1     0     8    0
mppekey    1024       1    0        1     1     1     0     1     0     8    0
ppxss      1192      64    0       64     2     1     1     1     0     8    1
pppxif     1504       6    0        6     4     3     1     1     0     8    1
pfstscr     40        3    0        2     1     0     1     1     0     8    0
pffrag     232       13    0        3     2     1     1     1     0   482    0
pffrnode    88       13    0        3     2     1     1     1     0     8    0
pffrent     40       19    0        9     2     1     1     1     0     8    0
pfosfp      40     1429    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1429    0      714    21     0    21    21     0     8    0
pfrktable  1344       6    0        6     4     3     1     1     0     8    1
pfstitem    24        3    0        0     1     0     1     1     0     8    0
pfstkey    128        7    0        4     1     0     1     1     0     8    0
pfstate    448        4    0        2     1     0     1     1     0     8    0
rttmr      136        3    0        3     2     2     0     1     0     8    0
art_heap8  4096       3    0        0     3     0     3     3     0     8    0
art_heap4  256      878    0      505    33     8    25    31     0     8    0
art_table   40      881    0      505     5     0     5     5     0     8    0
art_node    32      196    0      116     1     0     1     1     0     8    0
sysvmsgpl   40       85    0       74     2     1     1     1     0     8    0
semupl     112        2    0        2     1     1     0     1     0     8    0
semapl     112       54    0       44     1     0     1     1     0     8    0
shmpl      112       33    0        3     1     0     1     1     0     8    0
dirhash    1024      27    0       10     3     0     3     3     0     8    0
dino2pl    256     4008    0     2499    96     0    96    96     0     8    0
ffsino     296     4008    0     2499   118     1   117   118     0     8    0
nchpl      144     5890    0     4180    64     0    64    64     0     8    0
rtmask      32       14    0       14     3     2     1     1     0     8    1
vnodes     216     4846    0        0   270     0   270   270     0     8    0
namei      1024   20550    0    20550     3     2     1     2     0     8    1
percpumem   16      134    0       83     1     0     1     1     0     8    0
vcpupl     3968       7    0        0     1     0     1     1     0     8    0
vmpool     848       10    0        3     1     0     1     1     0     8    0
kstatmem   264      144    0      114     5     2     3     3     0     8    0
acpiwqpl    32        1    0        1     1     0     1     1     1     8    1
scsiplug    72        7    0        7     4     4     0     1     0     8    0
scxspl     216    35549    0    35549    11     8     3     8     1     8    3
plimitpl   152      462    0      444     1     0     1     1     0     8    0
sigapl     424     1712    0     1643     8     0     8     8     0     8    0
knotepl    120      744    0        0    23     0    23    23     0     8    0
kqueuepl   224      560    0      549     5     4     1     5     0     8    0
pipepl     344      235    0      208     3     0     3     3     0     8    0
fdescpl    528     1672    0     1640     3     0     3     3     0     8    0
filepl     160    10437    0    10214    21     8    13    18     0     8    0
lockfpl    104      521    0      519     2     1     1     2     0     8    0
lockfspl    48      204    0      202     1     0     1     1     0     8    0
sessionpl  144       31    0       22     1     0     1     1     0     8    0
pgrppl      48       55    0       38     1     0     1     1     0     8    0
ucredpl    104     1553    0     1539     1     0     1     1     0     8    0
zombiepl   144     2412    0     2411     2     1     1     1     0     8    0
processpl  1232    1712    0     1643     6     0     6     6     0     8    0
procpl     664     3913    0     3835     8     0     8     8     0     8    0
sosppl     176       10    0       10     2     1     1     1     0     8    1
sockpl     752     2784    0     2752    31    20    11    17     0     8    7
mcl64k     65536     12    0        0     2     0     2     2     0     8    0
mcl16k     16384     11    0        0     2     0     2     2     0     8    0
mcl12k     12288      4    0        0     1     0     1     1     0     8    0
mcl9k      9216       2    0        0     1     0     1     1     0     8    0
mcl8k      8192       4    0        0     1     0     1     1     0     8    0
mcl4k      4096     118    0        0    15     0    15    15     0     8    0
mcl2k2     2112       3    0        0     1     0     1     1     0     8    0
mcl2k      2048      23    0        0     3     0     3     3     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256     1062    0        0    66     0    66    66     0     8    0
bufpl      280    14019    0     7883   439     0   439   439     0     8    0
anonpl      32    13741    0        0   111     0   111   111     0   246    0
amapchunkpl 152   48537    0    48025    44    18    26    34     0   158    4
amappl16   200     5345    0     5309    40    29    11    31     0     8    3
amappl15   192        3    0        3     1     1     0     1     0     8    0
amappl14   184       19    0       19     2     2     0     1     0     8    0
amappl13   176      494    0      493     1     0     1     1     0     8    0
amappl12   168     2079    0     2036     4     2     2     3     0     8    0
amappl11   160       21    0       21     2     2     0     1     0     8    0
amappl10   152       46    0       32     1     0     1     1     0     8    0
amappl9    144      253    0      253     1     1     0     1     0     8    0
amappl8    136       29    0       27     1     0     1     1     0     8    0
amappl7    128       99    0       98     1     0     1     1     0     8    0
amappl6    120      355    0      341     1     0     1     1     0     8    0
amappl5    112       76    0       65     1     0     1     1     0     8    0
amappl4    104      496    0      465     1     0     1     1     0     8    0
amappl3     96     8618    0     8518     4     1     3     3     0     8    0
amappl2     88     1796    0     1716     2     0     2     2     0     8    0
amappl1     80    15397    0    14804    16     2    14    14     0     8    0
amappl      88    13443    0    13273     5     0     5     5     0    92    0
uvmvnodes   80      165    0        0     4     0     4     4     0     8    0
dma65536   65536      3    0        3     2     2     0     1     0     8    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        7    0        7     2     2     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       46    0        7     1     0     1     1     0     8    0
uaddrrnd    24     1672    0     1640     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1672    0     1640     1     0     1     1     0     8    0
vmmpekpl   168    14491    0    14434     3     0     3     3     0     8    0
vmmpepl    168   112261    0   110275   118    16   102   112     0   357    6
vmsppl     488     1671    0     1640     6     1     5     5     0     8    0
rwobjpl     80    31805    0    30660    36     3    33    35     0     8    0
pdppl      4096    3371    0     3293   124    46    78    85     0     8    0
pvpl        32    23376    0        0   191     2   189   189     0   265    0
pmappl     256     1681    0     1643     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      369    0       68     9     0     9     9     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
witness_checkorder(ffffffff839d5cf0,9,0) at witness_checkorder+0x10d1 sys/kern/subr_witness.c:-1
mtx_enter(ffffffff839d5ce0) at mtx_enter+0x95 sys/kern/kern_lock.c:406
sleep_setup(ffff8000299dee80,220,ffffffff83432cf3) at sleep_setup+0xed sys/kern/kern_synch.c:304
msleep_nsec(ffff8000299dee80,ffff8000299dee20,220,ffffffff83432cf3,ffffffffffffffff) at msleep_nsec+0x10b sys/kern/kern_synch.c:217
dt_ioctl_record_stop(ffff800001644000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589
dtclose(21e5f,81,2000,ffff8000fffe7a18) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(21e5f,81,2000,ffff8000fffe7a18) at dtclose+0x109 sys/dev/dt/dt_dev.c:239
spec_close(ffff80003c4c4d00) at spec_close+0x466 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd800b957dc8,81,fffffd80097fd410,ffff8000fffe7a18) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffffd8064b22e60,ffff8000fffe7a18) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8064b22e60,ffff8000fffe7a18) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd8064b22e60,ffff8000fffe7a18) at fdrop+0x121 sys/kern/kern_descrip.c:1280
closef(fffffd8064b22e60,ffff8000fffe7a18) at closef+0x192 sys/kern/kern_descrip.c:1264
syscall(ffff80003c4c4f60) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4c4f60) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xcc462a58e10, count: -14
ddb{0}> machine ddbcpu 1
Stopped at   x86_ipi_db+0x27:          addq         $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff8000299ddff0) 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
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc
clockintr_dispatch(ffff80002a21c770) at clockintr_dispatch+0x401 sys/kern/kern_clockintr.c:215
lapic_clockintr(0,0) at lapic_clockintr+0x51 sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffff8000299ddff0) at sched_idle+0x391 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -9

Crashes (122):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/07 20:29 openbsd 6a5ee414a02d 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/02/03 12:45 openbsd 72466e384590 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/02/03 04:52 openbsd 2933a3218787 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/28 14:33 openbsd b766929b796e 004c195c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/26 11:41 openbsd 4c8dfe351ad4 a4c52dd6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/26 03:24 openbsd 401b985036af 55756628 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/25 17:50 openbsd f99cc216b56b 40acda8a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/25 12:10 openbsd f99cc216b56b 40acda8a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/21 21:14 openbsd bf8f984edd8f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/21 17:57 openbsd bf8f984edd8f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/21 10:28 openbsd 5c0c839c3d8f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/20 14:07 openbsd 7d7bacacae3d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/19 22:33 openbsd 665aeba05e03 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/18 15:29 openbsd 4409e1965d65 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/18 10:54 openbsd 4409e1965d65 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/17 00:20 openbsd 8105fbd98be2 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/16 02:16 openbsd c600931321c7 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/15 01:26 openbsd ac9e191703f1 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/14 21:10 openbsd bf518416d64f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/14 19:41 openbsd bf518416d64f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/14 18:05 openbsd bf518416d64f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/14 13:39 openbsd bf518416d64f 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/13 15:31 openbsd 67ddd48175b9 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/12 22:41 openbsd a9df5e8d0934 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/11 17:39 openbsd 294bdc40ca4d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/11 13:29 openbsd 294bdc40ca4d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/11 09:14 openbsd 294bdc40ca4d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/10 03:01 openbsd ee14140d0567 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/09 12:40 openbsd 0f50c032e950 c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/09 00:23 openbsd b9d9e3fc96bc c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/08 14:34 openbsd b9d9e3fc96bc c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/08 03:45 openbsd d77c41cf8f5a c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/08 01:30 openbsd d77c41cf8f5a c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/07 06:22 openbsd c7117ed52e15 15f6fd08 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/07 04:28 openbsd c7117ed52e15 15f6fd08 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/07 01:26 openbsd c7117ed52e15 15f6fd08 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/06 12:45 openbsd 4459f914e6b0 15f6fd08 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/05 20:21 openbsd 97968167a1e0 917fe602 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/05 14:09 openbsd 97968167a1e0 917fe602 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/05 11:25 openbsd 97968167a1e0 917fe602 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/05 10:09 openbsd 97968167a1e0 917fe602 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2026/01/04 17:22 openbsd 079c76c73fb6 e3fbc05e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
2025/04/22 03:22 openbsd e8eeea37c7e6 552876f8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: &cq->cq_mtx &sched_lock
* Struck through repros no longer work on HEAD.