uvm_fault(0xfffffd8063dc3598, 0x7, 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 285740 26127 32767 0x10 0 0 syz-executor.7 witness_checkorder(fffffd806f1ade68,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f1ade58) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021288aa0,fffffd806f1ade58,fffffd806f1adee0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021288aa0,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021288aa0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021288aa0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021288aa0,ffff80002c9cda50,ffff80002c9cdaa0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002c9cdb20) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002c9cdb20) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7089dd003ea0, 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(0xfffffd8063dc3598, 0x7, 0, 1) -> e ddb{1}> trace witness_checkorder(fffffd806f1ade68,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f1ade58) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021288aa0,fffffd806f1ade58,fffffd806f1adee0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021288aa0,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021288aa0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021288aa0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021288aa0,ffff80002c9cda50,ffff80002c9cdaa0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002c9cdb20) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002c9cdb20) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7089dd003ea0, count: -9 ddb{1}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002c9cd7f0 rbx 0xe rdx 0 rcx 0xffff800021288aa0 rax 0xffff800020d58ff0 r8 0 r9 0x1 r10 0 r11 0x1ffc797795a2f0a8 r12 0 r13 0xfffffd806f1ade68 r14 0xffffffffffffffff r15 0xffff800021288aa0 rip 0xffffffff826c515c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c9cd740 ss 0 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> show proc PROC (syz-executor.3) pid=147427 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002129a800,0xffff8000212897f8 process=0xffff8000ffff50d8 user=0xffff80002c9c8000, vmspace=0xfffffd8063dc3598 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77450 62359 90488 32767 2 0x10 syz-executor.4 68594 155062 26127 32767 2 0x10 syz-executor.7 89955 320261 87504 32767 2 0x10 syz-executor.0 11969 195289 11036 32767 2 0x10 syz-executor.6 11969 508800 11036 32767 3 0x4000090 fsleep syz-executor.6 11969 267604 11036 32767 2 0x4000010 syz-executor.6 26127 285740 5708 32767 7 0x10 syz-executor.7 5708 485637 40401 0 3 0x82 wait syz-executor.7 50093 128349 15940 32767 2 0x10 syz-executor.5 15940 295803 40401 0 3 0x82 wait syz-executor.5 80583 31561 0 0 3 0x14200 bored sosplice 11036 12153 40858 32767 3 0x90 nanoslp syz-executor.6 40858 401705 40401 0 3 0x82 wait syz-executor.6 90488 314823 4051 32767 3 0x90 nanoslp syz-executor.4 4051 496433 40401 0 3 0x82 wait syz-executor.4 94330 298275 44588 32767 3 0x90 nanoslp syz-executor.3 44588 55961 40401 0 3 0x82 wait syz-executor.3 20542 397770 85799 32767 2 0x10 syz-executor.1 87504 276674 49366 32767 3 0x90 nanoslp syz-executor.0 85799 492074 40401 0 3 0x82 wait syz-executor.1 49366 147157 40401 0 3 0x82 wait syz-executor.0 40401 156598 97991 0 2 0x2000002 syz-fuzzer 40401 459592 97991 0 3 0x6000082 nanoslp syz-fuzzer 40401 407669 97991 0 3 0x6000082 wait syz-fuzzer 40401 88616 97991 0 3 0x6000082 wait syz-fuzzer 40401 486547 97991 0 3 0x6000082 kqread syz-fuzzer 40401 102983 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 290836 97991 0 3 0x6000082 wait syz-fuzzer 40401 106766 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 357459 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 170058 97991 0 3 0x6000082 wait syz-fuzzer 40401 155847 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 242468 97991 0 3 0x6000082 wait syz-fuzzer 40401 382063 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 301536 97991 0 3 0x6000082 thrsleep syz-fuzzer 40401 296719 97991 0 3 0x6000082 wait syz-fuzzer 40401 483890 97991 0 3 0x6000082 wait syz-fuzzer 97991 9391 75020 0 3 0x10008a sigsusp ksh 75020 232612 39590 0 3 0x9a kqread sshd 90614 322607 1 0 3 0x100083 ttyin getty 39590 426762 1 0 3 0x88 kqread sshd 79939 17005 81998 73 3 0x1100090 kqread syslogd 81998 70734 1 0 3 0x100082 netio syslogd 75394 79018 1 0 3 0x100080 kqread resolvd 38128 473514 39408 77 3 0x100092 kqread dhcpleased 86903 156176 39408 77 3 0x100092 kqread dhcpleased 39408 291519 1 0 3 0x80 kqread dhcpleased 43484 299622 0 0 3 0x14200 bored smr 22182 246666 0 0 2 0x14200 zerothread 81124 37886 0 0 3 0x14200 aiodoned aiodoned 80360 395595 0 0 3 0x14200 syncer update 46546 335164 0 0 3 0x14200 cleaner cleaner 49914 22407 0 0 2 0x14200 reaper 52564 459769 0 0 3 0x14200 pgdaemon pagedaemon 10085 2839 0 0 3 0x14200 bored viomb 73904 193025 0 0 3 0x40014200 acpi0 acpi0 64560 294383 0 0 3 0x40014200 idle1 39340 14418 0 0 3 0x14200 bored softnet3 45546 83929 0 0 3 0x14200 bored softnet2 11269 212469 0 0 3 0x14200 bored softnet1 96663 372223 0 0 3 0x14200 bored softnet0 98509 105245 0 0 3 0x14200 bored systqmp 7130 155400 0 0 3 0x14200 bored systq 44955 393537 0 0 3 0x40014200 bored softclock 94854 195064 0 0 3 0x40014200 idle0 1 109137 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82c550d0) #0 witness_lock+0x447 #1 wakeup_n+0x37 sys/kern/kern_synch.c:541 #2 sched_idle+0x232 sys/kern/kern_sched.c:176 #3 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10198 6408K 6420K 78643K 11310 0 pcb 13 12K 14K 78643K 17 0 rtable 216 6K 7K 78643K 759 0 pf 27 8K 8K 78643K 49 0 ifaddr 40 14K 15K 78643K 88 0 ifgroup 46 2K 2K 78643K 90 0 sysctl 3 1K 1K 78643K 3 0 counters 58 35K 35K 78643K 80 0 ioctlops 0 0K 2K 78643K 70 0 iov 0 0K 24K 78643K 409 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 2049 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 47 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 832 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 125K 78643K 6709 0 sigio 0 0K 0K 78643K 808 0 proc 56 78K 115K 78643K 1037 0 subproc 91 5K 6K 78643K 234 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 332 0 in_multi 88 6K 7K 78643K 278 0 ether_multi 1 0K 0K 78643K 1 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 145 652K 652K 78643K 145 0 exec 0 0K 1K 78643K 1413 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 383 85K 98K 78643K 66794 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 95 0 NDP 10 0K 2K 78643K 57 0 temp 70 5919K 6000K 78643K 19530 0 kqueue 12 18K 32K 78643K 463 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 254 0 251 3 2 1 3 0 8 0 rtentry 112 229 0 128 4 0 4 4 0 8 0 unpcb 144 3107 0 3094 38 37 1 6 0 8 0 syncache 304 77 0 77 11 10 1 1 0 8 1 tcpqe 32 214 0 214 9 8 1 1 0 8 1 tcpcb 808 1744 0 1708 43 32 11 13 0 8 7 arp 120 39 0 23 1 0 1 1 0 8 0 ipq 40 8 0 6 4 3 1 1 0 8 0 ipqe 40 29 0 27 4 3 1 1 0 8 0 inpcb 368 3517 0 3477 60 48 12 12 0 8 8 nd6 136 61 0 38 1 0 1 1 0 8 0 kcovpl 48 18 0 11 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 932 0 509 30 0 30 30 0 8 0 art_table 32 933 0 509 4 0 4 4 0 8 0 art_node 16 228 0 136 1 0 1 1 0 8 0 semapl 112 830 0 820 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 9301 0 7855 91 0 91 91 0 8 0 ffsino 272 9301 0 7855 97 0 97 97 0 8 0 nchpl 144 17771 0 16136 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 65957 0 65957 3 2 1 2 0 8 1 percpumem 16 53 0 11 1 0 1 1 0 8 0 kstatmem 264 42 0 22 2 0 2 2 0 8 0 scxspl 216 55456 0 55456 27 23 4 8 1 8 4 plimitpl 152 1839 0 1818 13 11 2 2 0 8 1 sigapl 424 6973 0 6923 7 0 7 7 0 8 0 futexpl 64 51255 0 51254 2 1 1 1 0 8 0 knotepl 120 558 0 0 11 1 10 11 0 8 0 kqueuepl 216 1469 0 1461 24 19 5 5 0 8 4 pipepl 320 2088 0 2063 58 50 8 11 0 8 5 fdescpl 496 6955 0 6923 7 2 5 6 0 8 0 filepl 152 44015 0 43792 82 65 17 20 0 8 7 lockfpl 104 6946 0 6944 5 4 1 2 0 8 0 lockfspl 48 936 0 934 1 0 1 1 0 8 0 sessionpl 144 33 0 18 1 0 1 1 0 8 0 pgrppl 48 94 0 79 1 0 1 1 0 8 0 ucredpl 104 6756 0 6739 1 0 1 1 0 8 0 zombiepl 144 6924 0 6923 1 0 1 1 0 8 0 processpl 1072 6973 0 6923 5 1 4 5 0 8 0 procpl 680 18393 0 18325 20 12 8 8 0 8 1 sosppl 168 67 0 67 9 9 0 1 0 8 0 sockpl 488 7281 0 7225 157 142 15 23 0 8 7 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 18 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 5 2 3 3 0 8 0 mcl4k 4096 41 0 0 4 0 4 4 0 8 0 mcl2k2 2112 10 0 0 1 0 1 1 0 8 0 mcl2k 2048 270 0 0 31 7 24 31 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1996 0 0 108 0 108 108 0 8 0 bufpl 288 15648 0 9322 452 0 452 452 0 8 0 anonpl 24 784711 0 775288 195 105 90 94 0 186 2 amapchunkpl 152 209323 0 208493 62 23 39 41 0 158 2 amappl16 200 18905 0 18645 127 107 20 28 0 8 5 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 178 0 165 2 1 1 2 0 8 0 amappl13 176 11 0 11 2 2 0 1 0 8 0 amappl12 168 7719 0 7685 3 0 3 3 0 8 0 amappl11 160 53 0 42 1 0 1 1 0 8 0 amappl10 152 40 0 29 1 0 1 1 0 8 0 amappl9 144 207 0 206 1 0 1 1 0 8 0 amappl8 136 512 0 397 5 0 5 5 0 8 0 amappl7 128 84 0 70 2 0 2 2 0 8 0 amappl6 120 348 0 324 2 1 1 2 0 8 0 amappl5 112 319 0 311 1 0 1 1 0 8 0 amappl4 104 690 0 650 2 0 2 2 0 8 0 amappl3 96 41973 0 41887 9 6 3 4 0 8 0 amappl2 88 7467 0 7395 3 1 2 3 0 8 0 amappl1 80 32981 0 32465 22 10 12 22 0 8 0 amappl 88 66021 0 65786 7 0 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 6955 0 6923 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6955 0 6923 1 0 1 1 0 8 0 vmmpekpl 168 58740 0 58689 3 0 3 3 0 8 0 vmmpepl 168 414370 0 412116 195 79 116 119 0 357 6 vmsppl 464 6954 0 6923 7 2 5 6 0 8 0 rwobjpl 56 113581 0 106223 115 7 108 108 0 8 0 pdppl 4096 13917 0 13846 291 212 79 95 0 8 8 pvpl 32 2078485 0 2063437 407 236 171 348 0 265 15 pmappl 248 6954 0 6923 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1248 0 317 27 0 27 27 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c39ff0) 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(ffffffff82c85668) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c85668) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff80002735b5d0,ffff80000027b500) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f end of kernel end trace frame: 0x78d71e39dc60, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82c39ff0) 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(ffffffff82c85668) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c85668) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff80002735b5d0,ffff80000027b500) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f end of kernel end trace frame: 0x78d71e39dc60, count: -6 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx witness_checkorder(fffffd806f1ade68,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f1ade58) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021288aa0,fffffd806f1ade58,fffffd806f1adee0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021288aa0,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021288aa0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021288aa0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021288aa0,ffff80002c9cda50,ffff80002c9cdaa0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002c9cdb20) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002c9cdb20) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7089dd003ea0, count: 6 ddb{1}> trace witness_checkorder(fffffd806f1ade68,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f1ade58) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff800021288aa0,fffffd806f1ade58,fffffd806f1adee0,4,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff800021288aa0,4) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff800021288aa0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff800021288aa0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff800021288aa0,ffff80002c9cda50,ffff80002c9cdaa0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002c9cdb20) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002c9cdb20) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7089dd003ea0, count: -9