uvm_fault(0xffffffff83900418, 0xffff8000ffff0590, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(ffff8000ffff0590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807e707080) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c92f258,fffffd80789cd000) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd807cea1870,ffff80003c92f258) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd807cea1870,ffff80003c92f258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807cea1870,ffff80003c92f258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c92f258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c92f258,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c92f258,ffff80003c93df20,ffff80003c93de70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c93df20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93df20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b375c155370, count: 3 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff83900418, 0xffff8000ffff0590, 0, 1) -> e ddb> trace mtx_enter(ffff8000ffff0590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807e707080) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c92f258,fffffd80789cd000) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd807cea1870,ffff80003c92f258) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd807cea1870,ffff80003c92f258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807cea1870,ffff80003c92f258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c92f258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c92f258,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c92f258,ffff80003c93df20,ffff80003c93de70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c93df20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93df20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b375c155370, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c93db30 rbx 0xfffffd807e707000 rdx 0 rcx 0 rax 0xffff80003c92f200 r8 0x1 r9 0 r10 0x679285adbbddd462 r11 0xfa3f38c2aa9165be r12 0x1b r13 0xffff8000ffff04b0 r14 0xffff8000ffff0590 r15 0 rip 0xffffffff8295e7ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c93db00 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=127665 pid=99601 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c92f258 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c92e560,0xffff80003c92e040 process=0xffff800035d1b198 user=0xffff80003c938000, vmspace=0xfffffd806cacfb98 estcpu=30, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 11501 4309 22519 0 2 0 syz-executor 31933 287888 0 0 3 0x14280 nfsidl nfsio 5616 370314 0 0 3 0x14280 nfsidl nfsio 15038 63657 0 0 3 0x14280 nfsidl nfsio 35396 173779 0 0 3 0x14280 nfsidl nfsio 22380 16538 0 0 3 0x14280 nfsidl nfsio 41706 254875 0 0 3 0x14280 nfsidl nfsio 88892 467126 0 0 3 0x14280 nfsidl nfsio 56089 401272 0 0 3 0x14280 nfsidl nfsio 57984 192831 0 0 3 0x14280 nfsidl nfsio 38220 341429 0 0 3 0x14280 nfsidl nfsio 25277 307165 0 0 3 0x14280 nfsidl nfsio 61156 65772 0 0 3 0x14280 nfsidl nfsio 79422 325582 0 0 3 0x14280 nfsidl nfsio 19074 101537 0 0 3 0x14280 nfsidl nfsio 91096 480305 0 0 3 0x14280 nfsidl nfsio 27649 34797 0 0 3 0x14280 nfsidl nfsio 86111 417464 0 0 3 0x14280 nfsidl nfsio 56619 419479 0 0 3 0x14280 nfsidl nfsio 96660 461803 0 0 3 0x14280 nfsidl nfsio 10741 265092 0 0 3 0x14280 nfsidl nfsio 5723 407054 32494 0 2 0 syz-executor 5723 461670 32494 0 3 0x4000080 fsleep syz-executor 20694 267957 78639 0 2 0 syz-executor 20694 223469 78639 0 2 0x4000000 syz-executor 20694 286986 78639 0 2 0x4000000 syz-executor 20694 95566 78639 0 3 0x4000080 fsleep syz-executor 97028 305288 68122 0 2 0 syz-executor 97028 358747 68122 0 2 0x4000000 syz-executor 97028 126658 68122 0 3 0x4000080 fsleep syz-executor 47990 475169 49502 0 3 0x82 nanoslp syz-executor 73383 101865 1 0 3 0x100083 ttyin getty 61472 510638 0 0 3 0x14200 acct acct 36877 167654 49502 0 2 0x2 syz-executor 46090 119162 49502 0 2 0x2 syz-executor 68122 91595 49502 0 3 0x82 nanoslp syz-executor 78639 414726 49502 0 3 0x82 nanoslp syz-executor 51737 253074 49502 0 2 0x2 syz-executor 22519 135713 49502 0 3 0x82 nanoslp syz-executor 32494 273617 49502 0 3 0x82 nanoslp syz-executor 49502 506724 67785 0 3 0x82 kqread syz-executor 67785 47399 34446 0 3 0x10008a sigsusp ksh 34446 200157 1672 0 3 0x98 kqread sshd-session 1672 447460 82648 0 3 0x92 kqread sshd-session 82648 357038 1 0 3 0x88 kqread sshd 82383 458803 92872 73 2 0x1100010 syslogd 92872 109588 1 0 3 0x100082 sbwait syslogd 24713 208471 1 0 3 0x100080 kqread resolvd 5709 182652 14386 77 3 0x100092 kqread dhcpleased 67352 90764 14386 77 3 0x100092 kqread dhcpleased 14386 438256 1 0 3 0x80 kqread dhcpleased 71238 255654 0 0 3 0x14200 bored smr 95311 473938 0 0 2 0x14200 zerothread 46228 291496 0 0 3 0x14200 aiodoned aiodoned 82337 431067 0 0 3 0x14200 syncer update 84999 120959 0 0 3 0x14200 cleaner cleaner 57699 473272 0 0 3 0x14200 reaper reaper 67754 89872 0 0 3 0x14200 pgdaemon pagedaemon 53660 185105 0 0 3 0x14200 bored viomb 9277 440594 0 0 3 0x40014200 acpi0 acpi0 4924 50003 0 0 3 0x14200 bored softnet0 57392 279611 0 0 3 0x14200 bored systqmp 75797 18852 0 0 3 0x14200 bored systq 87086 112169 0 0 3 0x40014200 tmoslp softclock 13026 122689 0 0 3 0x40014200 idle0 1 131612 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11033 12105K 12447K 166960K 13540 0 pcb 17 16K 18K 166960K 166 0 rtable 212 11K 11K 166960K 593 0 pf 27 12K 15K 166960K 98 0 ifaddr 34 6K 8K 166960K 88 0 ifgroup 42 1K 2K 166960K 133 0 sysctl 3 1K 9K 166960K 17 0 counters 31 17K 18K 166960K 177 0 ioctlops 0 0K 4K 166960K 249 0 iov 0 0K 28K 166960K 135 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1397 88K 88K 166960K 2260 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 240K 166960K 916 0 sigio 0 0K 0K 166960K 13 0 proc 61 59K 100K 166960K 570 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 99 0 in_multi 76 5K 7K 166960K 162 0 ether_multi 1 0K 0K 166960K 13 0 mrt 2 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 434 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 212 151K 167K 166960K 9691 0 UVM aobj 25 10K 10K 166960K 28 0 pinsyscall 36 72K 88K 166960K 2016 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 52 0 NDP 9 0K 2K 166960K 58 0 temp 63 8668K 8793K 166960K 44460 0 kqueue 15 20K 33K 166960K 207 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 98 0 95 1 0 1 1 0 8 0 rtentry 136 149 0 67 4 0 4 4 0 8 0 unpcb 144 511 0 496 4 0 4 4 0 8 3 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 200 0 195 2 0 2 2 0 8 1 arp 96 21 0 6 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 811 0 803 12 3 9 12 0 8 8 ip6q 72 4 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 37 0 15 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 134 0 134 2 1 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 610 0 251 31 1 30 30 0 8 6 art_table 40 612 0 251 5 0 5 5 0 8 0 art_node 32 147 0 75 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 19 0 1 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3245 0 1750 95 0 95 95 0 8 0 ffsino 256 3245 0 1750 95 0 95 95 0 8 0 nchpl 144 4470 0 2778 64 0 64 64 0 8 0 rtmask 32 11 0 11 2 1 1 1 0 8 1 vnodes 216 3717 0 0 207 0 207 207 0 8 0 namei 1024 16088 0 16086 2 1 1 2 0 8 0 vcpupl 3904 4 0 0 1 0 1 1 0 8 0 vmpool 808 6 0 2 2 1 1 1 0 8 0 kstatmem 264 78 0 60 2 0 2 2 0 8 0 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 16435 0 16435 9 1 8 8 1 8 8 plimitpl 152 294 0 278 1 0 1 1 0 8 0 sigapl 424 1458 0 1397 35 6 29 34 0 8 21 knotepl 120 41589 0 41282 24 14 10 17 0 8 0 kqueuepl 184 368 0 358 4 0 4 4 0 8 3 pipepl 304 347 0 320 8 0 8 8 0 8 5 fdescpl 448 1179 0 1152 4 0 4 4 0 8 0 filepl 120 8048 0 7843 13 0 13 13 0 8 4 lockfpl 104 389 0 386 1 0 1 1 0 8 0 lockfspl 48 116 0 113 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 48 0 32 1 0 1 1 0 8 0 ucredpl 104 1647 0 1636 1 0 1 1 0 8 0 zombiepl 144 1398 0 1397 1 0 1 1 0 8 0 processpl 1152 1458 0 1397 22 3 19 22 0 8 14 procpl 664 2596 0 2529 28 6 22 27 0 8 15 sosppl 176 7 0 6 1 0 1 1 0 8 0 sockpl 552 1446 0 1420 12 1 11 12 0 8 8 mcl64k 65536 37 0 37 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 77 0 77 2 1 1 1 0 8 1 mcl4k 4096 3505 0 3451 16 8 8 16 0 8 0 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 1626 0 1622 8 5 3 6 0 8 2 mtagpl 96 155 0 79 4 0 4 4 0 8 2 mbufpl 256 13923 0 13699 82 55 27 80 0 8 6 bufpl 280 5417 0 126 378 0 378 378 0 8 0 anonpl 24 153399 0 149968 48 0 48 48 0 187 15 amapchunkpl 152 31469 0 31058 34 2 32 32 0 158 13 amappl16 200 2111 0 2054 24 12 12 16 0 8 8 amappl15 192 23 0 23 1 1 0 1 0 8 0 amappl14 184 5 0 4 1 0 1 1 0 8 0 amappl13 176 415 0 414 1 0 1 1 0 8 0 amappl12 168 1529 0 1494 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 16 0 15 1 0 1 1 0 8 0 amappl7 128 81 0 79 1 0 1 1 0 8 0 amappl6 120 275 0 264 1 0 1 1 0 8 0 amappl5 112 63 0 56 1 0 1 1 0 8 0 amappl4 104 388 0 363 1 0 1 1 0 8 0 amappl3 96 5608 0 5531 3 0 3 3 0 8 0 amappl2 88 1301 0 1231 2 0 2 2 0 8 0 amappl1 80 12228 0 11694 13 0 13 13 0 8 0 amappl 88 8849 0 8707 5 0 5 5 0 92 0 uvmvnodes 80 124 0 0 3 0 3 3 0 8 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 8 0 8 2 1 1 1 0 8 1 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 27 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1179 0 1152 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1179 0 1152 1 0 1 1 0 8 0 vmmpekpl 168 11512 0 11448 4 0 4 4 0 8 1 vmmpepl 168 77965 0 76264 93 0 93 93 0 357 7 vmsppl 368 1178 0 1152 4 1 3 4 0 8 0 rwobjpl 40 21274 0 20273 13 0 13 13 0 8 0 pdppl 4096 2377 0 2312 106 35 71 75 0 8 6 pvpl 32 490799 0 482394 140 3 137 137 0 265 41 pmappl 216 1184 0 1154 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 464 0 113 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff8000ffff0590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807e707080) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c92f258,fffffd80789cd000) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd807cea1870,ffff80003c92f258) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd807cea1870,ffff80003c92f258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807cea1870,ffff80003c92f258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c92f258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c92f258,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c92f258,ffff80003c93df20,ffff80003c93de70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c93df20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93df20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b375c155370, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff8000ffff0590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807e707080) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c92f258,fffffd80789cd000,fffffd80789cd078,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c92f258,fffffd80789cd000) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd807cea1870,ffff80003c92f258) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd807cea1870,ffff80003c92f258) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807cea1870,ffff80003c92f258) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c92f258) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c92f258,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c92f258,ffff80003c93df20,ffff80003c93de70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c93df20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93df20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b375c155370, count: -12