uvm_fault(0xfffffd806393e598, 0x9, 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 284061 46372 0 0 0 0 syz-executor.6 witness_checkorder(fffffd806f061448,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f061438) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000295b3d48,fffffd806f061438,fffffd806f0614c0,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000295b3d48,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000295b3d48) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000295b3d48,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000295b3d48,ffff80002e23b890,ffff80002e23b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e23b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e23b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cc4d2a953a0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806393e598, 0x9, 0, 1) -> e ddb{1}> trace witness_checkorder(fffffd806f061448,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f061438) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000295b3d48,fffffd806f061438,fffffd806f0614c0,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000295b3d48,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000295b3d48) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000295b3d48,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000295b3d48,ffff80002e23b890,ffff80002e23b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e23b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e23b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cc4d2a953a0, count: -9 ddb{1}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e23b630 rbx 0xe rdx 0 rcx 0xffff8000295b3d48 rax 0xffff800020d58ff0 r8 0x1 r9 0x1 r10 0x237139bc71c6d2f2 r11 0xdabdf9828f163a25 r12 0 r13 0xfffffd806f061448 r14 0x1 r15 0xffff8000295b3d48 rip 0xffffffff8252c28c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e23b580 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> show proc PROC (syz-executor.0) pid=223774 stat=onproc flags process=1008 proc=2000 pri=0, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000261277f8,0xffff8000295b32b8 process=0xffff800026130888 user=0xffff80002e236000, vmspace=0xfffffd806393e598 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8539 207448 69439 0 2 0 syz-executor.1 8539 168029 69439 0 3 0x4000080 fsleep syz-executor.1 44909 19601 20250 0 2 0 syz-executor.2 44909 353273 20250 0 3 0x4000080 fsleep syz-executor.2 44909 516578 20250 0 2 0x4000000 syz-executor.2 46372 284061 43750 0 7 0 syz-executor.6 46372 242460 43750 0 2 0x4000000 syz-executor.6 46372 83243 43750 0 3 0x4000080 netio syz-executor.6 20250 339902 17567 0 3 0x82 nanoslp syz-executor.2 26500 284049 17567 0 3 0x82 nanoslp syz-executor.5 36276 7215 17567 0 3 0x82 nanoslp syz-executor.3 20482 164625 0 0 3 0x14280 nfsidl nfsio 62699 463699 0 0 3 0x14280 nfsidl nfsio 7304 152221 0 0 3 0x14280 nfsidl nfsio 99043 114725 0 0 3 0x14280 nfsidl nfsio 57376 381081 0 0 3 0x14280 nfsidl nfsio 22223 54175 0 0 3 0x14280 nfsidl nfsio 88362 218462 0 0 3 0x14280 nfsidl nfsio 20683 343572 0 0 3 0x14280 nfsidl nfsio 35185 357055 0 0 3 0x14280 nfsidl nfsio 73624 79065 0 0 3 0x14280 nfsidl nfsio 95555 363660 0 0 3 0x14280 nfsidl nfsio 28873 340170 0 0 3 0x14280 nfsidl nfsio 64900 475199 0 0 3 0x14280 nfsidl nfsio 59826 364737 0 0 3 0x14280 nfsidl nfsio 56017 351567 0 0 3 0x14280 nfsidl nfsio 33949 309860 0 0 3 0x14280 nfsidl nfsio 18151 317490 0 0 3 0x14280 nfsidl nfsio 98887 38431 0 0 3 0x14280 nfsidl nfsio 12064 240109 0 0 3 0x14280 nfsidl nfsio 61061 466216 0 0 3 0x14280 nfsidl nfsio 371 410237 0 0 3 0x14200 bored sosplice 43750 94621 17567 0 3 0x82 nanoslp syz-executor.6 50057 359005 17567 0 2 0x2 syz-executor.7 52822 75269 17567 0 3 0x82 nanoslp syz-executor.4 69439 118188 17567 0 3 0x82 nanoslp syz-executor.1 89317 461252 17567 0 3 0x82 nanoslp syz-executor.0 17567 161331 39614 0 3 0x2000082 kqread syz-fuzzer 17567 408496 39614 0 3 0x6000082 nanoslp syz-fuzzer 17567 400658 39614 0 3 0x6000082 wait syz-fuzzer 17567 461722 39614 0 3 0x6000082 wait syz-fuzzer 17567 467851 39614 0 3 0x6000082 wait syz-fuzzer 17567 135256 39614 0 3 0x6000082 wait syz-fuzzer 17567 418561 39614 0 3 0x6000082 wait syz-fuzzer 17567 219975 39614 0 3 0x6000082 thrsleep syz-fuzzer 17567 146530 39614 0 3 0x6000082 wait syz-fuzzer 17567 399971 39614 0 3 0x6000082 thrsleep syz-fuzzer 17567 399522 39614 0 3 0x6000082 thrsleep syz-fuzzer 17567 462772 39614 0 3 0x6000082 wait syz-fuzzer 17567 231470 39614 0 3 0x6000082 wait syz-fuzzer 17567 434920 39614 0 3 0x6000082 thrsleep syz-fuzzer 17567 32855 39614 0 3 0x6000082 thrsleep syz-fuzzer 39614 162403 64428 0 3 0x10008a sigsusp ksh 64428 265981 82272 0 3 0x9a kqread sshd 38289 142071 1 0 3 0x100083 ttyin getty 82272 504061 1 0 3 0x88 kqread sshd 76157 345675 80573 74 3 0x1100092 bpf pflogd 80573 262950 1 0 3 0x80 netio pflogd 26745 479112 51967 73 3 0x1100090 kqread syslogd 51967 245400 1 0 3 0x100082 netio syslogd 29030 451229 1 0 3 0x100080 kqread resolvd 55836 408145 40758 77 3 0x100092 kqread dhcpleased 62060 411660 40758 77 3 0x100092 kqread dhcpleased 40758 312333 1 0 3 0x80 kqread dhcpleased 32547 252025 0 0 3 0x14200 bored smr 22874 102728 0 0 2 0x14200 zerothread 85249 409062 0 0 3 0x14200 aiodoned aiodoned 53306 151446 0 0 3 0x14200 syncer update 19193 72084 0 0 3 0x14200 cleaner cleaner 84674 70674 0 0 2 0x14200 reaper 73821 42849 0 0 3 0x14200 pgdaemon pagedaemon 16634 308039 0 0 3 0x14200 bored viomb 79766 121510 0 0 3 0x40014200 acpi0 acpi0 79882 504930 0 0 3 0x40014200 idle1 36032 258273 0 0 3 0x14200 bored softnet3 12938 5419 0 0 3 0x14200 bored softnet2 7632 447206 0 0 3 0x14200 bored softnet1 79150 410212 0 0 3 0x14200 bored softnet0 4915 124021 0 0 3 0x14200 bored systqmp 24615 219580 0 0 3 0x14200 bored systq 37985 166199 0 0 3 0x40014200 bored softclock 2528 450063 0 0 3 0x40014200 idle0 1 239737 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 6494K 6878K 78643K 15886 0 pcb 13 12K 14K 78643K 204 0 rtable 243 7K 7K 78643K 694 0 pf 34 9K 10K 78643K 75 0 ifaddr 46 15K 15K 78643K 71 0 ifgroup 59 2K 2K 78643K 107 0 sysctl 2 0K 1K 78643K 8 0 counters 62 36K 36K 78643K 86 0 ioctlops 0 0K 4K 78643K 1646 0 iov 0 0K 16K 78643K 106 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1410 88K 88K 78643K 2826 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 30 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 289 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 83K 78643K 3143 0 sigio 0 0K 0K 78643K 69 0 proc 70 91K 115K 78643K 716 0 subproc 104 6K 6K 78643K 143 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 143 0 in_multi 99 7K 7K 78643K 147 0 ether_multi 1 0K 0K 78643K 4 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 145 652K 652K 78643K 145 0 exec 0 0K 1K 78643K 1094 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 340 87K 99K 78643K 33279 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 42 0 NDP 13 0K 1K 78643K 47 0 temp 74 5920K 6052K 78643K 17090 0 kqueue 12 18K 28K 78643K 260 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 198 0 195 4 3 1 3 0 8 0 rtentry 112 151 0 38 4 0 4 4 0 8 0 unpcb 144 1256 0 1239 14 13 1 6 0 8 0 syncache 304 17 0 17 6 5 1 1 0 8 1 tcpqe 32 2743 0 2743 5 5 0 2 0 8 0 tcpcb 808 528 0 518 27 26 1 8 0 8 0 arp 120 25 0 7 1 0 1 1 0 8 0 inpcb 368 1561 0 1546 53 46 7 8 0 8 5 nd6 136 39 0 12 1 0 1 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1256 3 0 3 1 0 1 1 0 8 1 pffrag 232 9 0 7 2 1 1 1 0 482 0 pffrnode 88 7 0 5 2 1 1 1 0 8 0 pffrent 40 28 0 26 2 1 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 111 0 85 1 0 1 1 0 8 0 pfstkey 128 111 0 85 1 0 1 1 0 8 0 pfstate 376 111 0 85 4 1 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 628 0 154 30 0 30 30 0 8 0 art_table 32 629 0 154 4 0 4 4 0 8 0 art_node 16 150 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 285 0 275 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 5975 0 4521 92 0 92 92 0 8 0 ffsino 272 5975 0 4521 98 0 98 98 0 8 0 nchpl 144 10480 0 8824 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 35048 0 35048 5 4 1 3 0 8 1 percpumem 16 56 0 12 1 0 1 1 0 8 0 vmpool 696 10 0 10 2 2 0 1 0 8 0 kstatmem 264 50 0 24 2 0 2 2 0 8 0 scxspl 216 32845 0 32845 15 14 1 8 1 8 1 plimitpl 152 237 0 221 1 0 1 1 0 8 0 sigapl 424 3480 0 3412 11 3 8 8 0 8 0 futexpl 64 23064 0 23062 1 0 1 1 0 8 0 knotepl 120 132 0 0 4 0 4 4 0 8 0 kqueuepl 216 545 0 537 8 7 1 5 0 8 0 pipepl 320 862 0 834 29 26 3 13 0 8 0 fdescpl 496 3442 0 3415 6 1 5 5 0 8 0 filepl 152 19852 0 19600 80 65 15 19 0 8 5 lockfpl 104 989 0 987 2 1 1 2 0 8 0 lockfspl 48 401 0 399 1 0 1 1 0 8 0 sessionpl 144 27 0 10 1 0 1 1 0 8 0 pgrppl 48 114 0 97 1 0 1 1 0 8 0 ucredpl 104 2971 0 2959 1 0 1 1 0 8 0 zombiepl 144 3416 0 3412 2 1 1 1 0 8 0 processpl 1072 3480 0 3412 6 1 5 5 0 8 0 procpl 680 8982 0 8894 18 9 9 9 0 8 0 sosppl 168 21 0 21 4 3 1 1 0 8 1 sockpl 488 3015 0 2979 103 91 12 20 0 8 7 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 16 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 388 0 0 47 6 41 47 0 8 0 mtagpl 96 358 0 0 9 0 9 9 0 8 0 mbufpl 256 1497 0 0 81 0 81 81 0 8 0 bufpl 288 9255 0 2931 453 0 453 453 0 8 0 anonpl 24 446905 0 433306 113 25 88 109 0 186 1 amapchunkpl 152 105642 0 104773 48 7 41 45 0 158 0 amappl16 200 9961 0 9557 49 26 23 33 0 8 0 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 178 0 164 2 1 1 2 0 8 0 amappl13 176 21 0 20 1 0 1 1 0 8 0 amappl12 168 4150 0 4120 4 2 2 2 0 8 0 amappl11 160 58 0 44 1 0 1 1 0 8 0 amappl10 152 36 0 25 1 0 1 1 0 8 0 amappl9 144 247 0 247 8 7 1 1 0 8 1 amappl8 136 270 0 201 3 0 3 3 0 8 0 amappl7 128 90 0 75 2 0 2 2 0 8 0 amappl6 120 282 0 262 2 1 1 2 0 8 0 amappl5 112 263 0 251 1 0 1 1 0 8 0 amappl4 104 664 0 616 3 1 2 3 0 8 0 amappl3 96 21037 0 20958 5 2 3 3 0 8 0 amappl2 88 3792 0 3725 3 1 2 3 0 8 0 amappl1 80 20684 0 20132 23 10 13 23 0 8 0 amappl 88 32638 0 32417 8 2 6 6 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 3452 0 3425 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3452 0 3425 1 0 1 1 0 8 0 vmmpekpl 168 31839 0 31778 3 0 3 3 0 8 0 vmmpepl 168 222674 0 220426 223 115 108 140 0 357 0 vmsppl 464 3451 0 3425 6 1 5 5 0 8 0 rwobjpl 56 65151 0 57591 111 3 108 108 0 8 0 pdppl 4096 6912 0 6850 368 298 70 80 0 8 8 pvpl 32 1160008 0 1140579 366 199 167 358 0 265 1 pmappl 248 3451 0 3425 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1292 0 392 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c40ff0) 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(ffffffff82cad3f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x702f417f0ae0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82c40ff0) 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(ffffffff82cad3f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82cad3f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x702f417f0ae0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx witness_checkorder(fffffd806f061448,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f061438) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000295b3d48,fffffd806f061438,fffffd806f0614c0,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000295b3d48,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000295b3d48) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000295b3d48,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000295b3d48,ffff80002e23b890,ffff80002e23b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e23b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e23b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cc4d2a953a0, count: 6 ddb{1}> trace witness_checkorder(fffffd806f061448,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f061438) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000295b3d48,fffffd806f061438,fffffd806f0614c0,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000295b3d48,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000295b3d48) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000295b3d48,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000295b3d48,ffff80002e23b890,ffff80002e23b8e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e23b960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e23b960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cc4d2a953a0, count: -9