uvm_fault(0xfffffd8068eb6598, 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 8487 58047 32767 0x10 0 1 syz-executor.1 witness_checkorder(fffffd806f0f3a30,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0f3a20) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ef2a8,fffffd806f0f3a20,fffffd806f0f3aa8,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ef2a8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ef2a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ef2a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ef2a8,ffff80002e4150e0,ffff80002e415130) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4151b0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4151b0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9813f4c890, 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(0xfffffd8068eb6598, 0x8, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd806f0f3a30,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0f3a20) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ef2a8,fffffd806f0f3a20,fffffd806f0f3aa8,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ef2a8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ef2a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ef2a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ef2a8,ffff80002e4150e0,ffff80002e415130) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4151b0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4151b0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9813f4c890, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e414e80 rbx 0xe rdx 0 rcx 0xffff8000211ef2a8 rax 0xffffffff82bbdff0 cpu_info_full_primary+0x1ff0 r8 0x22 r9 0 r10 0xffff800022d02d50 r11 0x895101ba303c7381 r12 0 r13 0xfffffd806f0f3a30 r14 0 r15 0xffff8000211ef2a8 rip 0xffffffff81a26f5c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e414dd0 ss 0 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.3) pid=403668 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff80002127cd48,0xffff80002121b7f8 process=0xffff8000263750e0 user=0xffff80002e410000, vmspace=0xfffffd8068eb6598 estcpu=20, cpticks=5, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58376 519963 47608 32767 2 0x10 syz-executor.5 58376 494214 47608 32767 2 0x4000010 syz-executor.5 28259 378336 56323 32767 2 0x10 syz-executor.0 28259 190866 56323 32767 3 0x4000090 fsleep syz-executor.0 28259 170736 56323 32767 2 0x4000010 syz-executor.0 58047 8487 24702 32767 7 0x10 syz-executor.1 58047 335047 24702 32767 2 0x4000090 syz-executor.1 19957 471555 88205 32767 2 0x10 syz-executor.7 19957 212041 88205 32767 3 0x4000090 fifow syz-executor.7 87931 474614 92221 32767 3 0x90 nanoslp syz-executor.4 92221 380267 85024 0 3 0x82 wait syz-executor.4 47608 3387 72223 32767 3 0x90 nanoslp syz-executor.5 72223 181806 85024 0 3 0x82 wait syz-executor.5 47676 400471 94200 32767 2 0x10 syz-executor.2 94200 291248 85024 0 3 0x82 wait syz-executor.2 24702 516453 3739 32767 3 0x90 nanoslp syz-executor.1 3739 37180 85024 0 3 0x82 wait syz-executor.1 24494 347172 10307 32767 3 0x90 nanoslp syz-executor.3 10307 208008 85024 0 3 0x82 wait syz-executor.3 58064 192709 0 0 3 0x14200 bored sosplice 88205 326175 2786 32767 3 0x90 nanoslp syz-executor.7 71614 79441 94938 32767 2 0x10 syz-executor.6 2786 40182 85024 0 3 0x82 wait syz-executor.7 94938 87478 85024 0 3 0x82 wait syz-executor.6 56323 395885 32323 32767 2 0x10 syz-executor.0 32323 490074 85024 0 3 0x82 wait syz-executor.0 85024 43044 60021 0 3 0x2000082 thrsleep syz-fuzzer 85024 30143 60021 0 3 0x6000082 nanoslp syz-fuzzer 85024 75056 60021 0 3 0x6000082 kqread syz-fuzzer 85024 55220 60021 0 3 0x6000082 wait syz-fuzzer 85024 222436 60021 0 3 0x6000082 wait syz-fuzzer 85024 266726 60021 0 3 0x6000082 wait syz-fuzzer 85024 107691 60021 0 3 0x6000082 thrsleep syz-fuzzer 85024 369852 60021 0 3 0x6000082 wait syz-fuzzer 85024 309775 60021 0 3 0x6000082 thrsleep syz-fuzzer 85024 374876 60021 0 3 0x6000082 thrsleep syz-fuzzer 85024 199832 60021 0 3 0x6000082 thrsleep syz-fuzzer 85024 287618 60021 0 3 0x6000082 wait syz-fuzzer 85024 204575 60021 0 2 0x6000002 syz-fuzzer 85024 486749 60021 0 3 0x6000082 wait syz-fuzzer 85024 376698 60021 0 3 0x6000082 wait syz-fuzzer 85024 258614 60021 0 3 0x6000082 wait syz-fuzzer 60021 160239 89500 0 3 0x10008a sigsusp ksh 89500 61010 81911 0 3 0x9a kqread sshd 83690 483385 1 0 3 0x100083 ttyin getty 81911 346507 1 0 3 0x88 kqread sshd 86211 316293 76388 73 3 0x1100090 kqread syslogd 76388 370476 1 0 3 0x100082 netio syslogd 93525 375399 1 0 3 0x100080 kqread resolvd 44419 449622 62939 77 3 0x100092 kqread dhcpleased 77619 494769 62939 77 3 0x100092 kqread dhcpleased 62939 214500 1 0 3 0x80 kqread dhcpleased 76418 154872 0 0 3 0x14200 bored smr 8781 230802 0 0 2 0x14200 zerothread 77992 302556 0 0 3 0x14200 aiodoned aiodoned 50153 168222 0 0 3 0x14200 syncer update 10782 297149 0 0 3 0x14200 cleaner cleaner 37008 143965 0 0 3 0x14200 reaper reaper 93341 318953 0 0 3 0x14200 pgdaemon pagedaemon 34172 145708 0 0 3 0x14200 bored viomb 90113 376414 0 0 3 0x40014200 acpi0 acpi0 79787 387262 0 0 3 0x40014200 idle1 24976 66964 0 0 3 0x14200 bored softnet3 99785 438879 0 0 3 0x14200 bored softnet2 11997 430202 0 0 3 0x14200 bored softnet1 13157 78674 0 0 3 0x14200 bored softnet0 12977 408425 0 0 3 0x14200 bored systqmp 88628 234486 0 0 3 0x14200 bored systq 53338 89125 0 0 3 0x40014200 bored softclock 14214 369374 0 0 3 0x40014200 idle0 1 491422 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 sleep_finish+0x142 sys/kern/kern_synch.c:398 #2 msleep+0xea sys/kern/kern_synch.c:249 #3 reaper+0xdb sys/kern/kern_exit.c:437 #4 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10220 6413K 6420K 78643K 11366 0 pcb 13 16K 20K 78643K 19 0 rtable 242 6K 7K 78643K 1726 0 pf 29 8K 8K 78643K 73 0 ifaddr 44 15K 16K 78643K 138 0 ifgroup 50 2K 2K 78643K 138 0 sysctl 2 0K 2K 78643K 5 0 counters 60 35K 35K 78643K 104 0 ioctlops 0 0K 2K 78643K 260 0 iov 0 0K 16K 78643K 1854 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1280 80K 80K 78643K 7338 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 171 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1946 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 121K 78643K 14000 0 sigio 0 0K 0K 78643K 195 0 proc 56 78K 127K 78643K 1886 0 subproc 104 6K 6K 78643K 390 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 1K 78643K 3849 0 in_multi 99 7K 7K 78643K 853 0 ether_multi 1 0K 0K 78643K 4 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 259 1155K 1155K 78643K 259 0 exec 0 0K 1K 78643K 2619 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 466 95K 109K 78643K 139964 0 UVM aobj 131 4K 4K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 365 0 NDP 11 0K 2K 78643K 93 0 temp 74 5920K 6004K 78643K 36671 0 kqueue 12 18K 52K 78643K 4734 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 836 0 833 11 10 1 5 0 8 0 rtentry 112 391 0 277 4 0 4 4 0 8 0 unpcb 144 11401 0 11386 114 113 1 10 0 8 0 syncache 304 224 0 224 22 22 0 1 0 8 0 tcpqe 32 326 0 326 23 23 0 1 0 8 0 tcpcb 808 10579 0 10549 186 179 7 27 0 8 1 arp 120 65 0 46 1 0 1 1 0 8 0 ipq 40 16 0 16 6 6 0 1 0 8 0 ipqe 40 49 0 49 6 6 0 1 0 8 0 inpcb 368 18006 0 17967 166 158 8 25 0 8 0 nd6 136 125 0 98 2 1 1 2 0 8 0 kcovpl 48 30 0 22 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1565 0 1095 34 4 30 30 0 8 0 art_table 32 1566 0 1095 4 0 4 4 0 8 0 art_node 16 390 0 286 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1944 0 1934 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 22707 0 21247 92 0 92 92 0 8 0 ffsino 272 22707 0 21247 98 0 98 98 0 8 0 nchpl 144 41356 0 39711 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 155138 0 155138 8 7 1 3 0 8 1 percpumem 16 65 0 22 1 0 1 1 0 8 0 kstatmem 264 66 0 44 2 0 2 2 0 8 0 scxspl 216 124176 0 124176 38 37 1 8 1 8 1 plimitpl 152 2613 0 2590 15 14 1 2 0 8 0 sigapl 424 14240 0 14187 7 0 7 7 0 8 0 futexpl 64 127060 0 127059 6 5 1 1 0 8 0 knotepl 120 861 0 0 19 2 17 18 0 8 0 kqueuepl 216 18997 0 18989 148 147 1 12 0 8 0 pipepl 320 3186 0 3158 74 71 3 11 0 8 0 fdescpl 496 14222 0 14188 7 2 5 6 0 8 0 filepl 152 133643 0 133408 190 180 10 24 0 8 0 lockfpl 104 1767 0 1765 2 1 1 2 0 8 0 lockfspl 48 625 0 623 1 0 1 1 0 8 0 sessionpl 144 45 0 29 1 0 1 1 0 8 0 pgrppl 48 279 0 263 1 0 1 1 0 8 0 ucredpl 104 37050 0 37032 1 0 1 1 0 8 0 zombiepl 144 14189 0 14187 1 0 1 1 0 8 0 processpl 1072 14240 0 14187 5 0 5 5 0 8 0 procpl 680 39640 0 39567 31 23 8 8 0 8 0 sosppl 168 203 0 203 15 15 0 1 0 8 0 sockpl 488 30717 0 30665 515 504 11 36 0 8 0 mcl64k 65536 31 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 3 0 3 3 0 8 0 mcl4k 4096 105 0 0 10 7 3 9 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 472 0 0 32 13 19 32 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 1670 0 0 62 0 62 62 0 8 0 bufpl 288 26764 0 20438 453 0 453 453 0 8 0 anonpl 24 1461466 0 1449940 268 178 90 102 0 186 0 amapchunkpl 152 445249 0 444382 136 98 38 51 0 158 1 amappl16 200 29962 0 29646 179 161 18 31 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 248 0 233 2 1 1 2 0 8 0 amappl13 176 15 0 15 1 1 0 1 0 8 0 amappl12 168 15173 0 15137 2 0 2 2 0 8 0 amappl11 160 68 0 57 1 0 1 1 0 8 0 amappl10 152 69 0 56 1 0 1 1 0 8 0 amappl9 144 265 0 264 1 0 1 1 0 8 0 amappl8 136 1026 0 808 8 0 8 8 0 8 0 amappl7 128 142 0 128 2 1 1 2 0 8 0 amappl6 120 504 0 482 2 1 1 2 0 8 0 amappl5 112 571 0 560 1 0 1 1 0 8 0 amappl4 104 1122 0 1082 3 1 2 3 0 8 0 amappl3 96 86817 0 86722 6 3 3 4 0 8 0 amappl2 88 15409 0 15332 4 2 2 4 0 8 0 amappl1 80 58605 0 58077 22 9 13 22 0 8 0 amappl 88 138733 0 138472 9 2 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 14222 0 14188 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 14222 0 14188 1 0 1 1 0 8 0 vmmpekpl 168 115780 0 115717 4 0 4 4 0 8 0 vmmpepl 168 835318 0 832802 290 171 119 133 0 357 1 vmsppl 464 14221 0 14188 7 2 5 6 0 8 0 rwobjpl 56 212367 0 204823 123 13 110 111 0 8 0 pdppl 4096 28452 0 28376 471 389 82 96 0 8 6 pvpl 32 4246312 0 4228379 650 471 179 361 0 265 16 pmappl 248 14221 0 14188 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1659 0 782 27 1 26 27 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd806f0f3a30,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0f3a20) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211ef2a8,fffffd806f0f3a20,fffffd806f0f3aa8,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211ef2a8,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211ef2a8) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211ef2a8,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211ef2a8,ffff80002e4150e0,ffff80002e415130) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4151b0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4151b0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9813f4c890, 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: 0x7343c0624e50, 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: 0x7343c0624e50, count: -3