uvm_fault(0xffffffff83942b98, 0xffff8000fffed310, 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(ffff8000fffed310) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd80696ca3c8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff8000344fea80,fffffd806f803450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80669d6710,ffff8000344fea80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80669d6710,ffff8000344fea80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80669d6710,ffff8000344fea80) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff8000344fea80) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff8000344fea80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000344fea80,ffff8000320f6f80,ffff8000320f6ed0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000320f6f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000320f6f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73debaa78dd0, 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(0xffffffff83942b98, 0xffff8000fffed310, 0, 1) -> e ddb> trace mtx_enter(ffff8000fffed310) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd80696ca3c8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff8000344fea80,fffffd806f803450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80669d6710,ffff8000344fea80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80669d6710,ffff8000344fea80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80669d6710,ffff8000344fea80) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff8000344fea80) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff8000344fea80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000344fea80,ffff8000320f6f80,ffff8000320f6ed0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000320f6f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000320f6f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73debaa78dd0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000320f6b90 rbx 0xfffffd80696ca300 rdx 0 rcx 0x3 rax 0xffff8000344fea00 r8 0x1 r9 0 r10 0x364510b1953347e6 r11 0x7fde6287b7b9f6ae r12 0x1b r13 0xffff8000fffed230 r14 0xffff8000fffed310 r15 0 rip 0xffffffff82361fce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff8000320f6b60 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=295488 pid=25171 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=52, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000344fea80 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a79bca0,0xffff8000344fefc0 process=0xffff800034502898 user=0xffff8000320f2000, vmspace=0xfffffd806c9b0b90 estcpu=2, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 32281 277768 17955 0 3 0x80 nanoslp syz-executor 32281 482778 17955 0 3 0x4000080 fsleep syz-executor 26122 344424 48936 0 2 0 syz-executor 15319 184932 34802 0 2 0 syz-executor 10714 107181 0 0 3 0x14280 nfsidl nfsio 38046 266701 0 0 3 0x14280 nfsidl nfsio 28132 144886 0 0 3 0x14280 nfsidl nfsio 1943 320293 0 0 3 0x14280 nfsidl nfsio 90034 84061 0 0 3 0x14280 nfsidl nfsio 46835 513377 0 0 3 0x14280 nfsidl nfsio 96182 221744 0 0 3 0x14280 nfsidl nfsio 59552 262169 0 0 3 0x14280 nfsidl nfsio 55789 39088 0 0 3 0x14280 nfsidl nfsio 38352 186938 0 0 3 0x14280 nfsidl nfsio 7706 173436 0 0 3 0x14280 nfsidl nfsio 80579 419017 0 0 3 0x14280 nfsidl nfsio 7270 302978 0 0 3 0x14280 nfsidl nfsio 51 79765 0 0 3 0x14280 nfsidl nfsio 74849 432285 0 0 3 0x14280 nfsidl nfsio 94653 41664 0 0 3 0x14280 nfsidl nfsio 33835 457139 0 0 3 0x14280 nfsidl nfsio 21085 385185 0 0 3 0x14280 nfsidl nfsio 21340 5736 0 0 3 0x14280 nfsidl nfsio 40730 495652 0 0 3 0x14280 nfsidl nfsio 21005 68884 0 0 3 0x14200 acct acct 35391 411228 2293 0 3 0x82 nanoslp syz-executor 48936 509440 2293 0 2 0xc82 syz-executor 68946 476255 2293 0 2 0x2 syz-executor 43446 369184 2293 0 3 0x10000082 nanoslp syz-executor 70879 363432 2293 0 3 0x82 nanoslp syz-executor 17955 270569 2293 0 3 0x82 nanoslp syz-executor 34802 359041 2293 0 2 0xc82 syz-executor 63488 279665 2293 0 3 0x82 nanoslp syz-executor 2293 145270 71108 0 3 0x82 kqread syz-executor 71108 33080 97115 0 3 0x10008a sigsusp ksh 97115 256047 53832 0 3 0x98 kqread sshd-session 53832 262675 75774 0 3 0x92 kqread sshd-session 50579 62545 1 0 3 0x100083 ttyin getty 75774 21637 1 0 3 0x88 kqread sshd 15843 204261 86567 73 2 0x1100010 syslogd 86567 228167 1 0 3 0x100082 sbwait syslogd 37035 187364 1 0 3 0x100080 kqread resolvd 43032 441494 29742 77 3 0x100092 kqread dhcpleased 10655 475459 29742 77 3 0x100092 kqread dhcpleased 29742 389707 1 0 3 0x80 kqread dhcpleased 16939 7354 0 0 3 0x14200 bored smr 36391 180435 0 0 2 0x14200 zerothread 5653 496071 0 0 3 0x14200 aiodoned aiodoned 60046 119329 0 0 3 0x14200 syncer update 5163 146204 0 0 3 0x14200 cleaner cleaner 45269 219999 0 0 3 0x14200 reaper reaper 51272 5969 0 0 3 0x14200 pgdaemon pagedaemon 38194 179879 0 0 3 0x14200 bored viomb 52393 432704 0 0 3 0x40014200 acpi0 acpi0 31328 368663 0 0 2 0x14200 softnet0 58405 140239 0 0 3 0x14200 bored systqmp 5165 331925 0 0 3 0x14200 bored systq 70670 391745 0 0 3 0x40014200 tmoslp softclock 53081 454569 0 0 3 0x40014200 idle0 1 451088 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 12103K 12588K 166960K 12636 0 pcb 19 12K 12K 166960K 38 0 rtable 259 9K 9K 166960K 396 0 pf 30 12K 14K 166960K 35 0 ifaddr 42 7K 7K 166960K 46 0 ifgroup 50 2K 2K 166960K 54 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 37 0 ioctlops 0 0K 4K 166960K 42 0 iov 0 0K 12K 166960K 68 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1412 89K 89K 166960K 1516 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 236K 166960K 218 0 proc 60 59K 83K 166960K 481 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 12 0 in_multi 99 7K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 368 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 208 150K 157K 166960K 3527 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 37 74K 86K 166960K 1276 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 11 0K 1K 166960K 29 0 temp 38 8666K 8730K 166960K 6128 0 kqueue 15 22K 34K 166960K 42 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 44 0 41 1 0 1 1 0 8 0 rtentry 136 114 0 1 4 0 4 4 0 8 0 unpcb 144 111 0 95 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 24 0 16 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 175 0 161 7 0 7 7 0 8 4 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 1 1 0 1 1 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 40 458 0 0 5 0 5 5 0 8 0 art_node 32 114 0 11 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1671 0 159 95 0 95 95 0 8 0 ffsino 256 1671 0 159 95 0 95 95 0 8 0 nchpl 144 1960 0 271 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 1895 0 0 106 0 106 106 0 8 0 namei 1024 5926 0 5926 1 0 1 1 0 8 1 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scxspl 216 6498 0 6498 2 0 2 2 1 8 2 plimitpl 152 42 0 25 1 0 1 1 0 8 0 sigapl 424 753 0 690 34 3 31 34 0 8 23 knotepl 120 6135 0 5849 10 0 10 10 0 8 0 kqueuepl 184 44 0 34 1 0 1 1 0 8 0 pipepl 304 116 0 89 3 0 3 3 0 8 0 fdescpl 448 479 0 451 4 0 4 4 0 8 0 filepl 120 2038 0 1820 10 0 10 10 0 8 1 lockfpl 104 27 0 25 1 0 1 1 0 8 0 lockfspl 48 11 0 9 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 135 0 123 1 0 1 1 0 8 0 zombiepl 144 694 0 690 1 0 1 1 0 8 0 processpl 1152 753 0 690 22 2 20 22 0 8 15 procpl 664 860 0 796 27 2 25 27 0 8 18 sockpl 552 333 0 300 8 0 8 8 0 8 4 mcl64k 65536 72 0 72 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2563 0 2510 12 0 12 12 0 8 4 mcl2k 2048 285 0 280 2 0 2 2 0 8 1 mtagpl 96 13 0 6 1 0 1 1 0 8 0 mbufpl 256 5112 0 4929 12 0 12 12 0 8 0 bufpl 280 2515 0 119 172 0 172 172 0 8 0 anonpl 24 48986 0 45455 24 0 24 24 0 187 0 amapchunkpl 152 8673 0 8277 22 0 22 22 0 158 1 amappl16 200 188 0 123 4 0 4 4 0 8 0 amappl13 176 400 0 399 1 0 1 1 0 8 0 amappl12 168 811 0 775 2 0 2 2 0 8 0 amappl11 160 1 0 1 1 0 1 1 0 8 1 amappl10 152 38 0 28 1 0 1 1 0 8 0 amappl9 144 229 0 229 1 0 1 1 0 8 1 amappl8 136 40 0 39 1 0 1 1 0 8 0 amappl7 128 72 0 71 1 0 1 1 0 8 0 amappl6 120 254 0 243 1 0 1 1 0 8 0 amappl5 112 64 0 56 1 0 1 1 0 8 0 amappl4 104 469 0 445 1 0 1 1 0 8 0 amappl3 96 1615 0 1542 3 0 3 3 0 8 0 amappl2 88 575 0 509 2 0 2 2 0 8 0 amappl1 80 9029 0 8501 12 0 12 12 0 8 0 amappl 88 2827 0 2688 5 0 5 5 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 479 0 451 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 479 0 451 1 0 1 1 0 8 0 vmmpekpl 168 6085 0 6026 3 0 3 3 0 8 0 vmmpepl 168 36175 0 34454 83 0 83 83 0 357 0 vmsppl 368 478 0 451 3 0 3 3 0 8 0 rwobjpl 40 11803 0 10859 11 0 11 11 0 8 0 pdppl 4096 965 0 902 91 24 67 73 0 8 4 pvpl 32 181189 0 173280 86 0 86 86 0 265 12 pmappl 216 478 0 451 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 357 0 24 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff8000fffed310) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd80696ca3c8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff8000344fea80,fffffd806f803450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80669d6710,ffff8000344fea80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80669d6710,ffff8000344fea80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80669d6710,ffff8000344fea80) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff8000344fea80) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff8000344fea80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000344fea80,ffff8000320f6f80,ffff8000320f6ed0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000320f6f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000320f6f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73debaa78dd0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff8000fffed310) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd80696ca3c8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff8000344fea80,fffffd806f803450,fffffd806f8034c8,3,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff8000344fea80,fffffd806f803450) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd80669d6710,ffff8000344fea80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd80669d6710,ffff8000344fea80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80669d6710,ffff8000344fea80) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff8000344fea80) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff8000344fea80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000344fea80,ffff8000320f6f80,ffff8000320f6ed0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000320f6f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000320f6f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73debaa78dd0, count: -12