uvm_fault(0xfffffd8008a123a0, 0x18ff000008, 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 13210 94234 32767 0x10 0 1 syz-executor.2 witness_checkorder(fffffd806f0bd958,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0bd948) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ee2b8,fffffd806f0bd948,fffffd806f0bd9d0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ee2b8,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ee2b8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ee2b8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ee2b8,ffff80002612b890,ffff80002612b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002612b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002612b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70f3f651d290, 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(0xfffffd8008a123a0, 0x18ff000008, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd806f0bd958,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0bd948) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ee2b8,fffffd806f0bd948,fffffd806f0bd9d0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ee2b8,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ee2b8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ee2b8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ee2b8,ffff80002612b890,ffff80002612b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002612b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002612b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70f3f651d290, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002612b630 rbx 0xe rdx 0 rcx 0xffff8000211ee2b8 rax 0xffffffff82c05ff0 cpu_info_full_primary+0x1ff0 r8 0x1 r9 0 r10 0x8e51c4b530b68377 r11 0x2bae54f0b3132cd5 r12 0 r13 0xfffffd806f0bd958 r14 0x18ff000000 r15 0xffff8000211ee2b8 rip 0xffffffff81ef9c8c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002612b580 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.4) pid=22403 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800022cd8d48,0xffff8000211ef560 process=0xffff8000ffff8008 user=0xffff800026126000, vmspace=0xfffffd8008a123a0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34524 44842 29166 32767 2 0x10 syz-executor.3 34524 8856 29166 32767 3 0x4000090 fsleep syz-executor.3 94234 13210 3675 32767 7 0x10 syz-executor.2 94234 160836 3675 32767 2 0x4000010 syz-executor.2 6546 307168 67846 32767 2 0x10 syz-executor.7 6546 214515 67846 32767 3 0x4000090 fsleep syz-executor.7 50645 447686 82447 32767 2 0x10 syz-executor.5 84898 28277 72352 32767 2 0x10 syz-executor.6 3675 459845 89232 32767 3 0x90 nanoslp syz-executor.2 89232 514896 33199 0 3 0x82 wait syz-executor.2 67846 385394 93744 32767 3 0x90 nanoslp syz-executor.7 93744 370997 33199 0 3 0x82 wait syz-executor.7 29166 484084 61619 32767 3 0x90 nanoslp syz-executor.3 61619 410104 33199 0 3 0x82 wait syz-executor.3 77971 399625 83755 32767 2 0x10 syz-executor.0 83755 194599 33199 0 3 0x82 wait syz-executor.0 82447 147667 81682 32767 3 0x90 nanoslp syz-executor.5 81682 65869 33199 0 3 0x82 wait syz-executor.5 99254 313689 92943 32767 2 0x10 syz-executor.1 92943 380671 33199 0 3 0x82 wait syz-executor.1 81560 411444 0 0 3 0x14200 bored sosplice 72352 514384 77924 32767 2 0x10 syz-executor.6 77924 137944 33199 0 3 0x82 wait syz-executor.6 542 291334 47516 32767 3 0x90 nanoslp syz-executor.4 47516 104438 33199 0 3 0x82 wait syz-executor.4 33199 358981 92539 0 3 0x2000082 thrsleep syz-fuzzer 33199 24329 92539 0 3 0x6000082 nanoslp syz-fuzzer 33199 301085 92539 0 3 0x6000082 wait syz-fuzzer 33199 513375 92539 0 3 0x6000082 wait syz-fuzzer 33199 317978 92539 0 3 0x6000082 kqread syz-fuzzer 33199 92090 92539 0 3 0x6000082 wait syz-fuzzer 33199 183767 92539 0 3 0x6000082 thrsleep syz-fuzzer 33199 449215 92539 0 3 0x6000082 thrsleep syz-fuzzer 33199 386773 92539 0 3 0x6000082 thrsleep syz-fuzzer 33199 175836 92539 0 3 0x6000082 thrsleep syz-fuzzer 33199 160166 92539 0 3 0x6000082 wait syz-fuzzer 33199 265235 92539 0 3 0x6000082 wait syz-fuzzer 33199 276246 92539 0 3 0x6000082 thrsleep syz-fuzzer 33199 371902 92539 0 3 0x6000082 wait syz-fuzzer 33199 147524 92539 0 3 0x6000082 wait syz-fuzzer 33199 415834 92539 0 3 0x6000082 wait syz-fuzzer 92539 448666 71248 0 3 0x10008a sigsusp ksh 71248 154638 852 0 3 0x9a kqread sshd 90374 214 1 0 3 0x100083 ttyin getty 852 461425 1 0 3 0x88 kqread sshd 60662 283885 75877 73 3 0x1100090 kqread syslogd 75877 364682 1 0 3 0x100082 netio syslogd 93658 249700 1 0 3 0x100080 kqread resolvd 25270 155470 69475 77 3 0x100092 kqread dhcpleased 73047 121713 69475 77 3 0x100092 kqread dhcpleased 69475 94090 1 0 3 0x80 kqread dhcpleased 99945 55945 0 0 3 0x14200 bored smr 14506 84477 0 0 2 0x14200 zerothread 15209 170453 0 0 3 0x14200 aiodoned aiodoned 75057 215351 0 0 3 0x14200 syncer update 49801 240767 0 0 3 0x14200 cleaner cleaner 99919 412687 0 0 2 0x14200 reaper 42831 383513 0 0 3 0x14200 pgdaemon pagedaemon 51552 328364 0 0 3 0x14200 bored viomb 1834 26878 0 0 3 0x40014200 acpi0 acpi0 40216 509367 0 0 3 0x40014200 idle1 70427 485262 0 0 3 0x14200 bored softnet3 92669 297456 0 0 3 0x14200 bored softnet2 59954 346477 0 0 3 0x14200 bored softnet1 43534 228950 0 0 3 0x14200 bored softnet0 90132 506499 0 0 3 0x14200 bored systqmp 69809 193149 0 0 3 0x14200 bored systq 55239 206446 0 0 3 0x40014200 bored softclock 61182 158864 0 0 3 0x40014200 idle0 1 473006 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10188 6408K 6420K 78643K 11314 0 pcb 13 12K 14K 78643K 17 0 rtable 236 6K 7K 78643K 1039 0 pf 29 8K 8K 78643K 61 0 ifaddr 44 15K 15K 78643K 112 0 ifgroup 50 2K 2K 78643K 114 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 92 0 ioctlops 0 0K 2K 78643K 151 0 iov 0 0K 32K 78643K 737 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 2405 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 113 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 1328 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 117K 78643K 6587 0 sigio 0 0K 0K 78643K 137 0 proc 56 78K 103K 78643K 1303 0 subproc 104 6K 6K 78643K 312 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 135 0 in_multi 99 7K 7K 78643K 299 0 ether_multi 1 0K 0K 78643K 7 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 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 991 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 430 96K 100K 78643K 65672 0 UVM aobj 131 4K 4K 78643K 168 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 151 0 NDP 11 0K 2K 78643K 75 0 temp 74 5920K 6048K 78643K 20269 0 kqueue 12 18K 26K 78643K 535 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 316 0 313 5 4 1 3 0 8 0 rtentry 112 291 0 180 4 0 4 4 0 8 0 unpcb 144 5627 0 5612 49 47 2 7 0 8 1 syncache 304 66 0 66 11 10 1 1 0 8 1 tcpqe 32 291 0 291 8 7 1 1 0 8 1 tcpcb 808 2208 0 2196 61 51 10 15 0 8 8 arp 120 52 0 34 1 0 1 1 0 8 0 ipq 40 13 0 12 5 4 1 1 0 8 0 ipqe 40 44 0 40 5 4 1 1 0 8 0 inpcb 368 8853 0 8831 78 66 12 17 0 8 8 nd6 136 74 0 49 1 0 1 1 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1165 0 708 29 0 29 29 0 8 0 art_table 32 1166 0 708 4 0 4 4 0 8 0 art_node 16 290 0 189 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 1322 0 1312 1 0 1 1 0 8 0 shmpl 112 165 0 37 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9554 0 8108 91 0 91 91 0 8 0 ffsino 272 9554 0 8108 97 0 97 97 0 8 0 nchpl 144 17890 0 16245 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 59240 0 59240 4 3 1 2 0 8 1 percpumem 16 59 0 16 1 0 1 1 0 8 0 kstatmem 264 54 0 32 2 0 2 2 0 8 0 scxspl 216 59245 0 59245 26 22 4 8 1 8 4 plimitpl 152 829 0 806 11 9 2 2 0 8 1 sigapl 424 6852 0 6799 7 0 7 7 0 8 0 futexpl 64 52808 0 52806 2 1 1 1 0 8 0 knotepl 120 514 0 0 11 1 10 10 0 8 0 kqueuepl 216 1502 0 1494 28 23 5 6 0 8 4 pipepl 320 1057 0 1029 25 22 3 9 0 8 0 fdescpl 496 6834 0 6799 7 2 5 6 0 8 0 filepl 152 42151 0 41908 83 67 16 20 0 8 6 lockfpl 104 646 0 644 1 0 1 1 0 8 0 lockfspl 48 210 0 208 1 0 1 1 0 8 0 sessionpl 144 39 0 23 1 0 1 1 0 8 0 pgrppl 48 90 0 74 1 0 1 1 0 8 0 ucredpl 104 5316 0 5298 1 0 1 1 0 8 0 zombiepl 144 6800 0 6799 1 0 1 1 0 8 0 processpl 1072 6852 0 6799 5 1 4 5 0 8 0 procpl 680 18058 0 17986 18 10 8 8 0 8 1 sosppl 168 88 0 84 8 7 1 1 0 8 0 sockpl 488 15011 0 14971 271 257 14 29 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 15 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 20 0 0 3 0 3 3 0 8 0 mcl4k 4096 46 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 367 0 0 43 8 35 43 0 8 2 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 1112 0 0 65 0 65 65 0 8 0 bufpl 288 13246 0 6921 453 0 453 453 0 8 0 anonpl 24 768440 0 757157 148 67 81 99 0 186 1 amapchunkpl 152 205991 0 205111 71 30 41 49 0 158 4 amappl16 200 16892 0 16618 75 59 16 28 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 207 0 191 2 1 1 2 0 8 0 amappl13 176 13 0 13 2 2 0 1 0 8 0 amappl12 168 7711 0 7673 2 0 2 2 0 8 0 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 57 0 41 1 0 1 1 0 8 0 amappl9 144 286 0 283 1 0 1 1 0 8 0 amappl8 136 539 0 396 6 1 5 5 0 8 0 amappl7 128 85 0 72 2 0 2 2 0 8 0 amappl6 120 399 0 375 2 1 1 2 0 8 0 amappl5 112 362 0 353 1 0 1 1 0 8 0 amappl4 104 791 0 752 2 0 2 2 0 8 0 amappl3 96 40857 0 40762 6 2 4 4 0 8 1 amappl2 88 7345 0 7270 3 1 2 3 0 8 0 amappl1 80 33057 0 32534 22 9 13 22 0 8 0 amappl 88 64804 0 64546 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 167 0 37 3 0 3 3 0 8 0 uaddrrnd 24 6834 0 6799 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6834 0 6799 1 0 1 1 0 8 0 vmmpekpl 168 55899 0 55838 4 1 3 4 0 8 0 vmmpepl 168 411739 0 409316 174 56 118 122 0 357 5 vmsppl 464 6833 0 6799 7 2 5 6 0 8 0 rwobjpl 56 111107 0 103679 113 6 107 109 0 8 0 pdppl 4096 13676 0 13598 345 263 82 94 0 8 4 pvpl 32 2126742 0 2109246 429 257 172 348 0 265 16 pmappl 248 6833 0 6799 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1302 0 403 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd806f0bd958,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0bd948) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ee2b8,fffffd806f0bd948,fffffd806f0bd9d0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ee2b8,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ee2b8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ee2b8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ee2b8,ffff80002612b890,ffff80002612b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002612b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002612b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70f3f651d290, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x6fe5865ae380, count: 12 ddb{1}> trace x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x6fe5865ae380, count: -3