uvm_fault(0xffffffff838eeac8, 0xffff80002a821c08, 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(ffff80002a821c08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807fec40f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c93da10,fffffd806f4eb450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80786462d0,ffff80003c93da10) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80786462d0,ffff80003c93da10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80786462d0,ffff80003c93da10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93da10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93da10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93da10,ffff800031509030,ffff800031508f80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031509030) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031509030) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792e7f0d8ba0, 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(0xffffffff838eeac8, 0xffff80002a821c08, 0, 1) -> e ddb> trace mtx_enter(ffff80002a821c08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807fec40f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c93da10,fffffd806f4eb450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80786462d0,ffff80003c93da10) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80786462d0,ffff80003c93da10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80786462d0,ffff80003c93da10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93da10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93da10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93da10,ffff800031509030,ffff800031508f80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031509030) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031509030) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792e7f0d8ba0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800031508c40 rbx 0xfffffd807fec4000 rdx 0 rcx 0 rax 0xffff80003c93da00 r8 0x1 r9 0 r10 0xb55c16fe5b3bc87d r11 0xea0105af154985b0 r12 0x1b r13 0xffff80002a821b28 r14 0xffff80002a821c08 r15 0 rip 0xffffffff8280c7ae mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff800031508c10 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=187481 pid=24722 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=69, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93da10 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7b94d0,0xffff80002a7bd250 process=0xffff8000ffff8498 user=0xffff800031504000, vmspace=0xfffffd806d06be78 estcpu=19, cpticks=2, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67058 277453 58824 0 2 0 syz-executor 43073 152893 6879 0 2 0 syz-executor 43073 132028 6879 0 2 0x4000000 syz-executor 11267 318562 0 0 3 0x14280 nfsidl nfsio 68144 130424 0 0 3 0x14280 nfsidl nfsio 51284 423750 0 0 3 0x14280 nfsidl nfsio 78422 37275 0 0 3 0x14280 nfsidl nfsio 30293 488176 0 0 3 0x14280 nfsidl nfsio 43083 473924 0 0 3 0x14280 nfsidl nfsio 85195 145459 0 0 3 0x14280 nfsidl nfsio 8219 360344 0 0 3 0x14280 nfsidl nfsio 32055 367264 0 0 3 0x14280 nfsidl nfsio 82501 80325 0 0 3 0x14280 nfsidl nfsio 92419 187055 0 0 3 0x14280 nfsidl nfsio 85218 348744 0 0 3 0x14280 nfsidl nfsio 42885 28073 0 0 3 0x14280 nfsidl nfsio 56805 105681 0 0 3 0x14280 nfsidl nfsio 85198 91342 0 0 3 0x14280 nfsidl nfsio 60091 100839 0 0 3 0x14280 nfsidl nfsio 25835 247654 0 0 3 0x14280 nfsidl nfsio 31419 74566 0 0 3 0x14280 nfsidl nfsio 4723 169165 0 0 3 0x14280 nfsidl nfsio 29872 439090 0 0 3 0x14280 nfsidl nfsio 41401 41612 32035 0 2 0 syz-executor 41401 205297 32035 0 3 0x4000080 fsleep syz-executor 41401 205057 32035 0 3 0x4000080 fsleep syz-executor 6879 310492 3709 0 3 0x82 nanoslp syz-executor 55647 495678 4368 0 2 0 syz-executor 55647 519451 4368 0 3 0x4000080 bell syz-executor 55647 169042 4368 0 3 0x4000080 rest syz-executor 55647 23043 4368 0 2 0x4000000 syz-executor 77754 90530 0 0 3 0x14200 acct acct 76268 186739 3709 0 3 0x82 nanoslp syz-executor 32035 284360 3709 0 2 0x2 syz-executor 42512 245814 3709 0 2 0x2 syz-executor 71006 130907 3709 0 2 0x2 syz-executor 58824 170557 3709 0 2 0x2 syz-executor 4368 196044 3709 0 3 0x82 nanoslp syz-executor 44181 92667 3709 0 2 0x2 syz-executor 3709 65802 45962 0 3 0x82 kqread syz-executor 45962 28548 32515 0 3 0x10008a sigsusp ksh 32515 421541 10923 0 3 0x98 kqread sshd-session 10923 128648 92667 0 3 0x92 kqread sshd-session 16088 159982 1 0 3 0x100083 ttyin getty 92667 199060 1 0 3 0x88 kqread sshd 30952 247806 76261 73 2 0x1100010 syslogd 76261 213044 1 0 3 0x100082 sbwait syslogd 40897 24331 1 0 3 0x100080 kqread resolvd 60477 424939 18825 77 3 0x100092 kqread dhcpleased 74752 138580 18825 77 3 0x100092 kqread dhcpleased 18825 216694 1 0 3 0x80 kqread dhcpleased 44137 248217 0 0 3 0x14200 bored smr 31061 241242 0 0 2 0x14200 zerothread 86924 372863 0 0 3 0x14200 aiodoned aiodoned 74585 330129 0 0 3 0x14200 syncer update 65848 313853 0 0 3 0x14200 cleaner cleaner 86475 429195 0 0 3 0x14200 reaper reaper 30430 45621 0 0 3 0x14200 pgdaemon pagedaemon 956 397174 0 0 3 0x14200 bored viomb 72370 230464 0 0 3 0x40014200 acpi0 acpi0 21062 244910 0 0 2 0x14200 softnet0 22550 255500 0 0 3 0x14200 bored systqmp 1602 160795 0 0 3 0x14200 bored systq 41069 38874 0 0 2 0x40014200 softclock 38691 435387 0 0 3 0x40014200 idle0 1 522378 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 11041 12114K 12510K 166960K 12427 0 pcb 18 12K 12K 166960K 46 0 rtable 237 7K 7K 166960K 440 0 pf 32 13K 14K 166960K 37 0 ifaddr 40 6K 7K 166960K 50 0 ifgroup 54 2K 2K 166960K 60 0 sysctl 4 1K 9K 166960K 8 0 counters 34 17K 17K 166960K 36 0 ioctlops 0 0K 2K 166960K 48 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1498 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 85K 166960K 291 0 sigio 0 0K 0K 166960K 2 0 proc 60 59K 75K 166960K 515 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 17 0 in_multi 88 6K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 386 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 150K 166K 166960K 4266 0 UVM aobj 6 2K 2K 166960K 7 0 pinsyscall 37 74K 92K 166960K 1395 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 14 0K 2K 166960K 32 0 temp 40 8659K 8723K 166960K 7470 0 kqueue 16 22K 26K 166960K 44 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 53 0 50 1 0 1 1 0 8 0 rtentry 136 125 0 24 4 0 4 4 0 8 0 unpcb 144 103 0 87 1 0 1 1 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 78 0 74 4 3 1 4 0 8 0 arp 96 20 0 4 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 215 0 206 8 6 2 7 0 8 1 ip6q 72 3 0 2 2 1 1 1 0 8 0 ip6af 40 4 0 4 2 1 1 1 0 8 1 nd6 112 27 0 6 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 529 0 88 29 0 29 29 0 8 1 art_table 40 530 0 88 5 0 5 5 0 8 0 art_node 32 124 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 9 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1840 0 336 95 0 95 95 0 8 0 ffsino 256 1840 0 336 95 0 95 95 0 8 0 nchpl 144 2245 0 560 64 0 64 64 0 8 0 vnodes 216 2002 0 0 112 0 112 112 0 8 0 namei 1024 6731 0 6729 2 1 1 1 0 8 0 kstatmem 264 28 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7489 0 7489 8 7 1 8 1 8 1 plimitpl 152 49 0 33 1 0 1 1 0 8 0 sigapl 424 839 0 777 35 4 31 34 0 8 23 knotepl 120 8539 0 8235 17 6 11 17 0 8 1 kqueuepl 184 51 0 41 1 0 1 1 0 8 0 pipepl 304 126 0 99 3 0 3 3 0 8 0 fdescpl 448 565 0 537 4 0 4 4 0 8 0 filepl 120 2342 0 2131 9 0 9 9 0 8 1 lockfpl 104 164 0 162 2 0 2 2 0 8 1 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 282 0 271 1 0 1 1 0 8 0 zombiepl 144 779 0 777 2 1 1 1 0 8 0 processpl 1152 839 0 777 22 3 19 22 0 8 14 procpl 664 1065 0 997 27 12 15 27 0 8 8 sockpl 552 378 0 350 7 4 3 7 0 8 0 mcl64k 65536 12 0 12 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 2627 0 2571 14 6 8 14 0 8 0 mcl2k 2048 415 0 413 2 0 2 2 0 8 0 mtagpl 96 9 0 6 1 0 1 1 0 8 0 mbufpl 256 5573 0 5403 18 2 16 16 0 8 1 bufpl 280 2683 0 119 184 0 184 184 0 8 0 anonpl 24 123377 0 120029 58 19 39 44 0 187 7 amapchunkpl 152 13391 0 12964 44 8 36 36 0 158 13 amappl16 200 2046 0 1997 6 3 3 5 0 8 0 amappl15 192 27 0 27 1 1 0 1 0 8 0 amappl14 184 12 0 12 1 1 0 1 0 8 0 amappl13 176 419 0 418 1 0 1 1 0 8 0 amappl12 168 908 0 872 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 39 0 38 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 280 0 268 1 0 1 1 0 8 0 amappl5 112 69 0 61 1 0 1 1 0 8 0 amappl4 104 385 0 361 1 0 1 1 0 8 0 amappl3 96 2240 0 2147 3 0 3 3 0 8 0 amappl2 88 520 0 467 2 0 2 2 0 8 0 amappl1 80 9487 0 8965 12 0 12 12 0 8 0 amappl 88 3515 0 3370 6 1 5 5 0 92 1 uvmvnodes 80 102 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 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 6 0 1 1 0 1 1 0 8 0 uaddrrnd 24 565 0 537 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 565 0 537 1 0 1 1 0 8 0 vmmpekpl 168 6692 0 6643 3 0 3 3 0 8 0 vmmpepl 168 43278 0 41562 84 2 82 82 0 357 1 vmsppl 368 564 0 537 4 1 3 4 0 8 0 rwobjpl 40 14813 0 13870 12 1 11 11 0 8 1 pdppl 4096 1136 0 1074 92 24 68 76 0 8 6 pvpl 32 284927 0 276780 148 33 115 118 0 265 18 pmappl 216 564 0 537 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 372 0 41 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff80002a821c08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807fec40f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c93da10,fffffd806f4eb450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80786462d0,ffff80003c93da10) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80786462d0,ffff80003c93da10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80786462d0,ffff80003c93da10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93da10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93da10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93da10,ffff800031509030,ffff800031508f80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031509030) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031509030) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792e7f0d8ba0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff80002a821c08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd807fec40f0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80003c93da10,fffffd806f4eb450,fffffd806f4eb4c8,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80003c93da10,fffffd806f4eb450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80786462d0,ffff80003c93da10) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80786462d0,ffff80003c93da10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80786462d0,ffff80003c93da10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93da10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93da10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93da10,ffff800031509030,ffff800031508f80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031509030) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031509030) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792e7f0d8ba0, count: -12