uvm_fault(0xfffffd806efcd008, 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 415449 95376 0 0x14000 0x200 1 reaper witness_checkorder(fffffd806f115be0,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f115bd0) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000212817f8,fffffd806f115bd0,fffffd806f115c58,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212817f8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212817f8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212817f8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212817f8,ffff80002472f0f0,ffff80002472f140) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002472f1c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002472f1c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79bdf349de90, 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(0xfffffd806efcd008, 0x4d00000056, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd806f115be0,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f115bd0) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000212817f8,fffffd806f115bd0,fffffd806f115c58,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212817f8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212817f8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212817f8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212817f8,ffff80002472f0f0,ffff80002472f140) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002472f1c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002472f1c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79bdf349de90, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002472ee90 rbx 0xe rdx 0 rcx 0xffff8000212817f8 rax 0xffffffff82b79ff0 cpu_info_full_primary+0x1ff0 r8 0x1 r9 0 r10 0x614b63d1f17bef13 r11 0x3eea375b0da0d897 r12 0 r13 0xfffffd806f115be0 r14 0x4d0000004e r15 0xffff8000212817f8 rip 0xffffffff81009f9c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002472ede0 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.0) pid=457013 stat=onproc flags process=1008 proc=2000 pri=0, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002121aaa0,0xffff800021280020 process=0xffff8000212910d8 user=0xffff80002472a000, vmspace=0xfffffd806efcd008 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69068 80288 13923 0 2 0 syz-executor.3 69068 113180 13923 0 2 0x4000000 syz-executor.3 69962 122887 96136 0 2 0 syz-executor.5 69962 303798 96136 0 2 0x4000000 syz-executor.5 76932 405467 16443 0 3 0x80 nanoslp syz-executor.7 76932 425440 16443 0 3 0x4000080 fsleep syz-executor.7 70190 314899 40142 0 2 0 syz-executor.6 70190 210609 40142 0 3 0x4000080 fsleep syz-executor.6 16443 328870 88865 0 3 0x82 nanoslp syz-executor.7 8010 276392 88865 0 3 0x82 nanoslp syz-executor.2 77456 74067 0 0 3 0x14200 acct acct 26960 16014 0 0 3 0x14200 bored sosplice 40142 274572 88865 0 3 0x82 nanoslp syz-executor.6 96136 46210 88865 0 3 0x82 nanoslp syz-executor.5 91576 17687 88865 0 2 0x2 syz-executor.4 13923 220405 88865 0 3 0x82 nanoslp syz-executor.3 72177 135830 88865 0 2 0x2 syz-executor.1 47477 122350 88865 0 3 0x82 nanoslp syz-executor.0 88865 165735 16000 0 3 0x2000082 wait syz-fuzzer 88865 515802 16000 0 3 0x6000082 nanoslp syz-fuzzer 88865 49276 16000 0 3 0x6000082 wait syz-fuzzer 88865 515120 16000 0 3 0x6000082 wait syz-fuzzer 88865 28625 16000 0 3 0x6000082 kqread syz-fuzzer 88865 95589 16000 0 3 0x6000082 thrsleep syz-fuzzer 88865 356565 16000 0 3 0x6000082 wait syz-fuzzer 88865 438122 16000 0 3 0x6000082 thrsleep syz-fuzzer 88865 247046 16000 0 3 0x6000082 wait syz-fuzzer 88865 305090 16000 0 3 0x6000082 thrsleep syz-fuzzer 88865 49596 16000 0 3 0x6000082 thrsleep syz-fuzzer 88865 78329 16000 0 3 0x6000082 wait syz-fuzzer 88865 447608 16000 0 3 0x6000082 wait syz-fuzzer 88865 80531 16000 0 3 0x6000082 wait syz-fuzzer 88865 266716 16000 0 3 0x6000082 thrsleep syz-fuzzer 16000 218406 21846 0 3 0x10008a sigsusp ksh 21846 499023 6028 0 3 0x9a kqread sshd 18896 261017 1 0 3 0x100083 ttyin getty 6028 31225 1 0 3 0x88 kqread sshd 48425 230769 70915 74 3 0x1100092 bpf pflogd 70915 335805 1 0 3 0x80 netio pflogd 29343 341594 36927 73 3 0x1100090 kqread syslogd 36927 160918 1 0 3 0x100082 netio syslogd 34086 250448 1 0 3 0x100080 kqread resolvd 36879 70272 1465 77 3 0x100092 kqread dhcpleased 70034 122033 1465 77 3 0x100092 kqread dhcpleased 1465 413661 1 0 3 0x80 kqread dhcpleased 24317 190575 0 0 3 0x14200 bored smr 68527 104697 0 0 2 0x14200 zerothread 48480 280834 0 0 3 0x14200 aiodoned aiodoned 14921 362296 0 0 3 0x14200 syncer update 42954 179833 0 0 3 0x14200 cleaner cleaner 95376 415449 0 0 7 0x14200 reaper 11499 82941 0 0 3 0x14200 pgdaemon pagedaemon 59179 185745 0 0 3 0x14200 bored viomb 24723 290087 0 0 3 0x40014200 acpi0 acpi0 27901 315571 0 0 3 0x40014200 idle1 44156 426056 0 0 3 0x14200 bored softnet3 44969 71769 0 0 3 0x14200 bored softnet2 41950 114534 0 0 3 0x14200 bored softnet1 20477 372157 0 0 2 0x14200 softnet0 28770 422529 0 0 3 0x14200 bored systqmp 46804 309365 0 0 3 0x14200 bored systq 93819 106469 0 0 3 0x40014200 bored softclock 44595 143326 0 0 3 0x40014200 idle0 1 332043 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 10208 6613K 7640K 78643K 21920 0 pcb 13 13K 15K 78643K 149 0 rtable 249 7K 7K 78643K 600 0 pf 34 9K 10K 78643K 104 0 ifaddr 46 16K 16K 78643K 83 0 ifgroup 57 2K 2K 78643K 146 0 sysctl 3 1K 1K 78643K 8 0 counters 62 36K 36K 78643K 112 0 ioctlops 0 0K 4K 78643K 1516 0 iov 0 0K 16K 78643K 217 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1415 88K 89K 78643K 3911 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 35 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 89K 78643K 2428 0 sigio 0 0K 0K 78643K 52 0 proc 70 91K 115K 78643K 753 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 529 0 in_multi 99 7K 7K 78643K 143 0 ether_multi 1 0K 0K 78643K 1 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 617 0 pfkey data 0 0K 0K 78643K 2 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 363 89K 105K 78643K 26456 0 UVM aobj 52 3K 3K 78643K 52 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 101 0 NDP 13 0K 0K 78643K 58 0 temp 74 5920K 6040K 78643K 21799 0 kqueue 12 18K 32K 78643K 179 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 64 0 61 1 0 1 1 0 8 0 rtentry 112 179 0 63 4 0 4 4 0 8 0 unpcb 144 1655 0 1640 23 19 4 6 0 8 3 syncache 304 24 0 24 7 7 0 1 0 8 0 tcpqe 32 232 0 232 5 5 0 1 0 8 0 tcpcb 808 625 0 617 17 15 2 8 0 8 0 arp 120 22 0 4 1 0 1 1 0 8 0 inpcb 368 1785 0 1770 31 25 6 14 0 8 4 nd6 136 41 0 11 2 0 2 2 0 8 0 pkpcb 40 8 0 8 2 2 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1256 11 0 10 3 2 1 1 0 8 0 pffrag 232 12 0 12 1 1 0 1 0 482 0 pffrnode 88 12 0 12 1 1 0 1 0 8 0 pffrent 40 51 0 51 1 1 0 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 147 0 103 1 0 1 1 0 8 0 pfstkey 128 149 0 105 3 1 2 2 0 8 0 pfstate 376 149 0 103 8 3 5 6 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 588 0 118 32 2 30 30 0 8 0 art_table 32 589 0 118 4 0 4 4 0 8 0 art_node 16 143 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 87 0 71 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 49 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4406 0 2938 92 0 92 92 0 8 0 ffsino 272 4406 0 2938 98 0 98 98 0 8 0 nchpl 144 7628 0 5970 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 26862 0 26862 2 1 1 2 0 8 1 percpumem 16 69 0 25 1 0 1 1 0 8 0 vmpool 696 4 0 4 1 1 0 1 0 8 0 kstatmem 264 76 0 50 2 0 2 2 0 8 0 scxspl 216 23460 0 23460 14 13 1 8 1 8 1 plimitpl 152 277 0 261 1 0 1 1 0 8 0 sigapl 424 2746 0 2698 8 2 6 7 0 8 0 futexpl 64 20911 0 20909 1 0 1 1 0 8 0 knotepl 120 286 0 0 7 0 7 7 0 8 0 kqueuepl 216 289 0 281 3 2 1 3 0 8 0 pipepl 320 633 0 605 19 16 3 8 0 8 0 fdescpl 496 2727 0 2698 5 0 5 5 0 8 1 filepl 152 15854 0 15610 42 28 14 18 0 8 2 lockfpl 104 3293 0 3291 10 8 2 4 0 8 1 lockfspl 48 1603 0 1601 3 2 1 2 0 8 0 sessionpl 144 26 0 9 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 1495 0 1483 1 0 1 1 0 8 0 zombiepl 144 2700 0 2698 1 0 1 1 0 8 0 processpl 1072 2746 0 2698 4 0 4 4 0 8 0 procpl 680 6988 0 6921 9 2 7 8 0 8 0 sosppl 168 34 0 32 3 2 1 1 0 8 0 sockpl 488 3548 0 3515 81 68 13 22 0 8 8 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 267 0 0 34 3 31 34 0 8 0 mtagpl 96 556 0 0 14 0 14 14 0 8 0 mbufpl 256 1512 0 0 89 0 89 89 0 8 0 bufpl 288 7263 0 936 453 0 453 453 0 8 0 anonpl 24 406814 0 392466 170 65 105 115 0 186 5 amapchunkpl 152 83225 0 82304 48 8 40 40 0 158 3 amappl16 200 10291 0 9880 87 65 22 35 0 8 0 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 176 0 163 2 1 1 2 0 8 0 amappl13 176 13 0 12 1 0 1 1 0 8 0 amappl12 168 3437 0 3406 4 2 2 3 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 26 0 17 1 0 1 1 0 8 0 amappl9 144 222 0 220 1 0 1 1 0 8 0 amappl8 136 300 0 226 3 0 3 3 0 8 0 amappl7 128 68 0 55 2 0 2 2 0 8 0 amappl6 120 304 0 279 2 1 1 2 0 8 0 amappl5 112 278 0 266 1 0 1 1 0 8 0 amappl4 104 627 0 584 3 1 2 3 0 8 0 amappl3 96 16644 0 16558 4 1 3 3 0 8 0 amappl2 88 3086 0 3013 3 1 2 3 0 8 0 amappl1 80 18269 0 17714 24 11 13 23 0 8 0 amappl 88 25838 0 25598 7 0 7 7 0 92 1 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 51 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2731 0 2702 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2731 0 2702 1 0 1 1 0 8 0 vmmpekpl 168 25287 0 25233 3 0 3 3 0 8 0 vmmpepl 168 183141 0 180786 183 64 119 130 0 357 13 vmsppl 464 2730 0 2702 5 0 5 5 0 8 1 rwobjpl 56 57462 0 49967 110 3 107 107 0 8 0 pdppl 4096 5470 0 5404 264 194 70 82 0 8 4 pvpl 32 989385 0 969400 365 151 214 365 0 265 36 pmappl 248 2730 0 2702 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1140 0 246 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd806f115be0,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f115bd0) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000212817f8,fffffd806f115bd0,fffffd806f115c58,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000212817f8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000212817f8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000212817f8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000212817f8,ffff80002472f0f0,ffff80002472f140) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002472f1c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002472f1c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79bdf349de90, 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 __mp_lock(ffffffff82d8c508) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d8c508) at __mp_lock+0x122 sys/kern/kern_lock.c:147 reaper(ffff8000211b37f0) at reaper+0x160 sys/kern/kern_exit.c:454 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 __mp_lock(ffffffff82d8c508) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d8c508) at __mp_lock+0x122 sys/kern/kern_lock.c:147 reaper(ffff8000211b37f0) at reaper+0x160 sys/kern/kern_exit.c:454 end trace frame: 0x0, count: -5