uvm_fault(0xfffffd806994b588, 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 498032 60270 0 0x2 0 1 syz-executor.2 witness_checkorder(fffffd807e82d0e8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e82d0d8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021289540,fffffd807e82d0d8,fffffd807e82d160,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021289540,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021289540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021289540,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021289540,ffff80002e4a35d0,ffff80002e4a3620) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4a36a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4a36a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x773c171b33f0, 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(0xfffffd806994b588, 0x8, 0, 1) -> e ddb{0}> trace witness_checkorder(fffffd807e82d0e8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e82d0d8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021289540,fffffd807e82d0d8,fffffd807e82d160,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021289540,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021289540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021289540,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021289540,ffff80002e4a35d0,ffff80002e4a3620) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4a36a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4a36a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x773c171b33f0, count: -9 ddb{0}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e4a3370 rbx 0xe rdx 0 rcx 0xffff800021289540 rax 0xffffffff82bd4ff0 cpu_info_full_primary+0x1ff0 r8 0x1 r9 0 r10 0xa1a970d49db0b21 r11 0xc1d39d16b5d22d89 r12 0 r13 0xfffffd807e82d0e8 r14 0 r15 0xffff800021289540 rip 0xffffffff8138576c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e4a32c0 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{0}> show proc PROC (syz-executor.5) pid=406975 stat=onproc flags process=1008 proc=2000 pri=0, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002120f010,0xffff8000212752a8 process=0xffff80002128c878 user=0xffff80002e49e000, vmspace=0xfffffd806994b588 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 27087 38619 73582 0 2 0 syz-executor.7 82153 169938 86071 0 2 0 syz-executor.1 82153 395126 86071 0 2 0x4000000 syz-executor.1 66281 281324 27949 0 2 0 syz-executor.3 66281 478886 27949 0 2 0x4000000 syz-executor.3 48134 265884 88109 0 2 0 syz-executor.6 48134 35741 88109 0 2 0x4000480 syz-executor.6 48134 461778 88109 0 2 0x4000480 syz-executor.6 48134 403036 88109 0 3 0x4000080 fsleep syz-executor.6 38434 522129 48167 0 2 0x482 syz-executor.4 73582 131935 48167 0 2 0x482 syz-executor.7 55794 37074 0 0 3 0x14280 nfsidl nfsio 21215 425586 0 0 3 0x14280 nfsidl nfsio 63160 154245 0 0 3 0x14280 nfsidl nfsio 7799 49124 0 0 3 0x14280 nfsidl nfsio 63476 218591 0 0 3 0x14280 nfsidl nfsio 58620 117539 0 0 3 0x14280 nfsidl nfsio 1538 63709 0 0 3 0x14280 nfsidl nfsio 31561 262307 0 0 3 0x14280 nfsidl nfsio 85368 240481 0 0 3 0x14280 nfsidl nfsio 98941 240423 0 0 3 0x14280 nfsidl nfsio 70873 315490 0 0 3 0x14280 nfsidl nfsio 54041 57459 0 0 3 0x14280 nfsidl nfsio 27210 55787 0 0 3 0x14280 nfsidl nfsio 52788 502618 0 0 3 0x14280 nfsidl nfsio 66238 90673 0 0 3 0x14280 nfsidl nfsio 84984 496506 0 0 3 0x14280 nfsidl nfsio 12361 400440 0 0 3 0x14280 nfsidl nfsio 91876 397843 0 0 3 0x14280 nfsidl nfsio 32298 123602 0 0 3 0x14280 nfsidl nfsio 95173 251803 0 0 3 0x14280 nfsidl nfsio 3688 395234 48167 0 3 0x82 nanoslp syz-executor.5 79299 88972 48167 0 2 0x2 syz-executor.0 86071 28596 48167 0 2 0x482 syz-executor.1 2759 125550 0 0 3 0x14200 bored sosplice 88109 283370 48167 0 2 0x482 syz-executor.6 60270 498032 48167 0 7 0x2 syz-executor.2 27949 496099 48167 0 2 0x482 syz-executor.3 48167 48364 81990 0 3 0x2000082 thrsleep syz-fuzzer 48167 520596 81990 0 3 0x6000082 nanoslp syz-fuzzer 48167 47372 81990 0 3 0x6000082 thrsleep syz-fuzzer 48167 469902 81990 0 3 0x6000082 wait syz-fuzzer 48167 46422 81990 0 3 0x6000082 wait syz-fuzzer 48167 464609 81990 0 3 0x6000082 wait syz-fuzzer 48167 121817 81990 0 3 0x6000082 wait syz-fuzzer 48167 495485 81990 0 3 0x6000082 wait syz-fuzzer 48167 257325 81990 0 2 0x6000082 syz-fuzzer 48167 65972 81990 0 3 0x6000082 kqread syz-fuzzer 48167 433152 81990 0 3 0x6000082 thrsleep syz-fuzzer 48167 296207 81990 0 3 0x6000082 thrsleep syz-fuzzer 48167 271154 81990 0 3 0x6000082 wait syz-fuzzer 48167 451671 81990 0 3 0x6000082 wait syz-fuzzer 48167 53433 81990 0 3 0x6000082 wait syz-fuzzer 81990 5506 47393 0 3 0x10008a sigsusp ksh 47393 36899 38101 0 3 0x9a kqread sshd 1275 410577 1 0 3 0x100083 ttyin getty 38101 7559 1 0 3 0x88 kqread sshd 94146 327103 34693 74 3 0x1100092 bpf pflogd 34693 9278 1 0 3 0x80 netio pflogd 15121 237592 2566 73 3 0x1100090 kqread syslogd 2566 474167 1 0 3 0x100082 netio syslogd 29173 300060 1 0 3 0x100080 kqread resolvd 73401 103402 93341 77 3 0x100092 kqread dhcpleased 68223 276311 93341 77 3 0x100092 kqread dhcpleased 93341 157061 1 0 3 0x80 kqread dhcpleased 63963 221849 0 0 3 0x14200 bored smr 94035 208773 0 0 2 0x14200 zerothread 70512 311804 0 0 3 0x14200 aiodoned aiodoned 18048 32498 0 0 3 0x14200 syncer update 23528 463014 0 0 3 0x14200 cleaner cleaner 15226 145261 0 0 2 0x14200 reaper 63287 135476 0 0 3 0x14200 pgdaemon pagedaemon 61354 187442 0 0 3 0x14200 bored viomb 73423 168924 0 0 3 0x40014200 acpi0 acpi0 80192 359287 0 0 3 0x40014200 idle1 66748 407457 0 0 3 0x14200 bored softnet3 49104 129321 0 0 3 0x14200 bored softnet2 73976 124634 0 0 3 0x14200 bored softnet1 63326 278539 0 0 2 0x14200 softnet0 83224 109569 0 0 3 0x14200 bored systqmp 3025 332474 0 0 3 0x14200 bored systq 24483 514611 0 0 2 0x40014200 softclock 20674 128027 0 0 3 0x40014200 idle0 1 266491 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 10201 6503K 6938K 78643K 14880 0 pcb 13 13K 15K 78643K 238 0 rtable 243 7K 7K 78643K 544 0 pf 32 9K 10K 78643K 126 0 ifaddr 45 15K 16K 78643K 106 0 ifgroup 55 2K 2K 78643K 190 0 sysctl 2 0K 0K 78643K 4 0 counters 60 35K 36K 78643K 140 0 ioctlops 0 0K 4K 78643K 1694 0 iov 2 0K 16K 78643K 238 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1395 87K 88K 78643K 2850 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 526 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2612 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 93K 78643K 5703 0 sigio 2 0K 0K 78643K 2775 0 proc 70 91K 140K 78643K 844 0 subproc 104 6K 6K 78643K 169 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 117 0 in_multi 99 7K 7K 78643K 175 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 955 0 pfkey data 0 0K 0K 78643K 4 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 389 97K 115K 78643K 58174 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 60 0 NDP 12 0K 1K 78643K 78 0 temp 74 5920K 5994K 78643K 22821 0 kqueue 12 18K 22K 78643K 196 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 211 0 208 5 4 1 3 0 8 0 rtentry 112 173 0 60 4 0 4 4 0 8 0 unpcb 144 9095 0 9077 42 41 1 6 0 8 0 syncache 304 41 0 41 10 9 1 1 0 8 1 tcpqe 32 250 0 250 6 6 0 1 0 8 0 tcpcb 808 915 0 902 29 27 2 8 0 8 0 arp 120 30 0 11 1 0 1 1 0 8 0 inpcb 368 2055 0 2037 49 47 2 11 0 8 0 nd6 136 44 0 18 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1256 14 0 14 3 3 0 1 0 8 0 pffrag 232 10 0 10 3 3 0 1 0 482 0 pffrnode 88 10 0 10 3 3 0 1 0 8 0 pffrent 40 127 0 127 4 4 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 110 0 107 1 0 1 1 0 8 0 pfstkey 128 110 0 107 1 0 1 1 0 8 0 pfstate 376 110 0 107 5 3 2 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 705 0 242 29 0 29 29 0 8 0 art_table 32 706 0 242 4 0 4 4 0 8 0 art_node 16 172 0 69 1 0 1 1 0 8 0 sysvmsgpl 40 97 0 57 1 0 1 1 0 8 0 semapl 112 2610 0 2600 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9356 0 7897 92 0 92 92 0 8 0 ffsino 272 9356 0 7897 98 0 98 98 0 8 0 nchpl 144 18678 0 17023 64 0 64 64 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 54991 0 54991 3 2 1 2 0 8 1 percpumem 16 83 0 40 1 0 1 1 0 8 0 vmpool 696 8 0 8 2 2 0 1 0 8 0 kstatmem 264 104 0 80 2 0 2 2 0 8 0 scxspl 216 51556 0 51556 14 13 1 8 1 8 1 plimitpl 152 1170 0 1153 1 0 1 1 0 8 0 sigapl 424 6039 0 5972 10 2 8 8 0 8 0 futexpl 64 76201 0 76200 2 1 1 1 0 8 0 knotepl 120 232 0 0 7 1 6 7 0 8 0 kqueuepl 216 496 0 488 11 10 1 5 0 8 0 pipepl 320 713 0 685 21 18 3 8 0 8 0 fdescpl 496 6001 0 5973 5 1 4 5 0 8 0 filepl 152 33044 0 32796 62 52 10 19 0 8 0 lockfpl 104 1241 0 1239 6 5 1 2 0 8 0 lockfspl 48 384 0 382 1 0 1 1 0 8 0 sessionpl 144 29 0 12 1 0 1 1 0 8 0 pgrppl 48 45 0 28 1 0 1 1 0 8 0 ucredpl 104 6809 0 6796 1 0 1 1 0 8 0 zombiepl 144 5974 0 5972 1 0 1 1 0 8 0 processpl 1072 6039 0 5972 5 0 5 5 0 8 0 procpl 680 16042 0 15955 13 5 8 9 0 8 0 sosppl 168 31 0 30 6 5 1 1 0 8 0 sockpl 488 11379 0 11341 204 199 5 34 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 13 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 333 0 0 37 7 30 37 0 8 1 mtagpl 96 228 0 0 6 0 6 6 0 8 0 mbufpl 256 646 0 0 34 0 34 34 0 8 0 bufpl 288 12143 0 5816 453 0 453 453 0 8 0 anonpl 24 656688 0 643021 182 93 89 158 0 186 0 amapchunkpl 152 183273 0 182367 82 43 39 62 0 158 0 amappl16 200 13432 0 13115 63 46 17 30 0 8 0 amappl15 192 13 0 11 1 0 1 1 0 8 0 amappl14 184 177 0 162 2 1 1 2 0 8 0 amappl13 176 19 0 19 3 3 0 1 0 8 0 amappl12 168 6752 0 6723 3 1 2 2 0 8 0 amappl11 160 147 0 132 1 0 1 1 0 8 0 amappl10 152 44 0 31 1 0 1 1 0 8 0 amappl9 144 201 0 200 1 0 1 1 0 8 0 amappl8 136 340 0 247 4 0 4 4 0 8 0 amappl7 128 114 0 100 2 0 2 2 0 8 0 amappl6 120 290 0 269 2 1 1 2 0 8 0 amappl5 112 273 0 261 1 0 1 1 0 8 0 amappl4 104 697 0 651 3 1 2 3 0 8 0 amappl3 96 36456 0 36377 4 1 3 3 0 8 0 amappl2 88 6576 0 6504 3 1 2 3 0 8 0 amappl1 80 30258 0 29706 23 11 12 23 0 8 0 amappl 88 57482 0 57232 8 1 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 6009 0 5981 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6009 0 5981 1 0 1 1 0 8 0 vmmpekpl 168 46222 0 46153 4 0 4 4 0 8 0 vmmpepl 168 367854 0 365609 185 80 105 125 0 357 0 vmsppl 464 6008 0 5981 5 1 4 5 0 8 0 rwobjpl 56 98423 0 90924 118 10 108 110 0 8 0 pdppl 4096 12026 0 11962 321 251 70 84 0 8 6 pvpl 32 1856442 0 1836527 510 342 168 367 0 265 0 pmappl 248 6008 0 5981 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1179 0 344 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace witness_checkorder(fffffd807e82d0e8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd807e82d0d8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021289540,fffffd807e82d0d8,fffffd807e82d160,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021289540,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021289540) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021289540,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021289540,ffff80002e4a35d0,ffff80002e4a3620) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4a36a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4a36a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x773c171b33f0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x29 kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x29 sys/dev/kcov.c:158 __mp_lock(ffffffff82cdebd8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cdebd8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 syscall(ffff80002472f9f0) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002472f9f0) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d2ba4bb07a0, count: 8 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x29 kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x29 sys/dev/kcov.c:158 __mp_lock(ffffffff82cdebd8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cdebd8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 syscall(ffff80002472f9f0) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002472f9f0) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d2ba4bb07a0, count: -7