uvm_fault(0xfffffd80708bdb98, 0x20, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter_try+0x7b: movl 0x8(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND 273593 63606 0 0 0 1 syz-executor *461623 63606 0 0 0x4000000 0K syz-executor mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff80000159c930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001479000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000387fe1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807594ae68,1,fffffd80097fd4e0,ffff80002a270a78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806f720be8,ffff80002a270a78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806f720be8,ffff80002a270a78) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff8000387fe400) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000387fe400) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4eff43f3400, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd80708bdb98, 0x20, 0, 1) -> e ddb{0}> trace mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff80000159c930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001479000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000387fe1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807594ae68,1,fffffd80097fd4e0,ffff80002a270a78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806f720be8,ffff80002a270a78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806f720be8,ffff80002a270a78) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff8000387fe400) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000387fe400) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4eff43f3400, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000387fe000 rbx 0 rdx 0 rcx 0xffff80002a270a78 rax 0xffffffff837a7f00 cpu_info_full_primary+0x1f00 r8 0x7f7fffffc000 r9 0 r10 0xa84e5e6d9e2de3a1 r11 0xc5676aa24ce9facc r12 0x1 r13 0xffffffff837a7ff0 cpu_info_full_primary+0x1ff0 r14 0x18 r15 0 rip 0xffffffff81c34cfb mtx_enter_try+0x7b cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff8000387fdfc0 ss 0x10 mtx_enter_try+0x7b: movl 0x8(%r14),%r15d ddb{0}> show proc PROC (syz-executor) tid=461623 pid=63606 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4d2800,0xffff80002a271780 process=0xffff80003c492b78 user=0xffff8000387f9000, vmspace=0xfffffd80708bdb98 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60117 449050 91812 0 2 0 syz-executor 60117 160608 91812 0 3 0x4000080 fsleep syz-executor 4780 333461 69428 0 2 0 syz-executor 4780 443812 69428 0 3 0x4000080 fsleep syz-executor 3168 187788 89695 0 2 0x10 syz-executor 3168 268444 89695 0 3 0x4000090 fsleep syz-executor 63606 273593 29739 0 7 0 syz-executor *63606 461623 29739 0 7 0x4000000 syz-executor 63606 513154 29739 0 2 0x4000000 syz-executor 63606 514252 29739 0 3 0x4000080 fsleep syz-executor 12418 395980 44080 0 2 0 syz-executor 12418 68671 44080 0 3 0x4000080 sbwait syz-executor 24541 105461 1 0 3 0x100083 ttyin getty 44080 122576 10107 0 2 0xc82 syz-executor 89695 40271 10107 0 2 0xc82 syz-executor 67599 480333 0 0 3 0x14280 nfsidl nfsio 10065 449686 0 0 3 0x14280 nfsidl nfsio 18593 165472 10107 0 3 0x82 nanoslp syz-executor 69428 501491 10107 0 2 0xc82 syz-executor 91654 453322 10107 0 2 0x10000003 syz-executor 91812 124150 10107 0 2 0xc82 syz-executor 91801 116890 10107 0 2 0x10000c82 syz-executor 29739 487252 10107 0 2 0xc82 syz-executor 10107 92096 19929 0 3 0x82 kqread syz-executor 19929 54458 49212 0 3 0x10008a sigsusp ksh 49212 257055 90752 0 3 0x98 kqread sshd-session 90752 25908 35522 0 3 0x92 kqread sshd-session 35522 248250 1 0 3 0x88 kqread sshd 27133 281983 75962 74 3 0x1100092 bpf pflogd 75962 218630 1 0 3 0x80 sbwait pflogd 74908 378036 22959 73 3 0x1100090 kqread syslogd 22959 230322 1 0 3 0x100082 sbwait syslogd 78017 210246 1 0 3 0x100080 kqread resolvd 99470 451717 7885 77 3 0x100092 kqread dhcpleased 51835 309943 7885 77 3 0x100092 kqread dhcpleased 7885 86934 1 0 3 0x80 kqread dhcpleased 88649 14484 0 0 3 0x14200 bored smr 30477 107202 0 0 2 0x14200 zerothread 28579 16670 0 0 3 0x14200 aiodoned aiodoned 47733 409478 0 0 3 0x14200 syncer update 90826 221556 0 0 3 0x14200 cleaner cleaner 41610 224445 0 0 3 0x14200 reaper reaper 30841 212750 0 0 3 0x14200 pgdaemon pagedaemon 2972 508948 0 0 3 0x14200 bored viomb 28160 365184 0 0 3 0x40014200 acpi0 acpi0 57274 257861 0 0 3 0x40014200 idle1 61910 371742 0 0 3 0x14200 bored softnet1 64231 496453 0 0 3 0x14200 bored softnet0 47904 365942 0 0 3 0x14200 bored systqmp 75126 226723 0 0 3 0x14200 bored systq 817 143902 0 0 3 0x14200 tmoslp softclockmp 92282 408115 0 0 3 0x40014200 tmoslp softclock 56443 331115 0 0 3 0x40014200 idle0 1 150040 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 4780 (syz-executor) thread 0xffff80003c4d3a28 (333461) Process 63606 (syz-executor) thread 0xffff80002a270a78 (461623) Process 63606 (syz-executor) thread 0xffff80002a271770 (513154) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10253 11143K 11348K 166960K 11962 0 pcb 18 15K 16K 166960K 325 0 rtable 215 10K 10K 166960K 624 0 pf 35 17K 24K 166960K 145 0 ifaddr 35 6K 8K 166960K 90 0 ifgroup 51 2K 2K 166960K 154 0 sysctl 3 1K 9K 166960K 11 0 counters 66 36K 37K 166960K 168 0 ioctlops 0 0K 4K 166960K 1717 0 iov 0 0K 16K 166960K 234 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1338 84K 85K 166960K 2033 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 41 3K 3K 166960K 47 0 dirhash 12 2K 3K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 106K 166960K 1135 0 sigio 0 0K 0K 166960K 23 0 proc 73 115K 180K 166960K 692 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 0 0K 0K 166960K 120 0 in_multi 74 5K 7K 166960K 153 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 500 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 231 167K 181K 166960K 12171 0 UVM aobj 27 12K 12K 166960K 27 0 pinsyscall 41 82K 102K 166960K 2318 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 73 0 NDP 11 0K 1K 166960K 62 0 temp 70 8673K 8743K 166960K 48657 0 kqueue 13 20K 30K 166960K 205 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 170 0 167 3 2 1 3 0 8 0 rtentry 176 153 0 69 6 0 6 6 0 8 0 unpcb 144 774 0 754 8 6 2 4 0 8 1 syncache 336 7 0 7 4 4 0 1 0 8 0 tcpcb 736 352 0 347 8 6 2 4 0 8 1 arp 136 23 0 8 1 0 1 1 0 8 0 inpcb 328 1211 0 1196 17 10 7 7 0 8 5 nd6 152 36 0 14 2 0 2 2 0 8 0 pkpcb 40 8 0 8 4 3 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 36 0 36 3 2 1 1 0 8 1 pppxif 1504 4 0 4 1 1 0 1 0 8 0 pfstscr 40 4 0 3 1 0 1 1 0 8 0 pffrag 232 8 0 2 1 0 1 1 0 482 0 pffrnode 88 7 0 1 1 0 1 1 0 8 0 pffrent 40 13 0 7 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 73 0 29 1 0 1 1 0 8 0 pfstkey 128 77 0 33 2 0 2 2 0 8 0 pfstate 448 74 0 31 5 0 5 5 0 8 0 pfrule 1344 25 0 20 2 1 1 2 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 649 0 300 31 7 24 31 0 8 0 art_table 40 653 0 300 5 0 5 5 0 8 0 art_node 32 152 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 10 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 43 0 4 2 0 2 2 0 8 0 shmpl 112 21 0 0 1 0 1 1 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 3491 0 1978 96 0 96 96 0 8 0 ffsino 296 3491 0 1978 118 1 117 118 0 8 0 nchpl 144 5021 0 3319 64 0 64 64 0 8 0 rtmask 32 9 0 9 4 3 1 1 0 8 1 vnodes 216 3789 0 0 211 0 211 211 0 8 0 namei 1024 16428 0 16428 2 1 1 2 0 8 1 percpumem 16 99 0 51 1 0 1 1 0 8 0 vcpupl 3968 3 0 0 1 0 1 1 0 8 0 vmpool 840 3 0 0 1 0 1 1 0 8 0 kstatmem 264 88 0 62 5 3 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 6 0 6 4 3 1 1 0 8 1 scxspl 216 29289 0 29289 13 12 1 8 1 8 1 plimitpl 152 298 0 279 1 0 1 1 0 8 0 sigapl 424 1457 0 1407 8 0 8 8 0 8 0 knotepl 120 577 0 0 17 0 17 17 0 8 0 kqueuepl 224 361 0 352 4 2 2 2 0 8 1 pipepl 344 384 0 357 9 6 3 9 0 8 0 fdescpl 528 1419 0 1389 3 0 3 3 0 8 0 filepl 160 8718 0 8489 26 13 13 19 0 8 1 lockfpl 104 507 0 502 2 1 1 2 0 8 0 lockfspl 48 160 0 155 1 0 1 1 0 8 0 sessionpl 144 27 0 18 1 0 1 1 0 8 0 pgrppl 48 53 0 36 1 0 1 1 0 8 0 ucredpl 104 1589 0 1575 1 0 1 1 0 8 0 zombiepl 144 1486 0 1483 1 0 1 1 0 8 0 processpl 1232 1457 0 1407 6 0 6 6 0 8 0 procpl 664 3227 0 3170 8 1 7 8 0 8 0 sosppl 176 13 0 13 4 3 1 1 0 8 1 sockpl 752 2182 0 2144 22 12 10 11 0 8 5 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 1847 0 0 115 0 115 115 0 8 0 bufpl 280 11150 0 5013 439 0 439 439 0 8 0 anonpl 32 12075 0 0 98 0 98 98 0 246 0 amapchunkpl 152 41261 0 40808 49 15 34 34 0 158 11 amappl16 200 5524 0 5490 58 43 15 28 0 8 6 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 7 0 7 2 2 0 1 0 8 0 amappl13 176 452 0 451 1 0 1 1 0 8 0 amappl12 168 1793 0 1752 3 0 3 3 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 53 0 39 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 36 0 34 1 0 1 1 0 8 0 amappl7 128 88 0 86 1 0 1 1 0 8 0 amappl6 120 306 0 293 1 0 1 1 0 8 0 amappl5 112 83 0 70 1 0 1 1 0 8 0 amappl4 104 436 0 407 1 0 1 1 0 8 0 amappl3 96 7207 0 7118 3 0 3 3 0 8 0 amappl2 88 1547 0 1469 2 0 2 2 0 8 0 amappl1 80 13955 0 13371 15 1 14 14 0 8 0 amappl 88 11217 0 11065 5 0 5 5 0 92 0 uvmvnodes 80 147 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 256 0 256 3 2 1 1 0 8 1 dma64 64 8 0 8 2 2 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 26 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1419 0 1389 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1419 0 1389 1 0 1 1 0 8 0 vmmpekpl 168 13962 0 13912 3 0 3 3 0 8 0 vmmpepl 168 96926 0 95053 112 14 98 107 0 357 4 vmsppl 488 1418 0 1389 6 1 5 5 0 8 0 rwobjpl 80 28563 0 27467 36 6 30 32 0 8 0 pdppl 4096 2852 0 2781 114 39 75 84 0 8 4 pvpl 32 20075 0 0 162 0 162 162 0 265 0 pmappl 256 1421 0 1389 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 417 0 63 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace mtx_enter_try(18) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(18) at mtx_enter+0x62 sys/kern/kern_lock.c:261 clockintr_unbind(ffff80000159c930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001479000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a270a78) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff8000387fe1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807594ae68,1,fffffd80097fd4e0,ffff80002a270a78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f720be8,ffff80002a270a78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806f720be8,ffff80002a270a78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806f720be8,ffff80002a270a78) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff8000387fe400) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000387fe400) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4eff43f3400, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7df67ac3ea80, count: 12 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7df67ac3ea80, count: -3