uvm_fault(0xffffffff83900418, 0xffff80003ca10108, 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(ffff80003ca10108) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cd2e1f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002fcf3ca8,fffffd80799f22e0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80795f3268,ffff80002fcf3ca8) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80795f3268,ffff80002fcf3ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80795f3268,ffff80002fcf3ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002fcf3ca8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002fcf3ca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002fcf3ca8,ffff80003a51ba00,ffff80003a51b950) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a51ba00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51ba00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70c61f47b100, 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, 0xffff80003ca10108, 0, 1) -> e ddb> trace mtx_enter(ffff80003ca10108) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cd2e1f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002fcf3ca8,fffffd80799f22e0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80795f3268,ffff80002fcf3ca8) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80795f3268,ffff80002fcf3ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80795f3268,ffff80002fcf3ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002fcf3ca8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002fcf3ca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002fcf3ca8,ffff80003a51ba00,ffff80003a51b950) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a51ba00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51ba00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70c61f47b100, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a51b610 rbx 0xfffffd806cd2e100 rdx 0 rcx 0x3 rax 0xffff80002fcf3c00 r8 0x1 r9 0 r10 0xd529acdf7b5ddff2 r11 0x7d081d82e5d39358 r12 0x1b r13 0xffff80003ca10028 r14 0xffff80003ca10108 r15 0 rip 0xffffffff8295e7ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003a51b5e0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=254478 pid=71427 tcnt=0 stat=onproc flags process=1018 proc=2000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002fcf3ca8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f0f07e0,0xffff80002fcf2a90 process=0xffff80002fcf5f98 user=0xffff80003a516000, vmspace=0xfffffd806c90bb98 estcpu=1, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87078 2160 65298 0 2 0 syz-executor 87078 71629 65298 0 3 0x4000080 fsleep syz-executor 87660 436226 67825 -1 3 0x90 nanoslp syz-executor 87660 377448 67825 -1 3 0x4000010 smrbar syz-executor 87660 302331 67825 -1 3 0x4000090 bpf syz-executor 87660 321816 67825 -1 3 0x4000090 fsleep syz-executor 12700 150954 372 0 2 0 syz-executor 50834 465907 60005 0 2 0x10 syz-executor 50834 497953 60005 0 3 0x4000090 kqsel syz-executor 15271 495431 52418 0 2 0 syz-executor 15271 263830 52418 0 3 0x4000080 fsleep syz-executor 93818 275465 12448 0 2 0 syz-executor 93818 397389 12448 0 3 0x4000080 kqread syz-executor 80601 428401 28981 0 2 0 syz-executor 80601 124692 28981 0 3 0x4000080 fsleep syz-executor 70422 447592 0 0 3 0x14280 nfsidl nfsio 44228 34206 0 0 3 0x14280 nfsidl nfsio 1261 64228 0 0 3 0x14280 nfsidl nfsio 60937 341994 0 0 3 0x14280 nfsidl nfsio 97375 393800 0 0 3 0x14280 nfsidl nfsio 47603 324474 0 0 3 0x14280 nfsidl nfsio 66945 35502 0 0 3 0x14280 nfsidl nfsio 90127 370129 0 0 3 0x14280 nfsidl nfsio 67738 449436 0 0 3 0x14280 nfsidl nfsio 14280 150793 0 0 3 0x14280 nfsidl nfsio 48986 116143 0 0 3 0x14280 nfsidl nfsio 20093 315330 0 0 3 0x14280 nfsidl nfsio 54426 410935 0 0 3 0x14280 nfsidl nfsio 6389 215770 0 0 3 0x14280 nfsidl nfsio 32150 458706 0 0 3 0x14280 nfsidl nfsio 48470 401889 0 0 3 0x14280 nfsidl nfsio 52997 215316 0 0 3 0x14280 nfsidl nfsio 92496 230097 0 0 3 0x14280 nfsidl nfsio 74291 314668 0 0 3 0x14280 nfsidl nfsio 85003 472019 0 0 3 0x14280 nfsidl nfsio 42752 350119 0 0 3 0x14200 acct acct 12448 314816 55379 0 3 0x82 nanoslp syz-executor 60005 228423 55379 0 3 0x82 nanoslp syz-executor 372 171456 55379 0 3 0x82 nanoslp syz-executor 55454 275024 55379 0 3 0x82 nanoslp syz-executor 65298 360082 55379 0 3 0x82 nanoslp syz-executor 67825 478152 55379 0 3 0x82 nanoslp syz-executor 28981 53120 55379 0 2 0x2 syz-executor 52418 32026 55379 0 3 0x82 nanoslp syz-executor 55379 288545 43470 0 3 0x82 kqread syz-executor 43470 27609 37309 0 3 0x10008a sigsusp ksh 37309 146348 97172 0 3 0x98 kqread sshd-session 97172 360247 79486 0 3 0x92 kqread sshd-session 1537 406088 1 0 3 0x100083 ttyin getty 79486 152998 1 0 3 0x88 kqread sshd 10035 53522 93161 73 3 0x1100090 kqread syslogd 93161 217494 1 0 3 0x100082 sbwait syslogd 17528 42732 1 0 3 0x100080 kqread resolvd 68554 290626 73863 77 3 0x100092 kqread dhcpleased 70400 53907 73863 77 3 0x100092 kqread dhcpleased 73863 140904 1 0 3 0x80 kqread dhcpleased 88080 264759 0 0 3 0x14200 bored smr 46312 224003 0 0 2 0x14200 zerothread 85402 235920 0 0 3 0x14200 aiodoned aiodoned 65100 173973 0 0 3 0x14200 syncer update 24724 316889 0 0 3 0x14200 cleaner cleaner 64930 387269 0 0 3 0x14200 reaper reaper 12591 4847 0 0 3 0x14200 pgdaemon pagedaemon 71958 506020 0 0 3 0x14200 bored viomb 1596 39740 0 0 3 0x40014200 acpi0 acpi0 21846 436410 0 0 2 0x14200 softnet0 46453 434761 0 0 3 0x14200 bored systqmp 92515 331868 0 0 3 0x14200 bored systq 66972 70593 0 0 3 0x40014200 tmoslp softclock 75776 326422 0 0 3 0x40014200 idle0 1 272908 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 11042 12232K 12434K 166960K 12458 0 pcb 18 12K 12K 166960K 48 0 rtable 259 8K 8K 166960K 400 0 pf 31 13K 14K 166960K 41 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 64 0 sysctl 1 1K 9K 166960K 7 0 counters 33 17K 18K 166960K 37 0 ioctlops 0 0K 2K 166960K 60 0 iov 0 0K 8K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1369 86K 87K 166960K 1582 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 307 0 sigio 0 0K 0K 166960K 2 0 proc 60 59K 116K 166960K 486 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 11 0 in_multi 99 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 391 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 233 151K 167K 166960K 4567 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 39 78K 96K 166960K 1385 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 11 0K 2K 166960K 31 0 temp 38 8658K 8724K 166960K 4641 0 kqueue 15 22K 27K 166960K 56 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 151 0 146 3 0 3 3 0 8 1 rtentry 136 117 0 2 4 0 4 4 0 8 0 unpcb 144 238 0 223 3 0 3 3 0 8 2 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 53 0 48 1 0 1 1 0 8 0 arp 96 19 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 173 0 161 2 0 2 2 0 8 0 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 3 1 0 1 1 0 8 0 nd6 112 27 0 0 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 481 0 0 31 0 31 31 0 8 0 art_table 40 484 0 0 5 0 5 5 0 8 0 art_node 32 117 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 5 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 1926 0 427 95 0 95 95 0 8 0 ffsino 256 1926 0 427 95 0 95 95 0 8 0 nchpl 144 2326 0 636 64 0 64 64 0 8 0 vnodes 216 2142 0 0 119 0 119 119 0 8 0 namei 1024 7454 0 7454 2 0 2 2 0 8 2 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9630 0 9630 8 0 8 8 1 8 8 plimitpl 152 131 0 114 1 0 1 1 0 8 0 sigapl 424 857 0 793 34 10 24 34 0 8 16 knotepl 120 10234 0 9943 16 0 16 16 0 8 6 kqueuepl 184 67 0 55 1 0 1 1 0 8 0 pipepl 304 187 0 160 8 0 8 8 0 8 5 fdescpl 448 583 0 553 5 0 5 5 0 8 1 filepl 120 3067 0 2845 12 0 12 12 0 8 4 lockfpl 104 33 0 29 1 0 1 1 0 8 0 lockfspl 48 18 0 14 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 221 0 207 1 0 1 1 0 8 0 zombiepl 144 794 0 793 1 0 1 1 0 8 0 processpl 1152 857 0 793 22 6 16 22 0 8 11 procpl 664 1127 0 1055 27 8 19 27 0 8 12 sockpl 552 576 0 544 10 0 10 10 0 8 6 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2697 0 2642 14 0 14 14 0 8 7 mcl2k 2048 423 0 418 2 0 2 2 0 8 0 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 6367 0 6206 35 7 28 28 0 8 11 bufpl 280 3847 0 118 267 0 267 267 0 8 0 anonpl 24 122048 0 118508 44 0 44 44 0 187 15 amapchunkpl 152 26270 0 25789 35 0 35 35 0 158 15 amappl16 200 2423 0 2372 14 3 11 14 0 8 8 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 37 0 36 1 0 1 1 0 8 0 amappl13 176 406 0 405 1 0 1 1 0 8 0 amappl12 168 926 0 887 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 0 1 1 0 8 1 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 248 0 247 1 0 1 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 78 0 77 1 0 1 1 0 8 0 amappl6 120 273 0 262 1 0 1 1 0 8 0 amappl5 112 92 0 85 1 0 1 1 0 8 0 amappl4 104 377 0 354 1 0 1 1 0 8 0 amappl3 96 2218 0 2128 3 0 3 3 0 8 0 amappl2 88 694 0 622 2 0 2 2 0 8 0 amappl1 80 9413 0 8876 14 0 14 14 0 8 2 amappl 88 3847 0 3684 5 0 5 5 0 92 1 uvmvnodes 80 105 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 583 0 553 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 583 0 553 1 0 1 1 0 8 0 vmmpekpl 168 7102 0 7056 4 0 4 4 0 8 0 vmmpepl 168 44434 0 42601 90 0 90 90 0 357 10 vmsppl 368 582 0 553 4 0 4 4 0 8 1 rwobjpl 40 15316 0 14350 12 0 12 12 0 8 1 pdppl 4096 1173 0 1106 97 30 67 83 0 8 0 pvpl 32 282122 0 273127 112 0 112 112 0 265 23 pmappl 216 582 0 553 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 393 0 37 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff80003ca10108) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cd2e1f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002fcf3ca8,fffffd80799f22e0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80795f3268,ffff80002fcf3ca8) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80795f3268,ffff80002fcf3ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80795f3268,ffff80002fcf3ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002fcf3ca8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002fcf3ca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002fcf3ca8,ffff80003a51ba00,ffff80003a51b950) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a51ba00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51ba00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70c61f47b100, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff80003ca10108) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cd2e1f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002fcf3ca8,fffffd80799f22e0,fffffd80799f2358,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002fcf3ca8,fffffd80799f22e0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80795f3268,ffff80002fcf3ca8) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80795f3268,ffff80002fcf3ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80795f3268,ffff80002fcf3ca8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002fcf3ca8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002fcf3ca8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002fcf3ca8,ffff80003a51ba00,ffff80003a51b950) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a51ba00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a51ba00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70c61f47b100, count: -12