uvm_fault(0xffffffff838e08e8, 0xffff80003068e518, 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(ffff80003068e518) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cbab108) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a776008,fffffd807e917678) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806cc6a270,ffff80002a776008) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806cc6a270,ffff80002a776008) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cc6a270,ffff80002a776008) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a776008) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a776008,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a776008,ffff80002e4f1550,ffff80002e4f14a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002e4f1550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002e4f1550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edb629ccf0, 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(0xffffffff838e08e8, 0xffff80003068e518, 0, 1) -> e ddb> trace mtx_enter(ffff80003068e518) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cbab108) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a776008,fffffd807e917678) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806cc6a270,ffff80002a776008) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806cc6a270,ffff80002a776008) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cc6a270,ffff80002a776008) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a776008) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a776008,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a776008,ffff80002e4f1550,ffff80002e4f14a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002e4f1550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002e4f1550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edb629ccf0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e4f1160 rbx 0xfffffd806cbab100 rdx 0 rcx 0 rax 0xffff80002a776000 r8 0x1 r9 0 r10 0x7570ec33c91d0b15 r11 0x66ba0a4490c44534 r12 0x1b r13 0xffff80003068e438 r14 0xffff80003068e518 r15 0 rip 0xffffffff82781fce mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002e4f1130 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=143064 pid=55090 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a776008 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7762a0,0xffff80002a84f260 process=0xffff8000320f9218 user=0xffff80002e4ec000, vmspace=0xfffffd806cac2a20 estcpu=31, cpticks=3, pctcpu=0.2, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37165 516231 0 0 3 0x14280 nfsidl nfsio 71875 356242 0 0 3 0x14280 nfsidl nfsio 50780 402551 0 0 3 0x14280 nfsidl nfsio 84367 346618 0 0 3 0x14280 nfsidl nfsio 25190 272885 0 0 3 0x14280 nfsidl nfsio 78893 206920 0 0 3 0x14280 nfsidl nfsio 49115 372038 0 0 3 0x14280 nfsidl nfsio 76437 220061 0 0 3 0x14280 nfsidl nfsio 22913 498482 0 0 3 0x14280 nfsidl nfsio 64915 473907 0 0 3 0x14280 nfsidl nfsio 96930 105069 0 0 3 0x14280 nfsidl nfsio 10595 117336 0 0 3 0x14280 nfsidl nfsio 1753 283212 0 0 3 0x14280 nfsidl nfsio 45101 387477 0 0 3 0x14280 nfsidl nfsio 82441 324564 0 0 3 0x14280 nfsidl nfsio 52042 85327 0 0 3 0x14280 nfsidl nfsio 78571 322895 0 0 3 0x14280 nfsidl nfsio 43564 113620 0 0 3 0x14280 nfsidl nfsio 48426 257068 0 0 3 0x14280 nfsidl nfsio 84458 329706 0 0 3 0x14280 nfsidl nfsio 96848 359113 88551 0 2 0 syz-executor 96848 126304 88551 0 3 0x4000080 rest syz-executor 96848 166993 88551 0 3 0x4000080 rest syz-executor 63136 282978 91193 60929 2 0x10 syz-executor 63136 414466 91193 60929 3 0x4000090 fsleep syz-executor 63136 269203 91193 60929 3 0x4000090 fsleep syz-executor 63136 394797 91193 60929 3 0x4000090 fsleep syz-executor 27918 226504 70318 0 3 0x3000 suspend syz-executor 27918 512909 70318 0 2 0x4081000 syz-executor 58587 509598 35652 0 2 0 syz-executor 58587 437102 35652 0 2 0x4000000 syz-executor 64831 391134 31630 0 2 0 syz-executor 64831 142031 31630 0 3 0x4000080 fsleep syz-executor 64831 275652 31630 0 3 0x4000080 fsleep syz-executor 64831 156516 31630 0 3 0x4000080 fsleep syz-executor 61993 12707 45021 0 2 0 syz-executor 61993 12438 45021 0 3 0x4000080 ttyout syz-executor 61993 98619 45021 0 3 0x4000080 ttyout syz-executor 31630 15859 19118 0 2 0xc82 syz-executor 35652 449760 19118 0 2 0xc82 syz-executor 70318 350083 19118 0 2 0xc82 syz-executor 2436 270861 19118 0 2 0xc82 syz-executor 88551 256173 19118 0 2 0xc82 syz-executor 91193 131433 19118 0 2 0xc82 syz-executor 37240 462377 19118 0 2 0x2 syz-executor 45021 419078 19118 0 2 0xc82 syz-executor 19118 25009 75312 0 3 0x82 kqread syz-executor 75312 14163 48373 0 3 0x10008a sigsusp ksh 48373 4925 81505 0 3 0x98 kqread sshd-session 81505 272051 47280 0 3 0x92 kqread sshd-session 86765 273593 1 0 3 0x100083 ttyopn getty 47280 503247 1 0 3 0x88 kqread sshd 78097 107236 44279 73 2 0x1100010 syslogd 44279 456132 1 0 3 0x100082 sbwait syslogd 54432 346101 1 0 3 0x100080 kqread resolvd 28164 448888 43815 77 3 0x100092 kqread dhcpleased 9118 256806 43815 77 3 0x100092 kqread dhcpleased 43815 432779 1 0 3 0x80 kqread dhcpleased 22300 446336 0 0 3 0x14200 bored smr 27063 308263 0 0 2 0x14200 zerothread 57682 125322 0 0 3 0x14200 aiodoned aiodoned 55558 134839 0 0 3 0x14200 syncer update 80852 356892 0 0 3 0x14200 cleaner cleaner 19183 470766 0 0 3 0x14200 reaper reaper 29516 504699 0 0 3 0x14200 pgdaemon pagedaemon 61943 294842 0 0 3 0x14200 bored viomb 64673 313541 0 0 3 0x40014200 acpi0 acpi0 12662 520256 0 0 3 0x14200 bored softnet0 5204 226395 0 0 3 0x14200 bored systqmp 28501 165763 0 0 3 0x14200 bored systq 22563 315746 0 0 3 0x40014200 tmoslp softclock 20978 483282 0 0 3 0x40014200 idle0 1 96189 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 11032 12108K 12568K 166960K 13365 0 pcb 18 13K 14K 166960K 244 0 rtable 152 7K 8K 166960K 569 0 pf 25 12K 14K 166960K 113 0 ifaddr 26 4K 8K 166960K 102 0 ifgroup 39 1K 2K 166960K 160 0 sysctl 4 1K 9K 166960K 13 0 counters 30 17K 18K 166960K 80 0 ioctlops 0 0K 4K 166960K 277 0 iov 0 0K 16K 166960K 52 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 89K 166960K 2176 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 33 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 916 0 sigio 0 0K 0K 166960K 10 0 proc 61 67K 100K 166960K 638 0 subproc 72 4K 4K 166960K 102 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 143 0 in_multi 55 4K 7K 166960K 157 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 2K 166960K 610 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 243 159K 189K 166960K 9663 0 UVM aobj 30 12K 12K 166960K 34 0 pinsyscall 38 76K 96K 166960K 2062 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 42 0 NDP 8 0K 2K 166960K 69 0 temp 69 8669K 8733K 166960K 20965 0 kqueue 17 24K 28K 166960K 144 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 137 0 134 2 0 2 2 0 8 1 rtentry 136 170 0 112 4 0 4 4 0 8 0 unpcb 144 920 0 905 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 360 0 356 7 0 7 7 0 8 6 arp 96 28 0 16 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 995 0 984 7 0 7 7 0 8 5 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 6 0 2 1 0 1 1 0 8 0 nd6 112 37 0 23 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 34 0 33 1 0 1 1 0 8 0 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 777 0 506 29 1 28 29 0 8 8 art_table 40 780 0 506 5 0 5 5 0 8 0 art_node 32 170 0 118 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 26 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2981 0 1480 95 0 95 95 0 8 0 ffsino 256 2981 0 1480 95 0 95 95 0 8 0 nchpl 144 4255 0 2552 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 3599 0 0 200 0 200 200 0 8 0 namei 1024 13490 0 13490 2 0 2 2 0 8 2 vcpupl 3904 5 0 0 1 0 1 1 0 8 0 vmpool 808 5 0 0 1 0 1 1 0 8 0 kstatmem 264 94 0 78 3 0 3 3 0 8 1 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 15301 0 15301 8 0 8 8 1 8 8 plimitpl 152 310 0 291 1 0 1 1 0 8 0 sigapl 424 1497 0 1435 39 8 31 39 0 8 24 knotepl 120 28994 0 28653 23 12 11 16 0 8 0 kqueuepl 184 310 0 296 3 0 3 3 0 8 2 pipepl 304 180 0 152 3 0 3 3 0 8 0 fdescpl 448 1183 0 1154 5 0 5 5 0 8 1 filepl 120 6983 0 6753 14 0 14 14 0 8 4 lockfpl 104 406 0 402 2 0 2 2 0 8 1 lockfspl 48 167 0 163 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 920 0 907 1 0 1 1 0 8 0 zombiepl 144 1437 0 1435 1 0 1 1 0 8 0 processpl 1152 1497 0 1435 25 4 21 25 0 8 16 procpl 664 2577 0 2503 31 6 25 31 0 8 18 sosppl 176 4 0 4 1 0 1 1 0 8 1 sockpl 552 2083 0 2054 13 2 11 12 0 8 8 mcl64k 65536 40 0 39 1 0 1 1 0 8 0 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 3475 0 3422 15 0 15 15 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1491 0 1454 7 0 7 7 0 8 2 mtagpl 96 135 0 17 3 0 3 3 0 8 0 mbufpl 256 12519 0 12262 23 0 23 23 0 8 1 bufpl 280 4922 0 125 343 0 343 343 0 8 0 anonpl 24 190103 0 186460 57 0 57 57 0 187 25 amapchunkpl 152 32953 0 32436 40 0 40 40 0 158 18 amappl16 200 3267 0 3201 15 2 13 15 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 4 0 4 1 0 1 1 0 8 1 amappl13 176 479 0 478 1 0 1 1 0 8 0 amappl12 168 1593 0 1555 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 0 1 1 0 8 1 amappl10 152 47 0 37 1 0 1 1 0 8 0 amappl9 144 249 0 248 1 0 1 1 0 8 0 amappl8 136 27 0 26 1 0 1 1 0 8 0 amappl7 128 88 0 86 1 0 1 1 0 8 0 amappl6 120 321 0 309 1 0 1 1 0 8 0 amappl5 112 84 0 76 1 0 1 1 0 8 0 amappl4 104 398 0 374 1 0 1 1 0 8 0 amappl3 96 6230 0 6118 4 0 4 4 0 8 0 amappl2 88 539 0 484 2 0 2 2 0 8 0 amappl1 80 11980 0 11443 13 0 13 13 0 8 1 amappl 88 8756 0 8582 5 0 5 5 0 92 0 uvmvnodes 80 130 0 0 3 0 3 3 0 8 0 dma8192 8192 2 0 2 1 0 1 1 0 8 1 dma4096 4096 2 0 2 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 7 0 7 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 33 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1183 0 1154 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1183 0 1154 1 0 1 1 0 8 0 vmmpekpl 168 10753 0 10685 4 0 4 4 0 8 0 vmmpepl 168 79641 0 77794 92 0 92 92 0 357 9 vmsppl 368 1182 0 1154 4 0 4 4 0 8 1 rwobjpl 40 22187 0 21132 13 0 13 13 0 8 0 pdppl 4096 2382 0 2313 125 54 71 82 0 8 2 pvpl 32 526192 0 517449 121 0 121 121 0 265 28 pmappl 216 1187 0 1154 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 423 0 55 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(ffff80003068e518) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cbab108) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a776008,fffffd807e917678) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806cc6a270,ffff80002a776008) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806cc6a270,ffff80002a776008) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cc6a270,ffff80002a776008) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a776008) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a776008,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a776008,ffff80002e4f1550,ffff80002e4f14a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002e4f1550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002e4f1550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edb629ccf0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(ffff80003068e518) at mtx_enter+0x6e sys/kern/kern_lock.c:549 filt_procdetach(fffffd806cbab108) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e filter_detach sys/kern/kern_event.c:-1 [inline] knote_remove(ffff80002a776008,fffffd807e917678,fffffd807e9176f0,0,1) at knote_remove+0x22e sys/kern/kern_event.c:2154 kqueue_purge(ffff80002a776008,fffffd807e917678) at kqueue_purge+0x117 sys/kern/kern_event.c:1890 kqueue_close(fffffd806cc6a270,ffff80002a776008) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd806cc6a270,ffff80002a776008) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806cc6a270,ffff80002a776008) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a776008) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a776008,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a776008,ffff80002e4f1550,ffff80002e4f14a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002e4f1550) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002e4f1550) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edb629ccf0, count: -12