syzbot


uvm_fault: witness_checkorder (5)

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

Sample crash report:
uvm_fault(0xfffffd806b9113a0, 0x8, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      witness_checkorder+0x266:       movl    0x8(%r15),%r12d
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*367788  47321      0           0  0x4000000    1  syz-executor
   8926  39434      0     0x14000      0x200    0  softnet0
witness_checkorder(ffff800001335618,9,0) at witness_checkorder+0x266 sys/kern/subr_witness.c:794
mtx_enter(ffff800001335608) at mtx_enter+0x47 sys/kern/kern_lock.c:238
klist_mutex_lock(ffff800001335608) at klist_mutex_lock+0x32 sys/kern/kern_event.c:2352
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef klist_lock sys/kern/kern_event.c:2317 [inline]
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef sys/kern/kern_event.c:2283
bpfsdetach(ffff8000012c14c0) at bpfsdetach+0x12f sys/net/bpf.c:1800
bpfdetach(ffff8000012b8800) at bpfdetach+0xa6
if_detach(ffff8000012b8800) at if_detach+0x14f sys/net/if.c:1193
tun_clone_destroy(ffff8000012b8800) at tun_clone_destroy+0x2d6 sys/net/if_tun.c:338
if_clone_destroy(ffff800032594fc0) at if_clone_destroy+0x1d7 sys/net/if.c:1382
ifioctl(ffff800010fde2a8,80206979,ffff800032594fc0,ffff8000ffff7970) at ifioctl+0x5c5
sys_ioctl(ffff8000ffff7970,ffff8000325951a0,ffff8000325950f0) at sys_ioctl+0x67c
syscall(ffff8000325951a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000325951a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfa64c75ff10, count: 2
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(0xfffffd806b9113a0, 0x8, 0, 1) -> e
ddb{1}> trace
witness_checkorder(ffff800001335618,9,0) at witness_checkorder+0x266 sys/kern/subr_witness.c:794
mtx_enter(ffff800001335608) at mtx_enter+0x47 sys/kern/kern_lock.c:238
klist_mutex_lock(ffff800001335608) at klist_mutex_lock+0x32 sys/kern/kern_event.c:2352
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef klist_lock sys/kern/kern_event.c:2317 [inline]
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef sys/kern/kern_event.c:2283
bpfsdetach(ffff8000012c14c0) at bpfsdetach+0x12f sys/net/bpf.c:1800
bpfdetach(ffff8000012b8800) at bpfdetach+0xa6
if_detach(ffff8000012b8800) at if_detach+0x14f sys/net/if.c:1193
tun_clone_destroy(ffff8000012b8800) at tun_clone_destroy+0x2d6 sys/net/if_tun.c:338
if_clone_destroy(ffff800032594fc0) at if_clone_destroy+0x1d7 sys/net/if.c:1382
ifioctl(ffff800010fde2a8,80206979,ffff800032594fc0,ffff8000ffff7970) at ifioctl+0x5c5
sys_ioctl(ffff8000ffff7970,ffff8000325951a0,ffff8000325950f0) at sys_ioctl+0x67c
syscall(ffff8000325951a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000325951a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfa64c75ff10, count: -13
ddb{1}> show registers
rdi               0xffff800030d8a000
rsi                          0x3319d    acpi_pdirpa+0x1f00e
rbp               0xffff800032594c80
rbx                                0
rdx               0xffff800030d8a000
rcx                          0x3319c    acpi_pdirpa+0x1f00d
rax               0xffffffff829a1bee    witness_checkorder+0x22e
r8                              0x23
r9                               0x1
r10                                0
r11               0xcfd4e0d06346004f
r12                                0
r13               0xdeafbeaddeafbead
r14               0xffff800001335618
r15                                0
rip               0xffffffff829a1c26    witness_checkorder+0x266
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff800032594bd0
ss                                 0
witness_checkorder+0x266:       movl    0x8(%r15),%r12d
ddb{1}> show proc
PROC (syz-executor) tid=367788 pid=47321 tcnt=5 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=81, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a08a7d0,0xffff8000ffff62b8
    process=0xffff80002a1cb1e0 user=0xffff800032590000, vmspace=0xfffffd806b9113a0
    estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
  1544  223609  48952      0  2           0                syz-executor
  1544  514252  48952      0  2   0x4000000                syz-executor
 22734  220033  41374      0  2           0                syz-executor
 22734  282633  41374      0  3   0x4000080  fsleep        syz-executor
 80342  425347  74474      0  2           0                syz-executor
 80342  336908  74474      0  2   0x4000000                syz-executor
   263  136363  27966      0  2           0                syz-executor
   263   31666  27966      0  2   0x4000000                syz-executor
 88107  305303  64092      0  2           0                syz-executor
 88107   74037  64092      0  3   0x4000080  fsleep        syz-executor
 88107  257849  64092      0  3   0x4000080  fsleep        syz-executor
 47321  270052  24034      0  2           0                syz-executor
 47321   94936  24034      0  3   0x4000080  fsleep        syz-executor
*47321  367788  24034      0  7   0x4000000                syz-executor
 47321  246249  24034      0  2   0x4000000                syz-executor
 47321   11528  24034      0  2   0x4000000                syz-executor
 52718  123837  21027      0  2       0x480                syz-executor
 52718   12251  21027      0  3   0x4000080  fsleep        syz-executor
 52718  490539  21027      0  3   0x4000080  wsevent_read  syz-executor
 52718  241150  21027      0  3   0x4000080  fsleep        syz-executor
 42958  345218  83216      0  2       0x480                syz-executor
 42958  490974  83216      0  3   0x4000080  kqsel         syz-executor
 42958  133925  83216      0  3   0x4000080  fsleep        syz-executor
 42958  422865  83216      0  3   0x4000080  fsleep        syz-executor
 27966  481579  41839      0  2       0x482                syz-executor
 41374   14545  41839      0  2       0x482                syz-executor
  6038  326755      1      0  3        0x80  nanoslp       init
 82469  427639      0      0  3     0x14280  nfsidl        nfsio
 66574  175342      0      0  3     0x14280  nfsidl        nfsio
 48454  101722      0      0  3     0x14280  nfsidl        nfsio
 65784  425275      0      0  3     0x14280  nfsidl        nfsio
 73882  382145      0      0  3     0x14280  nfsidl        nfsio
 33403  427316      0      0  3     0x14280  nfsidl        nfsio
  2311  454638      0      0  3     0x14280  nfsidl        nfsio
 67588  321980      0      0  3     0x14280  nfsidl        nfsio
 47920  475507      0      0  3     0x14280  nfsidl        nfsio
 60158   69827      0      0  3     0x14280  nfsidl        nfsio
 92543   28937      0      0  3     0x14280  nfsidl        nfsio
 57059   56598      0      0  3     0x14280  nfsidl        nfsio
 18589  335884      0      0  3     0x14280  nfsidl        nfsio
 23084  429720      0      0  3     0x14280  nfsidl        nfsio
 75177  181735      0      0  3     0x14280  nfsidl        nfsio
 56944  374029      0      0  3     0x14280  nfsidl        nfsio
 47135  198909      0      0  3     0x14280  nfsidl        nfsio
 17435  475448      0      0  3     0x14280  nfsidl        nfsio
 90207  516936      0      0  3     0x14280  nfsidl        nfsio
  2760  440154      0      0  3     0x14280  nfsidl        nfsio
 78924  174065      0      0  3     0x14200  bored         sosplice
 83216  471081  41839      0  2       0x482                syz-executor
 48952  179581  41839      0  2         0x2                syz-executor
 24034  132213  41839      0  2       0x482                syz-executor
 64092  340735  41839      0  2       0x482                syz-executor
 21027  108641  41839      0  2       0x482                syz-executor
 74474  173571  41839      0  2       0x482                syz-executor
 41839  261755  61977      0  2        0x82                syz-executor
 61977   13502  47866      0  3    0x10008a  sigsusp       ksh
 47866  328204  75517      0  3        0x98  kqread        sshd-session
 75517  202446  19764      0  3        0x92  kqread        sshd-session
 19764  501172      1      0  3        0x88  kqread        sshd
  2423  282656  95478     74  3   0x1100092  bpf           pflogd
 95478  121004      1      0  3        0x80  sbwait        pflogd
 95616  257189  49804     73  3   0x1100090  kqread        syslogd
 49804  519781      1      0  3    0x100082  sbwait        syslogd
 35737  217140      1      0  3    0x100080  kqread        resolvd
  5849  265477  15907     77  3    0x100092  kqread        dhcpleased
 56986  242894  15907     77  3    0x100092  kqread        dhcpleased
 15907  251150      1      0  3        0x80  kqread        dhcpleased
 14965  519278      0      0  3     0x14200  bored         smr
 68150  361168      0      0  2     0x14200                zerothread
 59898  381764      0      0  3     0x14200  aiodoned      aiodoned
 27194  483507      0      0  3     0x14200  syncer        update
  6760  466658      0      0  3     0x14200  cleaner       cleaner
 54483  451412      0      0  3     0x14200  reaper        reaper
  4829  445284      0      0  3     0x14200  pgdaemon      pagedaemon
 56735  113028      0      0  3     0x14200  bored         viomb
 68664  457950      0      0  3  0x40014200  acpi0         acpi0
 59647  474282      0      0  3  0x40014200                idle1
 91537  434369      0      0  3     0x14200  bored         softnet3
 26208  498716      0      0  3     0x14200  bored         softnet2
 19721   71308      0      0  3     0x14200  bored         softnet1
 39434    8926      0      0  7     0x14200                softnet0
  2597  509552      0      0  3     0x14200  bored         systqmp
  1229    2811      0      0  3     0x14200  bored         systq
 94056  292905      0      0  3     0x14200  tmoslp        softclockmp
 56030  411638      0      0  3  0x40014200  tmoslp        softclock
  6632  235470      0      0  3  0x40014200                idle0
     1  229548      0      0  3     0x80082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 1544 (syz-executor) thread 0xffff80002a092f70 (223609)
exclusive rwlock vmmaplk r = 0 (0xfffffd806b911818)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255
#2  uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3057
#3  sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585
#4  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#4  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#5  Xsyscall+0x128
Process 1544 (syz-executor) thread 0xffff80002a092550 (514252)
exclusive rrwlock inode r = 0 (0xfffffd806ec585f0)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  vget+0x2bd sys/kern/vfs_subr.c:678
#6  cache_lookup+0x36e sys/kern/vfs_cache.c:222
#7  ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160
#8  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#9  vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566
#10 namei+0x7aa sys/kern/vfs_lookup.c:250
#11 vn_open+0x13f sys/kern/vfs_vnops.c:140
#12 doopenat+0x31d sys/kern/vfs_syscalls.c:1123
#13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#14 Xsyscall+0x128
Process 80342 (syz-executor) thread 0xffff80002a08aa58 (336908)
exclusive rwlock vmmaplk r = 0 (0xfffffd806b911b98)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255
#2  uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1813
#3  uvm_fault_check+0x831 uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline]
#3  uvm_fault_check+0x831 sys/uvm/uvm_fault.c:712
#4  uvm_fault+0xf5 sys/uvm/uvm_fault.c:600
#5  upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188
#6  usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436
#7  recall_trap+0x8
Process 47321 (syz-executor) thread 0xffff8000ffff7970 (367788)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835fcde8)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  __mp_acquire_count+0x58
#2  mi_switch+0x4b7 sys/kern/sched_bsd.c:441
#3  sleep_finish+0x2f2 sys/kern/kern_synch.c:425
#4  rw_enter+0x348 sys/kern/kern_rwlock.c:285
#5  lf_purgelocks+0x2f sys/kern/vfs_lockf.c:731
#6  vgonel+0x497 sys/kern/vfs_subr.c:1208
#7  vop_generic_revoke+0x3e6 sys/kern/vfs_default.c:128
#8  VOP_REVOKE+0x65 sys/kern/vfs_vops.c:291
#9  vdevgone+0x17b
#10 bpfsdetach+0x117 sys/net/bpf.c:1802
#11 bpfdetach+0xa6
#12 if_detach+0x14f sys/net/if.c:1193
#13 tun_clone_destroy+0x2d6 sys/net/if_tun.c:338
#14 if_clone_destroy+0x1d7 sys/net/if.c:1382
#15 ifioctl+0x5c5
#16 sys_ioctl+0x67c
#17 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#17 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#18 Xsyscall+0x128
exclusive rwlock clonelk r = 0 (0xffffffff8342ecf0)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  if_clone_destroy+0x67
#2  ifioctl+0x5c5
#3  sys_ioctl+0x67c
#4  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#4  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#5  Xsyscall+0x128
Process 47321 (syz-executor) thread 0xffff800035f9f1e8 (11528)
exclusive rwlock futex r = 0 (0xffffffff83492300)
#0  witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5bb sys/kern/subr_witness.c:1155
#1  sys_futex+0x69 sys/kern/sys_futex.c:98
#2  syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
#2  syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#3  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10228  11216K   11586K 166960K     12988        0
            pcb    17     16K      17K 166960K       405        0
         rtable   221      6K       7K 166960K       561        0
             pf    36     18K      19K 166960K        95        0
         ifaddr    39      6K       8K 166960K        81        0
        ifgroup    51      2K       2K 166960K       116        0
         sysctl     4      1K       1K 166960K         4        0
       counters    62     36K      36K 166960K       102        0
       ioctlops     0      0K       4K 166960K      1573        0
            iov     0      0K      16K 166960K        69        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1481     93K      94K 166960K      2488        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        22        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       2K 166960K        89        0
        dirhash    12      2K       2K 166960K        33        0
           ACPI  1690    195K     286K 166960K     12468        0
      file desc    18     65K      93K 166960K      1297        0
          sigio     0      0K       0K 166960K        86        0
           proc    63     79K     140K 166960K       791        0
        subproc   104      6K       6K 166960K       156        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       147        0
       in_multi    88      6K       7K 166960K       209        0
    ether_multi     1      0K       0K 166960K         7        0
            mrt     1      0K       0K 166960K         5        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   241   1076K    1076K 166960K       241        0
           exec     0      0K       1K 166960K       684        0
   fusefs mount     1     32K      32K 166960K         1        0
     pfkey data     0      0K       0K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   247     73K      86K 166960K     13667        0
       UVM aobj    26      6K       6K 166960K        27        0
     pinsyscall    42     84K     105K 166960K      2504        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        51        0
            NDP    11      0K       2K 166960K        58        0
           temp    78   6828K    6924K 166960K     35672        0
         kqueue    17     25K      31K 166960K       240        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       24    0        0     1     0     1     1     0     8    0
rtpcb      120      246    0      243     3     2     1     2     0     8    0
rtentry    112      179    0       77     4     0     4     4     0     8    0
unpcb      144      947    0      925     7     5     2     6     0     8    1
syncache   336        8    0        8     4     3     1     1     0     8    1
tcpqe       32        6    0        6     3     2     1     1     0     8    1
tcpcb      808      391    0      385    11     6     5     5     0     8    4
arp        120       33    0       17     1     0     1     1     0     8    0
inpcb      336     1559    0     1549    23    16     7    10     0     8    5
nd6        136       37    0       15     1     0     1     1     0     8    0
pkpcb       40        5    0        5     2     2     0     1     0     8    0
kcovpl      48       12    0        4     1     0     1     1     0     8    0
ppxss      1168      10    0       10     2     1     1     1     0     8    1
pfstscr     40        1    0        0     1     0     1     1     0     8    0
pffrag     232        9    0        3     1     0     1     1     0   482    0
pffrnode    88        9    0        3     1     0     1     1     0     8    0
pffrent     40       57    0       51     1     0     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24       75    0       27     1     0     1     1     0     8    0
pfstkey    128       75    0       28     2     0     2     2     0     8    0
pfstate    376       74    0       27     5     0     5     5     0     8    0
pfrule     1344      21    0       15     2     0     2     2     0     8    0
art_heap8  4096       3    0        0     3     0     3     3     0     8    0
art_heap4  256      701    0      278    30     2    28    30     0     8    1
art_table   32      704    0      278     4     0     4     4     0     8    0
art_node    16      176    0       85     1     0     1     1     0     8    0
sysvmsgpl   40       52    0       44     1     0     1     1     0     8    0
semupl     112        2    0        2     1     1     0     1     0     8    0
semapl     112       84    0       74     1     0     1     1     0     8    0
shmpl      112       24    0        1     1     0     1     1     0     8    0
dirhash    1024      31    0       14     3     0     3     3     0     8    0
dino2pl    256     3615    0     2110    95     0    95    95     0     8    0
ffsino     272     3615    0     2110   102     0   102   102     0     8    0
nchpl      144     5398    0     3700    64     0    64    64     0     8    0
uvmvnodes   80     4460    0        0    92     0    92    92     0     8    0
vnodes     216     4460    0        0   248     0   248   248     0     8    0
namei      1024   19885    0    19885     3     2     1     2     0     8    1
percpumem   16       65    0       20     1     0     1     1     0     8    0
kstatmem   264       62    0       40     2     0     2     2     0     8    0
scsiplug    72        3    0        3     1     1     0     1     0     8    0
scxspl     216    18102    0    18102    11     9     2     8     1     8    2
plimitpl   152      301    0      284     1     0     1     1     0     8    0
sigapl     424     1618    0     1547    11     2     9     9     0     8    0
futexpl     64    17736    0    17726     1     0     1     1     0     8    0
knotepl    120      569    0        0    17     0    17    17     0     8    0
kqueuepl   216      355    0      340     2     1     1     2     0     8    0
pipepl     320      205    0      177     3     0     3     3     0     8    0
fdescpl    496     1577    0     1545     5     0     5     5     0     8    0
filepl     152     9905    0     9644    19     5    14    15     0     8    3
lockfpl    104      542    0      540     1     0     1     1     0     8    0
lockfspl    48      228    0      226     1     0     1     1     0     8    0
sessionpl  144       33    0       25     1     0     1     1     0     8    0
pgrppl      48       55    0       39     1     0     1     1     0     8    0
ucredpl    104     1597    0     1584     1     0     1     1     0     8    0
zombiepl   144     1717    0     1717     1     0     1     1     0     8    1
processpl  1160    1618    0     1547     7     1     6     6     0     8    0
procpl     648     3495    0     3408     9     1     8     8     0     8    0
srpgc       96       12    0       12     3     2     1     1     0     8    1
sosppl     168        4    0        4     2     2     0     1     0     8    0
sockpl     664     2771    0     2736    28    19     9    14     0     8    5
mcl64k     65536      5    0        0     1     0     1     1     0     8    0
mcl16k     16384      5    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       7    0        0     1     0     1     1     0     8    0
mcl4k      4096     149    0        0    19     0    19    19     0     8    0
mcl2k2     2112       1    0        0     1     0     1     1     0     8    0
mcl2k      2048      29    0        0     4     0     4     4     0     8    0
mtagpl      96       37    0        0     1     0     1     1     0     8    0
mbufpl     256      289    0        0    19     0    19    19     0     8    0
bufpl      280     7421    0     1247   442     0   442   442     0     8    0
anonpl      24   275449    0   271804    84    37    47    61     0   185   13
amapchunkpl 152   44756    0    44213    48    17    31    31     0   158    7
amappl16   200     7104    0     7072    56    44    12    21     0     8    8
amappl15   192       13    0       13     1     1     0     1     0     8    0
amappl14   184      138    0      127     1     0     1     1     0     8    0
amappl13   176        9    0        9     2     2     0     1     0     8    0
amappl12   168     2291    0     2260     4     1     3     3     0     8    0
amappl11   160       59    0       45     1     0     1     1     0     8    0
amappl10   152       13    0       13     2     2     0     1     0     8    0
amappl9    144      132    0      132     1     1     0     1     0     8    0
amappl8    136       43    0       39     1     0     1     1     0     8    0
amappl7    128      120    0      108     1     0     1     1     0     8    0
amappl6    120      208    0      206     1     0     1     1     0     8    0
amappl5    112      161    0      148     1     0     1     1     0     8    0
amappl4    104      340    0      322     1     0     1     1     0     8    0
amappl3     96     8247    0     8144     3     0     3     3     0     8    0
amappl2     88     1911    0     1827     3     0     3     3     0     8    0
amappl1     80    12517    0    11969    15     1    14    14     0     8    0
amappl      88    13134    0    12945     5     0     5     5     0    92    0
dma32768   32768      4    0        4     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        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       26    0        1     1     0     1     1     0     8    0
uaddrrnd    24     1577    0     1545     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1577    0     1545     1     0     1     1     0     8    0
vmmpekpl   168    13964    0    13915     3     0     3     3     0     8    0
vmmpepl    168   104128    0   102222   107    15    92    99     0   357    2
vmsppl     448     1576    0     1545     6     2     4     5     0     8    0
rwobjpl     56    35569    0    30164    79     1    78    78     0     8    1
pdppl      4096    3161    0     3090   111    38    73    85     0     8    2
pvpl        32    17346    0        0   142     2   140   141     0   265    0
pmappl     248     1576    0     1545     3     0     3     3     0     8    0
extentpl    40       55    0       38     1     0     1     1     0     8    0
phpool     112      443    0       74    11     0    11    11     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff83466ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 sys/kern/kern_lock.c:144
intr_handler(ffff800029fb30f0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553
Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
msleep_nsec(ffff80000002c000,ffff80000002c018,20,ffffffff830eb034,ffffffffffffffff) at msleep_nsec+0x62 sys/kern/kern_synch.c:265
taskq_next_work(ffff80000002c000,ffff800029fb3270) at taskq_next_work+0x8e sys/kern/kern_task.c:401
taskq_thread(ffff80000002c000) at taskq_thread+0x1d5 sys/kern/kern_task.c:441
end trace frame: 0x0, count: 5
ddb{0}> trace
x86_ipi_db(ffffffff83466ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 sys/kern/kern_lock.c:144
intr_handler(ffff800029fb30f0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553
Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153
msleep_nsec(ffff80000002c000,ffff80000002c018,20,ffffffff830eb034,ffffffffffffffff) at msleep_nsec+0x62 sys/kern/kern_synch.c:265
taskq_next_work(ffff80000002c000,ffff800029fb3270) at taskq_next_work+0x8e sys/kern/kern_task.c:401
taskq_thread(ffff80000002c000) at taskq_thread+0x1d5 sys/kern/kern_task.c:441
end trace frame: 0x0, count: -10
ddb{0}> machine ddbcpu 1
Stopped at      witness_checkorder+0x266:       movl    0x8(%r15),%r12d
witness_checkorder(ffff800001335618,9,0) at witness_checkorder+0x266 sys/kern/subr_witness.c:794
mtx_enter(ffff800001335608) at mtx_enter+0x47 sys/kern/kern_lock.c:238
klist_mutex_lock(ffff800001335608) at klist_mutex_lock+0x32 sys/kern/kern_event.c:2352
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef klist_lock sys/kern/kern_event.c:2317 [inline]
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef sys/kern/kern_event.c:2283
bpfsdetach(ffff8000012c14c0) at bpfsdetach+0x12f sys/net/bpf.c:1800
bpfdetach(ffff8000012b8800) at bpfdetach+0xa6
if_detach(ffff8000012b8800) at if_detach+0x14f sys/net/if.c:1193
tun_clone_destroy(ffff8000012b8800) at tun_clone_destroy+0x2d6 sys/net/if_tun.c:338
if_clone_destroy(ffff800032594fc0) at if_clone_destroy+0x1d7 sys/net/if.c:1382
ifioctl(ffff800010fde2a8,80206979,ffff800032594fc0,ffff8000ffff7970) at ifioctl+0x5c5
sys_ioctl(ffff8000ffff7970,ffff8000325951a0,ffff8000325950f0) at sys_ioctl+0x67c
syscall(ffff8000325951a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000325951a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfa64c75ff10, count: 2
ddb{1}> trace
witness_checkorder(ffff800001335618,9,0) at witness_checkorder+0x266 sys/kern/subr_witness.c:794
mtx_enter(ffff800001335608) at mtx_enter+0x47 sys/kern/kern_lock.c:238
klist_mutex_lock(ffff800001335608) at klist_mutex_lock+0x32 sys/kern/kern_event.c:2352
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef klist_lock sys/kern/kern_event.c:2317 [inline]
klist_invalidate(ffff8000013356c8) at klist_invalidate+0xef sys/kern/kern_event.c:2283
bpfsdetach(ffff8000012c14c0) at bpfsdetach+0x12f sys/net/bpf.c:1800
bpfdetach(ffff8000012b8800) at bpfdetach+0xa6
if_detach(ffff8000012b8800) at if_detach+0x14f sys/net/if.c:1193
tun_clone_destroy(ffff8000012b8800) at tun_clone_destroy+0x2d6 sys/net/if_tun.c:338
if_clone_destroy(ffff800032594fc0) at if_clone_destroy+0x1d7 sys/net/if.c:1382
ifioctl(ffff800010fde2a8,80206979,ffff800032594fc0,ffff8000ffff7970) at ifioctl+0x5c5
sys_ioctl(ffff8000ffff7970,ffff8000325951a0,ffff8000325950f0) at sys_ioctl+0x67c
syscall(ffff8000325951a0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline]
syscall(ffff8000325951a0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfa64c75ff10, count: -13

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/14 06:15 openbsd 22062e2afa72 a8c99394 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2024/09/27 05:29 openbsd 8c606e712b79 9314348a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2024/09/26 03:32 openbsd f8f7dc1f1132 0d19f247 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
2024/07/11 15:01 openbsd fa6dda612fe5 6ca1eb5a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: witness_checkorder
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.