uvm_fault(0xfffffd800b0273d0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff8169b1e8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a3b8380 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff8169b1e8 Starting stack trace... panic(ffffffff833b47c3) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a3b82d0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001485000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a273a00) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a273a00) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a3b8480) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805878c2e0,81,fffffd80097fb5b0,ffff80002a273a00) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807c2cd260,ffff80002a273a00) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807c2cd260,ffff80002a273a00) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807c2cd260,ffff80002a273a00) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807c2cd260,ffff80002a273a00) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a273a00) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a273a00,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a273a00,ffff80002a3b87f0,ffff80002a3b8740) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3b87f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3b87f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e224f37fd10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 492370 25101 0 0 0 0 syz-executor *147427 98622 0 0 0 1 syz-executor proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7af9d3e81b00, count: 14 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{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd800b0273d0, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7af9d3e81b00, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4673c0 rbx 0 rdx 0 rcx 0xffff8000ffff3240 rax 0x2a r8 0xffff80003c4672f0 r9 0x1 r10 0x5473b5d68423c0ca r11 0x13c5d78cfdec8ac1 r12 0 r13 0xffffffff81d4aa48 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff82b154c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c467340 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=147427 pid=98622 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003b80c550,0xffff8000ffff3cb0 process=0xffff80003c42b510 user=0xffff80003c462000, vmspace=0xfffffd806e3c05c8 estcpu=36, cpticks=6, pctcpu=0.0, user=4, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25101 492370 9410 0 7 0 syz-executor 25101 250834 9410 0 2 0x4000000 syz-executor *98622 147427 15635 0 7 0 syz-executor 98622 523741 15635 0 3 0x4000080 fsleep syz-executor 98622 404614 15635 0 3 0x4000080 fsleep syz-executor 30609 89891 30007 0 2 0 syz-executor 30609 276568 30007 0 3 0x4000080 kqread syz-executor 30609 435773 30007 0 3 0x4000080 fsleep syz-executor 35219 296736 10887 0 2 0x4000000 syz-executor 35219 392226 10887 0 3 0x4000080 kqread syz-executor 35219 462073 10887 0 2 0x4000000 syz-executor 55879 483860 37695 0 3 0x4000080 nanoslp syz-executor 55879 462515 37695 0 3 0x4000080 netacc syz-executor 55879 343354 37695 0 3 0x4000080 fsleep syz-executor 15948 430132 65470 0 3 0x82 nanoslp syz-executor 9410 220518 65470 0 3 0x82 nanoslp syz-executor 78299 227529 1 0 3 0x100083 ttyin getty 37695 377577 65470 0 3 0x82 nanoslp syz-executor 38907 213027 65470 0 3 0x82 nanoslp syz-executor 15635 4028 65470 0 3 0x82 nanoslp syz-executor 9670 124181 65470 0 2 0x2 syz-executor 30007 253920 65470 0 3 0x82 nanoslp syz-executor 10887 434047 65470 0 3 0x82 nanoslp syz-executor 44270 405636 0 0 3 0x14200 bored sosplice 65470 426846 36141 0 3 0x82 kqread syz-executor 36141 475062 51674 0 3 0x10008a sigsusp ksh 51674 472424 70724 0 3 0x98 kqread sshd-session 70724 467644 4805 0 3 0x92 kqread sshd-session 4805 417358 1 0 3 0x88 kqread sshd 78462 425627 17448 74 3 0x1100092 bpf pflogd 17448 170880 1 0 3 0x80 sbwait pflogd 48622 115226 14781 73 3 0x1100090 kqread syslogd 14781 276967 1 0 3 0x100082 sbwait syslogd 7554 340649 1 0 3 0x100080 kqread resolvd 65540 52452 46011 77 3 0x100092 kqread dhcpleased 6755 249477 46011 77 3 0x100092 kqread dhcpleased 46011 286529 1 0 3 0x80 kqread dhcpleased 77896 128572 0 0 3 0x14200 bored smr 24847 309163 0 0 2 0x14200 zerothread 35969 247628 0 0 3 0x14200 aiodoned aiodoned 68446 181451 0 0 3 0x14200 syncer update 21567 442832 0 0 3 0x14200 cleaner cleaner 36301 158959 0 0 3 0x14200 reaper reaper 34754 213450 0 0 3 0x14200 pgdaemon pagedaemon 61336 465751 0 0 3 0x14200 bored viomb 13988 462371 0 0 3 0x40014200 acpi0 acpi0 25563 352256 0 0 3 0x40014200 idle1 9664 251806 0 0 3 0x14200 bored softnet1 48439 457970 0 0 3 0x14200 netlock softnet0 92758 38251 0 0 2 0x40014200 systqmp 18523 304771 0 0 3 0x14200 bored systq 95254 29244 0 0 3 0x14200 tmoslp softclockmp 48208 362086 0 0 3 0x40014200 tmoslp softclock 94114 344360 0 0 3 0x40014200 idle0 1 32141 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10263 11139K 11464K 166960K 14089 0 pcb 17 18K 20K 166960K 839 0 rtable 244 14K 14K 166960K 1435 0 pf 46 19K 67485K 166960K 443 0 ifaddr 45 9K 10K 166960K 247 0 ifgroup 68 2K 3K 166960K 437 0 sysctl 4 1K 9K 166960K 36 0 counters 74 37K 38K 166960K 472 0 ioctlops 0 0K 8K 166960K 2346 0 iov 0 0K 26K 166960K 481 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1461 92K 93K 166960K 4499 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 27 32K 52K 166960K 107 0 dirhash 12 2K 3K 166960K 72 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 3868 0 sigio 0 0K 0K 166960K 250 0 proc 73 115K 180K 166960K 1333 0 subproc 72 4K 4K 166960K 214 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 653 0 in_multi 89 6K 7K 166960K 377 0 ether_multi 1 0K 0K 166960K 39 0 mrt 1 0K 0K 166960K 32 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 1341 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 1K 166960K 10 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 249 168K 190K 166960K 35396 0 UVM aobj 20 2K 2K 166960K 23 0 pinsyscall 42 84K 107K 166960K 5305 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 222 0 NDP 15 0K 2K 166960K 190 0 temp 82 8656K 8784K 166960K 191425 0 kqueue 14 22K 32K 166960K 711 0 SYN cache 2 8K 16K 166960K 3 0 ddb{1}> 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 463 0 460 3 2 1 3 0 8 0 rtentry 176 528 0 439 6 1 5 5 0 8 0 unpcb 144 3148 0 3129 23 17 6 6 0 8 5 syncache 336 17 0 17 7 6 1 1 0 8 1 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 1540 0 1534 24 22 2 7 0 8 1 arp 136 114 0 100 1 0 1 1 0 8 0 inpcb 328 4583 0 4571 31 28 3 18 0 8 1 nd6 152 57 0 39 1 0 1 1 0 8 0 pkpcb 40 37 0 37 8 7 1 1 0 8 1 kcovpl 48 23 0 15 1 0 1 1 0 8 0 mppekey 1024 4 0 4 3 3 0 1 0 8 0 ppxss 1192 152 0 152 2 1 1 1 0 8 1 pppxif 1504 15 0 15 5 5 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 18 0 15 1 0 1 1 0 482 0 pffrnode 88 16 0 13 1 0 1 1 0 8 0 pffrent 40 34 0 31 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 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 61 0 48 1 0 1 1 0 8 0 pfstkey 128 63 0 52 2 0 2 2 0 8 0 pfstate 384 60 0 49 5 1 4 5 0 8 0 pfrule 1344 25 0 19 2 1 1 2 0 8 0 rttmr 136 4 0 4 3 3 0 1 0 8 0 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 1562 0 1148 46 20 26 30 0 8 0 art_table 40 1568 0 1148 6 1 5 5 0 8 0 art_node 32 520 0 446 3 2 1 3 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 98 0 73 1 0 1 1 0 8 0 shmpl 112 20 0 3 1 0 1 1 0 8 0 dirhash 1024 57 0 40 3 0 3 3 0 8 0 dino2pl 256 8545 0 6999 98 1 97 97 0 8 0 ffsino 296 8545 0 6999 120 0 120 120 0 8 0 nchpl 144 13559 0 11821 65 0 65 65 0 8 0 rtmask 32 29 0 29 7 6 1 1 0 8 1 vnodes 216 6459 0 0 359 0 359 359 0 8 0 namei 1024 50576 0 50576 1 0 1 1 0 8 1 percpumem 16 251 0 199 1 0 1 1 0 8 0 kstatmem 264 290 0 256 3 0 3 3 0 8 0 scsiplug 72 13 0 13 7 6 1 1 0 8 1 scxspl 216 100623 0 100623 15 14 1 8 1 8 1 plimitpl 152 1206 0 1189 1 0 1 1 0 8 0 sigapl 424 4067 0 4019 8 1 7 7 0 8 0 knotepl 120 615 0 0 17 0 17 17 0 8 0 kqueuepl 224 1661 0 1650 23 22 1 5 0 8 0 pipepl 344 556 0 526 12 6 6 9 0 8 3 fdescpl 528 4029 0 3998 3 0 3 3 0 8 0 filepl 160 29379 0 29146 39 23 16 20 0 8 2 lockfpl 104 1452 0 1449 2 1 1 2 0 8 0 lockfspl 48 511 0 508 1 0 1 1 0 8 0 sessionpl 144 52 0 43 1 0 1 1 0 8 0 pgrppl 48 111 0 94 1 0 1 1 0 8 0 ucredpl 104 4915 0 4901 1 0 1 1 0 8 0 zombiepl 144 4021 0 4019 1 0 1 1 0 8 0 processpl 1232 4067 0 4019 5 0 5 5 0 8 0 procpl 664 10004 0 9947 6 0 6 6 0 8 0 sosppl 168 21 0 21 6 5 1 1 0 8 1 sockpl 752 8319 0 8285 70 58 12 24 0 8 8 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 88 0 0 7 0 7 7 0 8 0 mtagpl 96 26 0 0 1 0 1 1 0 8 0 mbufpl 256 6457 0 0 401 0 401 401 0 8 0 bufpl 280 40581 0 33830 483 0 483 483 0 8 0 anonpl 32 18955 0 0 153 0 153 153 0 246 0 amapchunkpl 152 125169 0 124604 61 29 32 42 0 158 4 amappl16 200 13014 0 12974 79 59 20 46 0 8 7 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 169 0 157 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 4928 0 4897 3 0 3 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 7 0 6 2 1 1 1 0 8 0 amappl9 144 252 0 251 2 1 1 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 188 0 176 1 0 1 1 0 8 0 amappl6 120 338 0 334 1 0 1 1 0 8 0 amappl5 112 189 0 178 1 0 1 1 0 8 0 amappl4 104 373 0 352 1 0 1 1 0 8 0 amappl3 96 25282 0 25166 4 0 4 4 0 8 0 amappl2 88 974 0 908 2 0 2 2 0 8 0 amappl1 80 26761 0 26158 17 2 15 15 0 8 0 amappl 88 33799 0 33622 5 0 5 5 0 92 0 uvmvnodes 80 6459 0 0 132 0 132 132 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 2 0 2 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 2 0 2 1 0 1 1 0 8 1 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 22 0 3 1 0 1 1 0 8 0 uaddrrnd 24 4029 0 3998 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4029 0 3998 1 0 1 1 0 8 0 vmmpekpl 168 29756 0 29693 4 0 4 4 0 8 0 vmmpepl 168 256452 0 254412 140 34 106 129 0 357 3 vmsppl 488 4028 0 3998 5 0 5 5 0 8 0 rwobjpl 80 71544 0 64106 159 2 157 157 0 8 1 pdppl 4096 8065 0 7996 137 66 71 87 0 8 2 pvpl 32 26185 0 0 212 1 211 211 0 265 0 pmappl 256 4028 0 3998 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 761 0 124 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83825ff0) 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 __mp_lock(ffffffff839637b0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839637b0) at __mp_lock+0x199 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff839637b0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839637b0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x73080b3d7a50, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83825ff0) 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 __mp_lock(ffffffff839637b0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839637b0) at __mp_lock+0x199 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff839637b0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff839637b0) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x73080b3d7a50, count: -11 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7af9d3e81b00, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7af9d3e81b00, count: -1