uvm_fault(0xffffffff83893690, 0xffff8000ffff8590, 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(ffff8000ffff8590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806acc3f18) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc7e0,fffffd807e87acf0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806ab38788,ffff80002a7bc7e0) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806ab38788,ffff80002a7bc7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ab38788,ffff80002a7bc7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc7e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc7e0,ffff80002f8eb880,ffff80002f8eb7d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f8eb880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f8eb880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d694bf5900, 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(0xffffffff83893690, 0xffff8000ffff8590, 0, 1) -> e ddb> trace mtx_enter(ffff8000ffff8590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806acc3f18) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc7e0,fffffd807e87acf0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806ab38788,ffff80002a7bc7e0) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806ab38788,ffff80002a7bc7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ab38788,ffff80002a7bc7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc7e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc7e0,ffff80002f8eb880,ffff80002f8eb7d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f8eb880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f8eb880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d694bf5900, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f8eb490 rbx 0xfffffd806acc3f00 rdx 0 rcx 0x1 rax 0xffff80002a7bc700 r8 0x1 r9 0 r10 0x2927713e0625e254 r11 0xd71a1c7e62e8e6a0 r12 0x1b r13 0xffff8000ffff84b0 r14 0xffff8000ffff8590 r15 0 rip 0xffffffff8172ccbe mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002f8eb460 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=371021 pid=1060 tcnt=0 stat=onproc flags process=1018 proc=2000 runpri=32, usrpri=73, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7bc7e0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7bca78,0xffff80002a7bcfb8 process=0xffff8000ffff31a0 user=0xffff80002f8e6000, vmspace=0xfffffd806c99ce70 estcpu=23, cpticks=3, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 29196 216680 78936 0 2 0 syz-executor 29196 116496 78936 0 2 0x4000000 syz-executor 54989 16541 49303 -1 3 0x90 nanoslp syz-executor 54989 78814 49303 -1 3 0x4000090 ttyin syz-executor 54989 411125 49303 -1 3 0x4000090 fsleep syz-executor 46957 249704 0 0 3 0x14280 nfsidl nfsio 63957 411720 0 0 3 0x14280 nfsidl nfsio 88352 236296 0 0 3 0x14280 nfsidl nfsio 89213 64050 0 0 3 0x14280 nfsidl nfsio 1873 499293 0 0 3 0x14280 nfsidl nfsio 28921 64381 0 0 3 0x14280 nfsidl nfsio 76441 348806 0 0 3 0x14280 nfsidl nfsio 89643 37979 0 0 3 0x14280 nfsidl nfsio 14912 235755 0 0 3 0x14280 nfsidl nfsio 82410 428233 0 0 3 0x14280 nfsidl nfsio 67834 57409 0 0 3 0x14280 nfsidl nfsio 46204 64038 0 0 3 0x14280 nfsidl nfsio 64702 334390 0 0 3 0x14280 nfsidl nfsio 15417 65464 0 0 3 0x14280 nfsidl nfsio 30593 112711 0 0 3 0x14280 nfsidl nfsio 70109 350701 0 0 3 0x14280 nfsidl nfsio 25281 132127 0 0 3 0x14280 nfsidl nfsio 29402 339024 0 0 3 0x14280 nfsidl nfsio 49138 405576 0 0 3 0x14280 nfsidl nfsio 89697 257204 0 0 3 0x14280 nfsidl nfsio 60756 78642 1 0 3 0x100083 ttyin getty 58558 58979 0 0 3 0x14200 acct acct 8565 509658 94990 0 3 0x82 nanoslp syz-executor 78936 456849 94990 0 3 0x82 nanoslp syz-executor 49303 464742 94990 0 3 0x82 nanoslp syz-executor 28655 160087 94990 0 3 0x82 wait syz-executor 32336 500206 94990 0 3 0x82 nanoslp syz-executor 66467 54527 94990 0 3 0x82 nanoslp syz-executor 69647 116846 94990 0 3 0x82 wait syz-executor 85440 96992 94990 0 3 0x82 nanoslp syz-executor 94990 243606 92697 0 3 0x82 kqread syz-executor 92697 318630 7359 0 3 0x10008a sigsusp ksh 7359 395696 89662 0 3 0x98 kqread sshd-session 89662 375323 87720 0 3 0x92 kqread sshd-session 87720 174235 1 0 3 0x88 kqread sshd 273 88325 62280 73 2 0x1100010 syslogd 62280 366852 1 0 3 0x100082 sbwait syslogd 26921 253484 1 0 3 0x100080 kqread resolvd 57700 158909 17893 77 3 0x100092 kqread dhcpleased 17105 133755 17893 77 3 0x100092 kqread dhcpleased 17893 116125 1 0 3 0x80 kqread dhcpleased 41053 48636 0 0 3 0x14200 bored smr 54943 346512 0 0 2 0x14200 zerothread 77773 226037 0 0 3 0x14200 aiodoned aiodoned 6339 357596 0 0 3 0x14200 syncer update 31866 170662 0 0 3 0x14200 cleaner cleaner 19665 92904 0 0 3 0x14200 reaper reaper 27218 173719 0 0 3 0x14200 pgdaemon pagedaemon 92027 494702 0 0 3 0x14200 bored viomb 65603 377688 0 0 3 0x40014200 acpi0 acpi0 78009 118384 0 0 3 0x14200 bored softnet0 5054 20899 0 0 3 0x14200 bored systqmp 55137 292569 0 0 3 0x14200 bored systq 88236 151745 0 0 3 0x40014200 tmoslp softclock 7346 175478 0 0 3 0x40014200 idle0 1 254109 0 0 3 0x80082 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 11095 12328K 13303K 166960K 14537 0 pcb 19 13K 21K 166960K 388 0 rtable 220 15K 15K 166960K 845 0 pf 36 14K 20K 166960K 251 0 ifaddr 38 7K 7K 166960K 125 0 ifgroup 58 2K 2K 166960K 206 0 sysctl 4 1K 9K 166960K 22 0 counters 35 18K 18K 166960K 220 0 ioctlops 0 0K 4K 166960K 537 0 iov 0 0K 24K 166960K 89 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1485 93K 94K 166960K 2790 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 33 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1323 0 sigio 0 0K 0K 166960K 37 0 proc 61 59K 75K 166960K 691 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 164 0 in_multi 73 5K 6K 166960K 184 0 ether_multi 1 0K 0K 166960K 19 0 mrt 2 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 515 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 240 152K 178K 166960K 13072 0 UVM aobj 32 16K 16K 166960K 38 0 pinsyscall 39 78K 91K 166960K 2420 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 79 0 NDP 13 0K 1K 166960K 85 0 temp 77 8671K 8747K 166960K 52656 0 kqueue 15 22K 28K 166960K 243 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 292 0 289 5 2 3 3 0 8 2 rtentry 136 270 0 191 4 0 4 4 0 8 0 unpcb 144 749 0 733 4 0 4 4 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 810 0 802 13 6 7 7 0 8 6 arp 96 60 0 44 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 7 0 2 1 0 1 1 0 8 0 inpcb 328 1440 0 1427 13 6 7 7 0 8 5 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 35 0 17 1 0 1 1 0 8 0 pkpcb 40 20 0 20 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1072 170 0 170 1 0 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 11 0 6 1 0 1 1 0 8 0 pfstate 384 6 0 3 1 0 1 1 0 8 0 pfrule 1344 6 0 5 2 1 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 793 0 440 32 6 26 29 0 8 3 art_table 40 798 0 440 5 0 5 5 0 8 0 art_node 32 268 0 199 2 0 2 2 0 8 0 sysvmsgpl 40 18 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 30 0 20 1 0 1 1 0 8 0 shmpl 112 27 0 4 1 0 1 1 0 8 0 dirhash 1024 41 0 24 3 0 3 3 0 8 0 dino2pl 256 4021 0 2524 95 0 95 95 0 8 0 ffsino 256 4021 0 2524 95 0 95 95 0 8 0 nchpl 144 5750 0 4049 65 1 64 64 0 8 0 rtmask 32 22 0 22 2 1 1 1 0 8 1 vnodes 216 3289 0 0 183 0 183 183 0 8 0 namei 1024 19934 0 19934 3 2 1 2 0 8 1 vcpupl 3904 6 0 0 1 0 1 1 0 8 0 vmpool 808 8 0 2 1 0 1 1 0 8 0 kstatmem 264 130 0 104 3 0 3 3 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 25016 0 25016 10 2 8 8 1 8 8 plimitpl 152 467 0 450 1 0 1 1 0 8 0 sigapl 424 1854 0 1790 36 7 29 34 0 8 21 knotepl 120 55767 0 55473 29 19 10 16 0 8 0 kqueuepl 184 447 0 437 4 3 1 4 0 8 0 pipepl 304 323 0 296 3 0 3 3 0 8 0 fdescpl 448 1556 0 1526 4 0 4 4 0 8 0 filepl 120 10530 0 10309 17 6 11 15 0 8 2 lockfpl 104 444 0 442 1 0 1 1 0 8 0 lockfspl 48 163 0 161 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 57 0 41 1 0 1 1 0 8 0 ucredpl 104 1969 0 1956 1 0 1 1 0 8 0 zombiepl 144 1796 0 1790 1 0 1 1 0 8 0 processpl 1152 1854 0 1790 23 4 19 22 0 8 14 procpl 664 3554 0 3487 29 7 22 26 0 8 15 sosppl 176 6 0 6 2 1 1 1 0 8 1 sockpl 552 2673 0 2641 21 10 11 12 0 8 8 mcl64k 65536 107 0 107 2 1 1 1 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 20 0 20 2 1 1 1 0 8 1 mcl4k 4096 3980 0 3926 16 7 9 14 0 8 2 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 2298 0 2292 5 0 5 5 0 8 4 mtagpl 96 36 0 15 1 0 1 1 0 8 0 mbufpl 256 18290 0 18071 49 26 23 45 0 8 7 bufpl 280 9647 0 3426 445 0 445 445 0 8 0 anonpl 24 232953 0 229196 89 31 58 69 0 187 17 amapchunkpl 152 57188 0 56685 44 5 39 39 0 158 17 amappl16 200 4150 0 4090 35 19 16 27 0 8 7 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 424 0 423 1 0 1 1 0 8 0 amappl12 168 1915 0 1874 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 54 0 44 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 88 0 87 1 0 1 1 0 8 0 amappl6 120 288 0 276 1 0 1 1 0 8 0 amappl5 112 67 0 58 1 0 1 1 0 8 0 amappl4 104 400 0 376 1 0 1 1 0 8 0 amappl3 96 8801 0 8689 5 1 4 4 0 8 0 amappl2 88 543 0 487 2 0 2 2 0 8 0 amappl1 80 13955 0 13408 13 0 13 13 0 8 0 amappl 88 12111 0 11941 5 0 5 5 0 92 0 uvmvnodes 80 121 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 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 8 0 8 1 1 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 37 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1556 0 1526 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1556 0 1526 1 0 1 1 0 8 0 vmmpekpl 168 13701 0 13644 3 0 3 3 0 8 0 vmmpepl 168 101502 0 99614 111 18 93 102 0 357 10 vmsppl 368 1555 0 1526 4 1 3 4 0 8 0 rwobjpl 40 27215 0 26174 15 2 13 15 0 8 0 pdppl 4096 3134 0 3062 108 34 74 76 0 8 2 pvpl 32 673105 0 663329 174 41 133 139 0 265 31 pmappl 216 1563 0 1528 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 447 0 89 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff8000ffff8590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806acc3f18) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc7e0,fffffd807e87acf0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806ab38788,ffff80002a7bc7e0) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806ab38788,ffff80002a7bc7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ab38788,ffff80002a7bc7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc7e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc7e0,ffff80002f8eb880,ffff80002f8eb7d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f8eb880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f8eb880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d694bf5900, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff8000ffff8590) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806acc3f18) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc7e0,fffffd807e87acf0,fffffd807e87ad68,1,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc7e0,fffffd807e87acf0) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806ab38788,ffff80002a7bc7e0) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806ab38788,ffff80002a7bc7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ab38788,ffff80002a7bc7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc7e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc7e0,ffff80002f8eb880,ffff80002f8eb7d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f8eb880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f8eb880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d694bf5900, count: -12