uvm_fault(0xfffffd8069b4f928, 0x4d00000056, 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 witness_checkorder(fffffd807e879b08,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e879af8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800022d232b0,fffffd807e879af8,fffffd807e879b80,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800022d232b0,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800022d232b0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800022d232b0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800022d232b0,ffff80002e47b7b0,ffff80002e47b800) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47b880) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47b880) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708a4d201240, 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(0xfffffd8069b4f928, 0x4d00000056, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd807e879b08,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e879af8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800022d232b0,fffffd807e879af8,fffffd807e879b80,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800022d232b0,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800022d232b0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800022d232b0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800022d232b0,ffff80002e47b7b0,ffff80002e47b800) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47b880) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47b880) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708a4d201240, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e47b550 rbx 0xe rdx 0 rcx 0xffff800022d232b0 rax 0xffffffff82b79ff0 cpu_info_full_primary+0x1ff0 r8 0 r9 0 r10 0x200e44d598376c52 r11 0xb8b2d2fe63580cbf r12 0 r13 0xfffffd807e879b08 r14 0x4d0000004e r15 0xffff800022d232b0 rip 0xffffffff81009f9c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e47b4a0 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.1) pid=109072 stat=onproc flags process=1008 proc=2000 pri=0, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800021274550,0xffffffff82c8b818 process=0xffff8000212af260 user=0xffff80002e476000, vmspace=0xfffffd8069b4f928 estcpu=31, cpticks=1, pctcpu=0.5 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65836 145108 0 0 3 0x14280 nfsidl nfsio 14530 285138 0 0 3 0x14280 nfsidl nfsio 17710 374520 0 0 3 0x14280 nfsidl nfsio 26797 194679 0 0 3 0x14280 nfsidl nfsio 33751 233708 0 0 3 0x14280 nfsidl nfsio 2001 498957 0 0 3 0x14280 nfsidl nfsio 78806 399245 0 0 3 0x14280 nfsidl nfsio 74426 371497 0 0 3 0x14280 nfsidl nfsio 67942 453959 0 0 3 0x14280 nfsidl nfsio 35198 389649 0 0 3 0x14280 nfsidl nfsio 72557 156769 0 0 3 0x14280 nfsidl nfsio 99149 460030 0 0 3 0x14280 nfsidl nfsio 14104 338631 0 0 3 0x14280 nfsidl nfsio 46386 351983 0 0 3 0x14280 nfsidl nfsio 53925 27030 0 0 3 0x14280 nfsidl nfsio 75467 240150 0 0 3 0x14280 nfsidl nfsio 57273 311752 0 0 3 0x14280 nfsidl nfsio 33553 453093 0 0 3 0x14280 nfsidl nfsio 77915 359030 0 0 3 0x14280 nfsidl nfsio 3256 87379 0 0 3 0x14280 nfsidl nfsio 22048 503814 0 0 3 0x14200 acct acct 98348 309127 0 0 3 0x14200 bored sosplice 66904 210326 17656 0 3 0x82 piperd syz-executor.7 6554 87445 17656 0 3 0x82 piperd syz-executor.6 81232 139173 17656 0 3 0x82 piperd syz-executor.4 77539 215323 17656 0 3 0x82 piperd syz-executor.5 23235 180559 17656 0 3 0x82 piperd syz-executor.3 11592 214874 17656 0 3 0x82 piperd syz-executor.2 94662 1342 17656 0 3 0x82 nanoslp syz-executor.1 22780 477803 17656 0 3 0x82 piperd syz-executor.0 17656 425311 43993 0 3 0x2000082 thrsleep syz-fuzzer 17656 124874 43993 0 3 0x6000082 thrsleep syz-fuzzer 17656 429033 43993 0 3 0x6000082 wait syz-fuzzer 17656 495485 43993 0 3 0x6000082 wait syz-fuzzer 17656 380039 43993 0 3 0x6000082 wait syz-fuzzer 17656 494028 43993 0 3 0x6000082 wait syz-fuzzer 17656 476284 43993 0 3 0x6000082 wait syz-fuzzer 17656 423886 43993 0 3 0x6000082 wait syz-fuzzer 17656 326966 43993 0 3 0x6000082 wait syz-fuzzer 17656 500817 43993 0 3 0x6000082 thrsleep syz-fuzzer 17656 193917 43993 0 3 0x6000082 thrsleep syz-fuzzer 17656 171876 43993 0 3 0x6000082 wait syz-fuzzer 17656 397192 43993 0 3 0x6000082 kqread syz-fuzzer 17656 189983 43993 0 3 0x6000082 thrsleep syz-fuzzer 17656 227267 43993 0 3 0x6000082 thrsleep syz-fuzzer 43993 99018 97371 0 3 0x10008a sigsusp ksh 97371 383332 46737 0 3 0x9a kqread sshd 62074 393785 1 0 3 0x100083 ttyin getty 46737 229288 1 0 3 0x88 kqread sshd 15094 453453 36438 74 3 0x1100092 bpf pflogd 36438 377523 1 0 3 0x80 netio pflogd 90419 332724 96994 73 3 0x1100090 kqread syslogd 96994 353359 1 0 3 0x100082 netio syslogd 45686 279039 1 0 3 0x100080 kqread resolvd 6372 214476 82109 77 3 0x100092 kqread dhcpleased 31746 513801 82109 77 3 0x100092 kqread dhcpleased 82109 381558 1 0 3 0x80 kqread dhcpleased 27276 85501 0 0 3 0x14200 bored smr 59729 236649 0 0 3 0x14200 pgzero zerothread 18431 476041 0 0 3 0x14200 aiodoned aiodoned 7036 389626 0 0 3 0x14200 syncer update 78503 194502 0 0 3 0x14200 cleaner cleaner 78038 171321 0 0 2 0x14200 reaper 44739 108914 0 0 3 0x14200 pgdaemon pagedaemon 48998 139585 0 0 3 0x14200 bored viomb 54389 185906 0 0 3 0x40014200 acpi0 acpi0 55914 518451 0 0 7 0x40014200 idle1 63977 204217 0 0 3 0x14200 bored softnet3 65063 61283 0 0 3 0x14200 bored softnet2 5764 350958 0 0 3 0x14200 bored softnet1 72720 210232 0 0 3 0x14200 bored softnet0 41086 238915 0 0 3 0x14200 bored systqmp 74937 138274 0 0 3 0x14200 bored systq 50398 500304 0 0 3 0x40014200 bored softclock 228 381392 0 0 3 0x40014200 idle0 1 206887 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 10220 6479K 6722K 78643K 11819 0 pcb 13 10K 12K 78643K 38 0 rtable 238 6K 6K 78643K 358 0 pf 32 9K 10K 78643K 55 0 ifaddr 45 15K 15K 78643K 53 0 ifgroup 55 2K 2K 78643K 75 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 36K 78643K 68 0 ioctlops 0 0K 4K 78643K 1491 0 iov 0 0K 4K 78643K 18 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1380 86K 86K 78643K 1705 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 19 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 58 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 85K 78643K 788 0 sigio 0 0K 0K 78643K 12 0 proc 69 91K 127K 78643K 552 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 33 0 in_multi 99 7K 7K 78643K 122 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 5 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 417 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 304 86K 88K 78643K 10128 0 UVM aobj 67 3K 3K 78643K 67 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 12 0K 1K 78643K 32 0 temp 40 5911K 5975K 78643K 5936 0 kqueue 12 18K 22K 78643K 77 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 97 0 94 2 1 1 2 0 8 0 rtentry 112 113 0 1 4 0 4 4 0 8 0 unpcb 144 339 0 324 4 0 4 4 0 8 3 syncache 304 5 0 5 2 1 1 1 0 8 1 tcpqe 32 380 0 380 2 2 0 1 0 8 0 tcpcb 808 68 0 61 1 0 1 1 0 8 0 arp 120 19 0 0 1 0 1 1 0 8 0 inpcb 368 1501 0 1489 25 16 9 14 0 8 7 nd6 136 25 0 0 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 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 44 0 24 1 0 1 1 0 8 0 pfstkey 128 44 0 24 1 0 1 1 0 8 0 pfstate 376 44 0 24 3 0 3 3 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 32 456 0 0 4 0 4 4 0 8 0 art_node 16 112 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semapl 112 56 0 46 1 0 1 1 0 8 0 shmpl 112 64 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2480 0 1025 92 0 92 92 0 8 0 ffsino 272 2480 0 1025 98 0 98 98 0 8 0 nchpl 144 3624 0 1942 64 0 64 64 0 8 0 uvmvnodes 80 2787 0 0 57 0 57 57 0 8 0 vnodes 216 2787 0 0 155 0 155 155 0 8 0 namei 1024 12491 0 12491 2 1 1 2 0 8 1 percpumem 16 47 0 4 1 0 1 1 0 8 0 vmpool 696 2 0 2 1 1 0 1 0 8 0 kstatmem 264 32 0 8 2 0 2 2 0 8 0 scxspl 216 11041 0 11041 10 9 1 8 1 8 1 plimitpl 152 155 0 139 1 0 1 1 0 8 0 sigapl 424 1131 0 1068 9 1 8 8 0 8 0 futexpl 64 5724 0 5724 1 0 1 1 0 8 1 knotepl 120 112 0 0 4 0 4 4 0 8 0 kqueuepl 216 124 0 116 3 2 1 3 0 8 0 pipepl 320 184 0 156 3 0 3 3 0 8 0 fdescpl 496 1092 0 1068 5 1 4 5 0 8 0 filepl 152 6914 0 6673 24 8 16 16 0 8 6 lockfpl 104 109 0 107 1 0 1 1 0 8 0 lockfspl 48 56 0 54 1 0 1 1 0 8 0 sessionpl 144 24 0 7 1 0 1 1 0 8 0 pgrppl 48 31 0 14 1 0 1 1 0 8 0 ucredpl 104 1017 0 1005 1 0 1 1 0 8 0 zombiepl 144 1069 0 1068 1 0 1 1 0 8 0 processpl 1072 1131 0 1068 5 0 5 5 0 8 0 procpl 680 2367 0 2289 11 2 9 9 0 8 1 sosppl 168 10 0 9 3 2 1 1 0 8 0 sockpl 488 1949 0 1921 38 26 12 23 0 8 8 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 14 0 0 2 0 2 2 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 249 0 0 32 0 32 32 0 8 0 mtagpl 96 115 0 0 3 0 3 3 0 8 0 mbufpl 256 369 0 0 22 0 22 22 0 8 0 bufpl 288 4898 0 147 340 0 340 340 0 8 0 anonpl 24 254294 0 240987 105 16 89 104 0 186 0 amapchunkpl 152 32428 0 31637 44 4 40 40 0 158 4 amappl16 200 6725 0 6369 32 12 20 31 0 8 1 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 165 0 151 2 1 1 2 0 8 0 amappl13 176 25 0 25 1 1 0 1 0 8 0 amappl12 168 1799 0 1774 3 1 2 2 0 8 0 amappl11 160 77 0 63 1 0 1 1 0 8 0 amappl10 152 25 0 14 1 0 1 1 0 8 0 amappl9 144 180 0 179 2 1 1 1 0 8 0 amappl8 136 205 0 146 3 0 3 3 0 8 0 amappl7 128 84 0 68 2 0 2 2 0 8 0 amappl6 120 243 0 221 2 1 1 2 0 8 0 amappl5 112 181 0 170 1 0 1 1 0 8 0 amappl4 104 605 0 563 4 2 2 3 0 8 0 amappl3 96 6874 0 6809 4 1 3 3 0 8 0 amappl2 88 1379 0 1312 3 1 2 3 0 8 0 amappl1 80 12495 0 11949 23 9 14 23 0 8 0 amappl 88 9579 0 9385 7 1 6 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 66 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1094 0 1070 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1094 0 1070 1 0 1 1 0 8 0 vmmpekpl 168 14170 0 14111 3 0 3 3 0 8 0 vmmpepl 168 87429 0 85394 124 19 105 121 0 357 2 vmsppl 464 1093 0 1070 5 1 4 5 0 8 0 rwobjpl 56 31819 0 27545 64 3 61 61 0 8 0 pdppl 4096 2196 0 2140 144 74 70 80 0 8 14 pvpl 32 568608 0 549819 362 66 296 359 0 265 129 pmappl 248 1093 0 1070 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 810 0 95 21 0 21 21 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd807e879b08,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e879af8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800022d232b0,fffffd807e879af8,fffffd807e879b80,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800022d232b0,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800022d232b0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800022d232b0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800022d232b0,ffff80002e47b7b0,ffff80002e47b800) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e47b880) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e47b880) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708a4d201240, 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d58ff0) at sched_idle+0x41e sys/kern/kern_sched.c:188 end trace frame: 0x0, count: 10 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d58ff0) at sched_idle+0x41e sys/kern/kern_sched.c:188 end trace frame: 0x0, count: -5