uvm_fault(0xfffffd800b0635b8, 0x48, 0, 1) -> e kernel: page fault trap, code=0 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND witness_checkorder(28,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(18) at mtx_enter+0x95 sys/kern/kern_lock.c:406 clockintr_unbind(ffff800001642c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000016ef000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c40e990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d5a8608,1,fffffd80097fd2d8,ffff8000fffe67f0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806eb713d0,ffff8000fffe67f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806eb713d0,ffff8000fffe67f0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe67f0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe67f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe67f0,ffff80003c40ed00,ffff80003c40ec50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c40ed00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c40ed00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 end trace frame: 0xffff80003c40ed80, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd800b0635b8, 0x48, 0, 1) -> e ddb{0}> trace witness_checkorder(28,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(18) at mtx_enter+0x95 sys/kern/kern_lock.c:406 clockintr_unbind(ffff800001642c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000016ef000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c40e990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d5a8608,1,fffffd80097fd2d8,ffff8000fffe67f0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806eb713d0,ffff8000fffe67f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806eb713d0,ffff8000fffe67f0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe67f0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe67f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe67f0,ffff80003c40ed00,ffff80003c40ec50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c40ed00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c40ed00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77e9bd55b450, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c40e7b0 rbx 0 rdx 0 rcx 0xffff8000fffe67f0 rax 0xffffffff83871ffe cpu_info_full_primary+0x1ffe r8 0xffffffffffffffff r9 0 r10 0xdcaf63a9307e75f5 r11 0x6bd07b87ac65613b r12 0xfe r13 0x9 r14 0x28 r15 0 rip 0xffffffff829fad45 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c40e710 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{0}> show proc PROC (syz-executor) tid=442466 pid=86790 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000fffe67f0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000fffe7780,0xffff8000fffed7a0 process=0xffff80003c48b518 user=0xffff80003c409000, vmspace=0xfffffd800b0635b8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2995 160485 37966 0 2 0 syz-executor 2995 267890 37966 0 3 0x4000080 fsleep syz-executor 45525 269022 71562 0 2 0 syz-executor 45525 377781 71562 0 3 0x4000080 fsleep syz-executor 47364 135082 66249 0 2 0 syz-executor 47364 440372 66249 0 3 0x4000080 fsleep syz-executor 64091 113980 99931 0 3 0x80 nanoslp syz-executor 64091 101390 99931 0 3 0x4000080 pipewr syz-executor 64091 77204 99931 0 3 0x4000080 fsleep syz-executor 37966 166479 39178 0 3 0x82 nanoslp syz-executor 71562 264840 39178 0 3 0x82 nanoslp syz-executor 16652 450351 39178 0 3 0x82 nanoslp syz-executor 44335 159801 1 0 3 0x100083 ttyopn getty 31660 190136 39178 0 3 0x82 nanoslp syz-executor 52296 287459 39178 0 3 0x82 wait syz-executor 99931 164418 39178 0 3 0x82 nanoslp syz-executor 66249 466383 39178 0 3 0x82 nanoslp syz-executor 56009 507862 39178 0 3 0x82 piperd syz-executor 39178 442845 6449 0 2 0x2 syz-executor 6449 517473 94421 0 3 0x10008a sigsusp ksh 94421 303777 70264 0 3 0x98 kqread sshd-session 70264 21815 67431 0 3 0x92 kqread sshd-session 67431 279391 1 0 3 0x88 kqread sshd 29010 44233 77310 74 3 0x1100092 bpf pflogd 77310 235070 1 0 3 0x80 sbwait pflogd 63680 144186 21559 73 3 0x1100090 kqread syslogd 21559 55158 1 0 3 0x100082 sbwait syslogd 13194 322134 1 0 3 0x100080 kqread resolvd 68184 27349 17065 77 3 0x100092 kqread dhcpleased 92610 116493 17065 77 3 0x100092 kqread dhcpleased 17065 484540 1 0 3 0x80 kqread dhcpleased 19957 152689 0 0 3 0x14200 bored smr 77474 220362 0 0 2 0x14200 zerothread 83858 131964 0 0 3 0x14200 aiodoned aiodoned 76028 383228 0 0 3 0x14200 syncer update 13642 303322 0 0 3 0x14200 cleaner cleaner 28368 2584 0 0 3 0x14200 reaper reaper 84407 32322 0 0 3 0x14200 pgdaemon pagedaemon 30965 506981 0 0 3 0x14200 bored viomb 84727 353509 0 0 3 0x40014200 acpi0 acpi0 8986 341658 0 0 7 0x40014200 idle1 25602 15872 0 0 3 0x14200 bored softnet1 11505 43548 0 0 3 0x14200 bored softnet0 56563 406473 0 0 3 0x14200 bored systqmp 90935 462657 0 0 3 0x14200 bored systq 22488 375858 0 0 3 0x14200 tmoslp softclockmp 24334 491319 0 0 3 0x40014200 tmoslp softclock 13677 4474 0 0 3 0x40014200 idle0 1 89387 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11115 12201K 12355K 166960K 14890 0 pcb 17 18K 23K 166960K 813 0 rtable 251 13K 14K 166960K 899 0 pf 32 17K 18K 166960K 252 0 ifaddr 39 7K 9K 166960K 191 0 ifgroup 48 2K 2K 166960K 336 0 sysctl 4 1K 9K 166960K 23 0 counters 68 36K 38K 166960K 364 0 ioctlops 0 0K 5K 166960K 2113 0 iov 0 0K 16K 166960K 179 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1417 89K 90K 166960K 3444 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 29 0 VM map 2 1K 1K 166960K 2 0 sem 15 0K 1K 166960K 130 0 dirhash 12 2K 2K 166960K 60 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 2469 0 sigio 1 0K 0K 166960K 43 0 proc 72 115K 180K 166960K 919 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 424 0 in_multi 75 5K 7K 166960K 287 0 ether_multi 1 0K 0K 166960K 34 0 mrt 1 0K 0K 166960K 44 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 1027 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 257 161K 178K 166960K 24789 0 UVM aobj 140 28K 29K 166960K 154 0 pinsyscall 42 84K 104K 166960K 3729 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 181 0 NDP 12 0K 2K 166960K 140 0 temp 86 8684K 8764K 166960K 134859 0 kqueue 13 20K 32K 166960K 448 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 598 0 595 11 10 1 5 0 8 0 rtentry 176 263 0 166 6 0 6 6 0 8 0 unpcb 144 1962 0 1941 16 14 2 6 0 8 0 syncache 336 9 0 9 5 5 0 1 0 8 0 tcpqe 32 4 0 4 3 3 0 1 0 8 0 tcpcb 736 867 0 859 13 6 7 7 0 8 6 arp 136 37 0 21 1 0 1 1 0 8 0 inpcb 328 3385 0 3373 37 27 10 12 0 8 8 nd6 152 65 0 36 2 0 2 2 0 8 0 pkpcb 40 28 0 28 7 6 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 112 0 112 4 3 1 1 0 8 1 pppxif 1504 16 0 16 7 6 1 1 0 8 1 pffrag 232 61 0 45 1 0 1 1 0 482 0 pffrnode 88 57 0 42 1 0 1 1 0 8 0 pffrent 40 307 0 290 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 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 rttmr 136 9 0 9 4 3 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1372 0 816 43 6 37 37 0 8 0 art_table 40 1377 0 816 6 0 6 6 0 8 0 art_node 32 264 0 177 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 123 0 110 1 0 1 1 0 8 0 shmpl 112 134 0 7 4 0 4 4 0 8 0 dirhash 1024 49 0 32 3 0 3 3 0 8 0 dino2pl 256 6329 0 4818 96 0 96 96 0 8 0 ffsino 296 6329 0 4818 119 1 118 118 0 8 0 nchpl 144 9717 0 8001 64 0 64 64 0 8 0 rtmask 32 22 0 22 5 4 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 34009 0 34009 10 9 1 2 0 8 1 percpumem 16 197 0 148 1 0 1 1 0 8 0 vcpupl 3968 11 0 1 2 0 2 2 0 8 0 vmpool 848 16 0 6 2 0 2 2 0 8 0 kstatmem 264 216 0 192 7 4 3 3 0 8 1 scsiplug 72 9 0 9 4 4 0 1 0 8 0 scxspl 216 55427 0 55427 9 8 1 4 1 8 1 plimitpl 152 577 0 559 1 0 1 1 0 8 0 sigapl 424 2782 0 2735 8 2 6 8 0 8 0 knotepl 120 807 0 0 24 0 24 24 0 8 0 kqueuepl 224 916 0 907 12 7 5 5 0 8 4 pipepl 344 483 0 454 6 3 3 6 0 8 0 fdescpl 528 2732 0 2701 3 0 3 3 0 8 0 filepl 160 20072 0 19841 36 20 16 20 0 8 3 lockfpl 104 1086 0 1084 2 1 1 2 0 8 0 lockfspl 48 355 0 353 1 0 1 1 0 8 0 sessionpl 144 33 0 24 1 0 1 1 0 8 0 pgrppl 48 80 0 63 1 0 1 1 0 8 0 ucredpl 104 3402 0 3386 1 0 1 1 0 8 0 zombiepl 144 3956 0 3953 1 0 1 1 0 8 0 processpl 1232 2782 0 2735 6 1 5 6 0 8 0 procpl 664 6843 0 6791 8 1 7 7 0 8 0 sosppl 176 22 0 22 4 4 0 1 0 8 0 sockpl 752 6035 0 5999 71 59 12 21 0 8 7 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 63 0 0 7 0 7 7 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 1462 0 0 92 0 92 92 0 8 0 bufpl 280 21972 0 15836 439 0 439 439 0 8 0 anonpl 32 17273 0 0 140 0 140 140 0 246 0 amapchunkpl 152 85481 0 84880 68 37 31 35 0 158 5 amappl16 200 10256 0 10098 90 68 22 47 0 8 6 amappl15 192 54 0 52 1 0 1 1 0 8 0 amappl14 184 9 0 9 2 2 0 1 0 8 0 amappl13 176 490 0 489 1 0 1 1 0 8 0 amappl12 168 3227 0 3185 3 0 3 3 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 54 0 39 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 1 0 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 116 0 113 1 0 1 1 0 8 0 amappl6 120 349 0 335 1 0 1 1 0 8 0 amappl5 112 90 0 79 1 0 1 1 0 8 0 amappl4 104 489 0 458 1 0 1 1 0 8 0 amappl3 96 15029 0 14935 4 1 3 3 0 8 0 amappl2 88 2870 0 2792 2 0 2 2 0 8 0 amappl1 80 20459 0 19873 16 2 14 14 0 8 0 amappl 88 23549 0 23371 5 0 5 5 0 92 0 uvmvnodes 80 184 0 1 4 0 4 4 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 2 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 255 0 255 2 2 0 1 0 8 0 dma64 64 9 0 9 3 2 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 153 0 14 3 0 3 3 0 8 0 uaddrrnd 24 2732 0 2701 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2732 0 2701 1 0 1 1 0 8 0 vmmpekpl 168 22413 0 22360 3 0 3 3 0 8 0 vmmpepl 168 180205 0 178123 143 38 105 124 0 357 3 vmsppl 488 2731 0 2701 7 2 5 5 0 8 0 rwobjpl 80 49048 0 47658 45 11 34 41 0 8 0 pdppl 4096 5504 0 5424 125 43 82 86 0 8 2 pvpl 32 24201 0 0 195 0 195 195 0 265 0 pmappl 256 2747 0 2707 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 427 0 74 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(28,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(18) at mtx_enter+0x95 sys/kern/kern_lock.c:406 clockintr_unbind(ffff800001642c30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff8000016ef000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000fffe67f0) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c40e990) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805d5a8608,1,fffffd80097fd2d8,ffff8000fffe67f0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806eb713d0,ffff8000fffe67f0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806eb713d0,ffff8000fffe67f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806eb713d0,ffff8000fffe67f0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe67f0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe67f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe67f0,ffff80003c40ed00,ffff80003c40ec50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c40ed00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c40ed00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77e9bd55b450, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp 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 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: 10 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 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: -5