uvm_fault(0xffffffff838a2d70, 0xffff8000ffff2e08, 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(ffff8000ffff2e08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806c0b6ad0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc018,fffffd80780d9da8) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd8064230880,ffff80002a7bc018) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8064230880,ffff80002a7bc018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8064230880,ffff80002a7bc018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc018,ffff80003810f250,ffff80003810f1a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f250) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f250) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7698d6f174c0, 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(0xffffffff838a2d70, 0xffff8000ffff2e08, 0, 1) -> e ddb> trace mtx_enter(ffff8000ffff2e08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806c0b6ad0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc018,fffffd80780d9da8) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd8064230880,ffff80002a7bc018) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8064230880,ffff80002a7bc018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8064230880,ffff80002a7bc018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc018,ffff80003810f250,ffff80003810f1a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f250) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f250) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7698d6f174c0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003810ee60 rbx 0xfffffd806c0b6a00 rdx 0 rcx 0 rax 0xffff80002a7bc000 r8 0x1 r9 0 r10 0x2b48c29dbe8290f3 r11 0xa2c79e5307caf17a r12 0x1b r13 0xffff8000ffff2d28 r14 0xffff8000ffff2e08 r15 0 rip 0xffffffff8158b7ce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003810ee30 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=169284 pid=19402 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=72, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7bc018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f0ec558,0xffff80002a7bda18 process=0xffff8000ffffba98 user=0xffff80003810a000, vmspace=0xfffffd807e78e468 estcpu=22, cpticks=3, pctcpu=0.3, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97393 393944 9248 0 2 0 syz-executor 37962 443200 0 0 3 0x14280 nfsidl nfsio 88641 154130 0 0 3 0x14280 nfsidl nfsio 1156 505659 0 0 3 0x14280 nfsidl nfsio 52763 447187 0 0 3 0x14280 nfsidl nfsio 87785 184083 0 0 3 0x14280 nfsidl nfsio 8630 395835 0 0 3 0x14280 nfsidl nfsio 85970 456789 0 0 3 0x14280 nfsidl nfsio 55331 342539 0 0 3 0x14280 nfsidl nfsio 70493 303311 0 0 3 0x14280 nfsidl nfsio 96708 69301 0 0 3 0x14280 nfsidl nfsio 61347 28776 0 0 3 0x14280 nfsidl nfsio 82198 483514 0 0 3 0x14280 nfsidl nfsio 51181 495714 0 0 3 0x14280 nfsidl nfsio 93056 503954 0 0 3 0x14280 nfsidl nfsio 71706 207943 0 0 3 0x14280 nfsidl nfsio 74051 167826 0 0 3 0x14280 nfsidl nfsio 81741 53295 0 0 3 0x14280 nfsidl nfsio 14882 16015 0 0 3 0x14280 nfsidl nfsio 13053 450287 0 0 3 0x14280 nfsidl nfsio 64911 244626 0 0 3 0x14280 nfsidl nfsio 75929 482089 13427 0 2 0 syz-executor 75929 386926 13427 0 3 0x4000080 fsleep syz-executor 60566 306487 53558 0 2 0 syz-executor 60566 264290 53558 0 3 0x4000080 fsleep syz-executor 87929 375704 25812 60929 2 0x10 syz-executor 87929 204703 25812 60929 3 0x4000090 kqpoll syz-executor 87929 243752 25812 60929 3 0x4000090 fsleep syz-executor 15009 386877 1 0 3 0x100083 ttyopn getty 69741 235238 42640 0 2 0x2 syz-executor 13427 390328 42640 0 3 0x82 nanoslp syz-executor 53558 42119 42640 0 2 0x2 syz-executor 4999 218392 42640 0 3 0x82 wait syz-executor 25812 20299 42640 0 2 0x2 syz-executor 86153 15345 42640 0 2 0x2 syz-executor 18802 409922 42640 0 3 0x82 wait syz-executor 9248 349463 42640 0 3 0x82 nanoslp syz-executor 42640 280991 6439 0 3 0x82 kqread syz-executor 6439 351003 25606 0 3 0x10008a sigsusp ksh 25606 236250 10017 0 3 0x98 kqread sshd-session 10017 318945 95944 0 3 0x92 kqread sshd-session 95944 62206 1 0 3 0x88 kqread sshd 51251 299112 54736 73 2 0x1100010 syslogd 54736 461947 1 0 3 0x100082 sbwait syslogd 35950 416109 1 0 3 0x100080 kqread resolvd 32423 371543 19505 77 3 0x100092 kqread dhcpleased 3250 87498 19505 77 3 0x100092 kqread dhcpleased 19505 40442 1 0 3 0x80 kqread dhcpleased 79091 34882 0 0 3 0x14200 bored smr 36179 242887 0 0 2 0x14200 zerothread 52137 307510 0 0 3 0x14200 aiodoned aiodoned 34522 291609 0 0 3 0x14200 syncer update 66115 322686 0 0 3 0x14200 cleaner cleaner 81612 196092 0 0 3 0x14200 reaper reaper 36318 310567 0 0 3 0x14200 pgdaemon pagedaemon 53982 504590 0 0 3 0x14200 bored viomb 83912 194210 0 0 3 0x40014200 acpi0 acpi0 16255 30307 0 0 2 0x14200 softnet0 71543 478427 0 0 3 0x14200 bored systqmp 56784 35730 0 0 3 0x14200 bored systq 79754 256096 0 0 3 0x40014200 tmoslp softclock 53580 226774 0 0 3 0x40014200 idle0 1 366028 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 11043 12104K 12509K 166960K 12867 0 pcb 17 18K 21K 166960K 198 0 rtable 211 7K 8K 166960K 414 0 pf 33 13K 14K 166960K 45 0 ifaddr 41 7K 7K 166960K 55 0 ifgroup 54 2K 2K 166960K 67 0 sysctl 3 1K 9K 166960K 9 0 counters 34 17K 18K 166960K 41 0 ioctlops 0 0K 4K 166960K 236 0 iov 0 0K 16K 166960K 25 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1400 88K 89K 166960K 1693 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 12 0K 0K 166960K 27 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 106K 166960K 473 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 83K 166960K 502 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 44 0 in_multi 91 6K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 5 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 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 457 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 228 151K 174K 166960K 5955 0 UVM aobj 8 2K 2K 166960K 9 0 pinsyscall 38 76K 95K 166960K 1546 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 12 0K 2K 166960K 34 0 temp 47 8661K 8727K 166960K 12459 0 kqueue 16 22K 28K 166960K 75 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 61 0 57 1 0 1 1 0 8 0 rtentry 136 121 0 32 4 0 4 4 0 8 0 unpcb 144 199 0 184 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 131 0 126 4 0 4 4 0 8 3 arp 96 20 0 4 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 538 0 530 10 1 9 10 0 8 7 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 112 26 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 6 0 6 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 513 0 113 29 0 29 29 0 8 3 art_table 40 514 0 113 5 0 5 5 0 8 0 art_node 32 121 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 6 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2177 0 677 95 0 95 95 0 8 0 ffsino 256 2177 0 677 95 0 95 95 0 8 0 nchpl 144 2839 0 1150 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2479 0 0 138 0 138 138 0 8 0 namei 1024 9302 0 9302 2 0 2 2 0 8 2 kstatmem 264 34 0 10 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 9287 0 9287 8 0 8 8 1 8 8 plimitpl 152 98 0 81 1 0 1 1 0 8 0 sigapl 424 1015 0 953 34 3 31 34 0 8 24 knotepl 120 14802 0 14497 16 0 16 16 0 8 5 kqueuepl 184 178 0 167 4 0 4 4 0 8 3 pipepl 304 160 0 133 3 0 3 3 0 8 0 fdescpl 448 742 0 713 5 0 5 5 0 8 1 filepl 120 4022 0 3809 12 0 12 12 0 8 3 lockfpl 104 108 0 106 1 0 1 1 0 8 0 lockfspl 48 50 0 48 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 506 0 493 1 0 1 1 0 8 0 zombiepl 144 956 0 953 1 0 1 1 0 8 0 processpl 1152 1015 0 953 22 1 21 22 0 8 16 procpl 664 1521 0 1455 27 1 26 27 0 8 19 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 829 0 802 10 0 10 10 0 8 7 mcl64k 65536 17 0 16 1 0 1 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 16 0 16 1 0 1 1 0 8 1 mcl4k 4096 2880 0 2824 15 0 15 15 0 8 7 mcl2k 2048 801 0 776 5 0 5 5 0 8 1 mtagpl 96 21 0 7 1 0 1 1 0 8 0 mbufpl 256 7474 0 7234 16 0 16 16 0 8 0 bufpl 280 4000 0 126 277 0 277 277 0 8 0 anonpl 24 139510 0 135989 45 0 45 45 0 187 16 amapchunkpl 152 19158 0 18689 30 0 30 30 0 158 7 amappl16 200 2406 0 2350 15 5 10 15 0 8 6 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 3 0 3 1 0 1 1 0 8 1 amappl13 176 407 0 406 1 0 1 1 0 8 0 amappl12 168 1079 0 1042 3 0 3 3 0 8 1 amappl11 160 7 0 6 1 0 1 1 0 8 0 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 0 1 1 0 8 1 amappl8 136 117 0 116 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 275 0 264 1 0 1 1 0 8 0 amappl5 112 69 0 61 1 0 1 1 0 8 0 amappl4 104 381 0 358 1 0 1 1 0 8 0 amappl3 96 3435 0 3333 3 0 3 3 0 8 0 amappl2 88 516 0 460 2 0 2 2 0 8 0 amappl1 80 10310 0 9777 13 0 13 13 0 8 1 amappl 88 5196 0 5036 5 0 5 5 0 92 0 uvmvnodes 80 106 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 742 0 713 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 742 0 713 1 0 1 1 0 8 0 vmmpekpl 168 8040 0 7982 3 0 3 3 0 8 0 vmmpepl 168 53726 0 51926 92 0 92 92 0 357 10 vmsppl 368 741 0 713 4 0 4 4 0 8 1 rwobjpl 40 17057 0 16079 13 0 13 13 0 8 2 pdppl 4096 1491 0 1426 107 40 67 83 0 8 2 pvpl 32 354812 0 346009 114 0 114 114 0 265 29 pmappl 216 741 0 713 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 40 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff8000ffff2e08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806c0b6ad0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc018,fffffd80780d9da8) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd8064230880,ffff80002a7bc018) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8064230880,ffff80002a7bc018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8064230880,ffff80002a7bc018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc018,ffff80003810f250,ffff80003810f1a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f250) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f250) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7698d6f174c0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff8000ffff2e08) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806c0b6ad0) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a7bc018,fffffd80780d9da8,fffffd80780d9e20,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a7bc018,fffffd80780d9da8) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd8064230880,ffff80002a7bc018) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8064230880,ffff80002a7bc018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8064230880,ffff80002a7bc018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bc018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bc018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bc018,ffff80003810f250,ffff80003810f1a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003810f250) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003810f250) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7698d6f174c0, count: -12