uvm_fault(0xfffffd80780f01f8, 0x8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND 439836 22792 32767 0x10 0 1 syz-executor.6 witness_checkorder(fffffd806f247cb8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f247ca8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021277540,fffffd806f247ca8,fffffd806f247d30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021277540,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021277540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021277540,0,0,3) at exit1+0x3e4 sys/kern/kern_exit.c:206 single_thread_check_locked(ffff800021277540,0) at single_thread_check_locked+0x24b sys/kern/kern_sig.c:2016 userret(ffff800021277540) at userret+0x72 single_thread_check sys/kern/kern_sig.c:2060 [inline] userret(ffff800021277540) at userret+0x72 sys/kern/kern_sig.c:1970 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x72e75fc4b180, count: 6 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(0xfffffd80780f01f8, 0x8, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd806f247cb8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f247ca8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021277540,fffffd806f247ca8,fffffd806f247d30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021277540,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021277540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021277540,0,0,3) at exit1+0x3e4 sys/kern/kern_exit.c:206 single_thread_check_locked(ffff800021277540,0) at single_thread_check_locked+0x24b sys/kern/kern_sig.c:2016 userret(ffff800021277540) at userret+0x72 single_thread_check sys/kern/kern_sig.c:2060 [inline] userret(ffff800021277540) at userret+0x72 sys/kern/kern_sig.c:1970 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x72e75fc4b180, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e4295f0 rbx 0xe rdx 0 rcx 0xffff800021277540 rax 0xffffffff82bbdff0 cpu_info_full_primary+0x1ff0 r8 0 r9 0 r10 0x4d4a3d0c88f4add8 r11 0x934ea1a5975a2c84 r12 0 r13 0xfffffd806f247cb8 r14 0 r15 0xffff800021277540 rip 0xffffffff81a26f5c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e429540 ss 0 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.4) pid=345633 stat=onproc flags process=1018 proc=82000 pri=0, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021276000,0xffff800021276d58 process=0xffff8000212210d0 user=0xffff80002e424000, vmspace=0xfffffd80780f01f8 estcpu=36, cpticks=4, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97672 269109 22792 32767 2 0x490 syz-executor.6 97672 288844 22792 32767 3 0x4000090 kqread syz-executor.6 97672 187236 22792 32767 3 0x4000090 fsleep syz-executor.6 99428 288658 68337 32767 2 0x490 syz-executor.3 99428 183510 68337 32767 3 0x4000090 fifor syz-executor.3 99428 292273 68337 32767 3 0x4000090 fsleep syz-executor.3 82230 441758 35668 32767 3 0x90 piperd syz-executor.2 35668 49868 71637 0 3 0x82 wait syz-executor.2 68973 198983 99629 32767 3 0x90 piperd syz-executor.5 99629 95033 71637 0 3 0x82 wait syz-executor.5 78223 216452 0 0 3 0x14200 bored sosplice 51388 348669 34653 32767 3 0x90 piperd syz-executor.7 34653 137062 71637 0 3 0x82 wait syz-executor.7 22792 439836 27777 32767 7 0x10 syz-executor.6 3300 197460 99793 32767 3 0x90 nanoslp syz-executor.4 27777 493892 71637 0 3 0x82 wait syz-executor.6 99793 464426 71637 0 3 0x82 wait syz-executor.4 68337 285579 18964 32767 3 0x90 nanoslp syz-executor.3 18964 64112 71637 0 3 0x82 wait syz-executor.3 54704 391956 34304 32767 3 0x90 piperd syz-executor.1 19702 66509 20581 32767 3 0x90 piperd syz-executor.0 34304 269349 71637 0 3 0x82 wait syz-executor.1 20581 115220 71637 0 3 0x82 wait syz-executor.0 71637 166869 48292 0 3 0x2000082 wait syz-fuzzer 71637 421356 48292 0 2 0x6000482 syz-fuzzer 71637 104590 48292 0 3 0x6000082 wait syz-fuzzer 71637 356768 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 98286 48292 0 3 0x6000082 kqread syz-fuzzer 71637 197722 48292 0 3 0x6000082 wait syz-fuzzer 71637 5840 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 115231 48292 0 3 0x6000082 wait syz-fuzzer 71637 167036 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 481832 48292 0 3 0x6000082 wait syz-fuzzer 71637 290897 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 272389 48292 0 3 0x6000082 wait syz-fuzzer 71637 308122 48292 0 3 0x6000082 wait syz-fuzzer 71637 76229 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 513228 48292 0 3 0x6000082 thrsleep syz-fuzzer 71637 261359 48292 0 3 0x6000082 wait syz-fuzzer 48292 246237 56706 0 3 0x10008a sigsusp ksh 56706 511881 8726 0 3 0x9a kqread sshd 49125 182417 1 0 3 0x100083 ttyin getty 8726 240107 1 0 3 0x88 kqread sshd 10816 217924 60661 73 3 0x1100090 kqread syslogd 60661 489131 1 0 3 0x100082 netio syslogd 88825 517846 1 0 3 0x100080 kqread resolvd 3537 263638 9505 77 3 0x100092 kqread dhcpleased 85071 273193 9505 77 3 0x100092 kqread dhcpleased 9505 343916 1 0 3 0x80 kqread dhcpleased 42697 248223 0 0 3 0x14200 bored smr 76750 143513 0 0 3 0x14200 pgzero zerothread 20430 33713 0 0 3 0x14200 aiodoned aiodoned 78423 44624 0 0 3 0x14200 syncer update 4293 408573 0 0 3 0x14200 cleaner cleaner 83651 76068 0 0 2 0x14200 reaper 21398 83317 0 0 3 0x14200 pgdaemon pagedaemon 68899 118500 0 0 3 0x14200 bored viomb 12819 71458 0 0 3 0x40014200 acpi0 acpi0 96942 77007 0 0 3 0x40014200 idle1 97500 306267 0 0 3 0x14200 bored softnet3 18051 115385 0 0 3 0x14200 bored softnet2 6535 369650 0 0 3 0x14200 bored softnet1 25794 108787 0 0 3 0x14200 bored softnet0 36883 193884 0 0 3 0x14200 bored systqmp 5920 154989 0 0 3 0x14200 bored systq 34415 330211 0 0 3 0x40014200 bored softclock 87119 10097 0 0 3 0x40014200 idle0 1 358126 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d40ab0) #0 witness_lock+0x447 #1 wakeup_n+0x37 sys/kern/kern_synch.c:541 #2 sched_idle+0x232 sys/kern/kern_sched.c:176 #3 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 6412K 6420K 78643K 11304 0 pcb 13 12K 14K 78643K 17 0 rtable 234 6K 7K 78643K 528 0 pf 29 8K 8K 78643K 37 0 ifaddr 44 15K 15K 78643K 62 0 ifgroup 50 2K 2K 78643K 66 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 68 0 ioctlops 0 0K 2K 78643K 110 0 iov 0 0K 16K 78643K 171 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1280 80K 80K 78643K 2207 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 49 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2670 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 125K 78643K 5437 0 sigio 0 0K 0K 78643K 15 0 proc 56 78K 115K 78643K 816 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 352 0 in_multi 99 7K 7K 78643K 184 0 ether_multi 1 0K 0K 78643K 5 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 217 970K 970K 78643K 217 0 exec 0 0K 1K 78643K 979 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 366 85K 102K 78643K 53226 0 UVM aobj 131 4K 4K 78643K 145 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 83 0 NDP 11 0K 2K 78643K 39 0 temp 74 5920K 6000K 78643K 15721 0 kqueue 12 18K 34K 78643K 383 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 185 0 182 3 2 1 3 0 8 0 rtentry 112 163 0 53 4 0 4 4 0 8 0 unpcb 144 4918 0 4903 18 16 2 6 0 8 1 syncache 304 53 0 53 13 13 0 1 0 8 0 tcpqe 32 339 0 339 11 11 0 1 0 8 0 tcpcb 808 8813 0 8784 88 83 5 16 0 8 0 arp 120 27 0 9 1 0 1 1 0 8 0 ipq 40 5 0 4 3 2 1 1 0 8 0 ipqe 40 78 0 77 3 2 1 1 0 8 0 inpcb 368 10301 0 10269 88 79 9 15 0 8 5 nd6 136 43 0 19 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 669 0 218 29 0 29 29 0 8 0 art_table 32 670 0 218 4 0 4 4 0 8 0 art_node 16 162 0 62 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 2668 0 2658 1 0 1 1 0 8 0 shmpl 112 142 0 14 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8417 0 6971 91 0 91 91 0 8 0 ffsino 272 8417 0 6971 97 0 97 97 0 8 0 nchpl 144 16556 0 14916 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 45582 0 45582 2 1 1 2 0 8 1 percpumem 16 47 0 4 1 0 1 1 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 42642 0 42642 13 12 1 8 1 8 1 plimitpl 152 423 0 400 4 3 1 2 0 8 0 sigapl 424 5721 0 5671 7 0 7 7 0 8 0 futexpl 64 65327 0 65325 1 0 1 1 0 8 0 knotepl 120 680 0 0 14 0 14 14 0 8 0 kqueuepl 216 788 0 779 12 11 1 5 0 8 0 pipepl 320 647 0 618 16 13 3 8 0 8 0 fdescpl 496 5703 0 5671 7 1 6 6 0 8 0 filepl 152 35109 0 34870 61 47 14 17 0 8 4 lockfpl 104 457 0 455 1 0 1 1 0 8 0 lockfspl 48 145 0 143 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 3318 0 3300 1 0 1 1 0 8 0 zombiepl 144 5672 0 5671 1 0 1 1 0 8 0 processpl 1072 5721 0 5671 5 1 4 5 0 8 0 procpl 680 14159 0 14089 17 9 8 8 0 8 1 sosppl 168 60 0 60 3 3 0 1 0 8 0 sockpl 488 15467 0 15417 146 130 16 24 0 8 8 mcl64k 65536 25 0 0 4 1 3 3 0 8 0 mcl16k 16384 33 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 33 0 0 4 1 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 269 0 0 32 1 31 32 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1119 0 0 65 1 64 64 0 8 0 bufpl 288 10426 0 4100 452 0 452 452 0 8 0 anonpl 24 625539 0 614547 127 46 81 94 0 186 7 amapchunkpl 152 172044 0 171165 101 56 45 50 0 158 7 amappl16 200 12924 0 12618 45 28 17 29 0 8 0 amappl15 192 22 0 21 1 0 1 1 0 8 0 amappl14 184 166 0 153 2 1 1 2 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 6396 0 6360 3 0 3 3 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 43 0 31 1 0 1 1 0 8 0 amappl9 144 269 0 267 1 0 1 1 0 8 0 amappl8 136 347 0 261 4 0 4 4 0 8 0 amappl7 128 131 0 116 2 0 2 2 0 8 0 amappl6 120 319 0 297 2 1 1 2 0 8 0 amappl5 112 277 0 268 1 0 1 1 0 8 0 amappl4 104 705 0 666 3 1 2 3 0 8 0 amappl3 96 34708 0 34614 5 1 4 4 0 8 1 amappl2 88 6085 0 6013 3 1 2 3 0 8 0 amappl1 80 27694 0 27171 22 9 13 22 0 8 0 amappl 88 52584 0 52343 7 0 7 7 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 144 0 14 3 0 3 3 0 8 0 uaddrrnd 24 5703 0 5671 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5703 0 5671 1 0 1 1 0 8 0 vmmpekpl 168 43598 0 43538 3 0 3 3 0 8 0 vmmpepl 168 338563 0 336294 153 43 110 119 0 357 2 vmsppl 464 5702 0 5671 7 2 5 6 0 8 0 rwobjpl 56 91179 0 83769 109 3 106 106 0 8 0 pdppl 4096 11414 0 11342 220 138 82 96 0 8 10 pvpl 32 1676350 0 1659405 382 222 160 363 0 265 14 pmappl 248 5702 0 5671 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1202 0 316 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd806f247cb8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f247ca8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021277540,fffffd806f247ca8,fffffd806f247d30,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021277540,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021277540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021277540,0,0,3) at exit1+0x3e4 sys/kern/kern_exit.c:206 single_thread_check_locked(ffff800021277540,0) at single_thread_check_locked+0x24b sys/kern/kern_sig.c:2016 userret(ffff800021277540) at userret+0x72 single_thread_check sys/kern/kern_sig.c:2060 [inline] userret(ffff800021277540) at userret+0x72 sys/kern/kern_sig.c:1970 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x72e75fc4b180, count: -9 ddb{0}> machine ddbcpu 1