uvm_fault(0xfffffd800b0635b8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff830ea0b8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c40dc20 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff830ea0b8 Starting stack trace... panic(ffffffff833e2394) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c40db70) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000149b000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff8000337e6028) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000337e6028) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c40dd20) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd800ddd4608,81,fffffd80097fd3a8,ffff8000337e6028) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c9fda40,ffff8000337e6028) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c9fda40,ffff8000337e6028) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c9fda40,ffff8000337e6028) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c9fda40,ffff8000337e6028) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000337e6028) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000337e6028,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000337e6028,ffff80003c40e090,ffff80003c40dfe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c40e090) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c40e090) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77555e7969f0, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 2 -1904285306 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 329005 12090 0 0x2 0x1 0 syz-executor *355327 69422 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x785f007e0c30, 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(0xfffffd800b0635b8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x785f007e0c30, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a377f80 rbx 0 rdx 0 rcx 0xffff8000337e6fb8 rax 0x3b r8 0xffff80002a377eb0 r9 0x1 r10 0x15f10a48b43e1934 r11 0x8f355b3902cca27 r12 0 r13 0 r14 0xffff8000337e6fb8 r15 0 rip 0xffffffff831363ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a377f00 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=355327 pid=69422 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000337e7780,0xffff8000343f5cc8 process=0xffff8000ffff1cf0 user=0xffff80002a372000, vmspace=0xfffffd80704ccb78 estcpu=36, cpticks=127, pctcpu=0.32, user=3, sys=122, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80376 174445 69422 0 2 0 syz-executor 80376 161869 69422 0 2 0x4000000 syz-executor 42187 424630 52700 0 2 0 syz-executor 42187 235174 52700 0 2 0x4000000 syz-executor 56520 424389 49379 0 2 0 syz-executor 56520 447921 49379 0 3 0x4000080 fsleep syz-executor 51176 14330 87178 0 2 0 syz-executor 51176 315412 87178 0 3 0x4000080 pipewr syz-executor 51176 128430 87178 0 2 0x4000000 syz-executor 43293 462545 12090 0 2 0xc80 syz-executor 43293 459727 12090 0 3 0x4000080 sbwait syz-executor 43293 294460 12090 0 3 0x4000080 fsleep syz-executor 49088 512933 73939 0 2 0 syz-executor 49088 477994 73939 0 3 0x4000080 fsleep syz-executor 67539 228874 1 0 2 0x100083 getty 9473 90241 22162 0 2 0xc82 syz-executor 73939 124817 22162 0 2 0xc82 syz-executor 78925 127576 0 0 3 0x14200 acct acct 12090 329005 22162 0 7 0x3 syz-executor 49379 505780 22162 0 2 0xc82 syz-executor 52700 144533 22162 0 2 0xc82 syz-executor *69422 355327 22162 0 7 0x2 syz-executor 51262 371464 22162 0 2 0xc82 syz-executor 87178 89245 22162 0 2 0x2 syz-executor 22162 483445 31693 0 3 0x82 kqread syz-executor 31693 159313 88067 0 3 0x10008a sigsusp ksh 88067 502514 60411 0 3 0x98 kqread sshd-session 60411 129350 81597 0 3 0x92 kqread sshd-session 81597 224795 1 0 3 0x88 kqread sshd 53476 168608 32777 74 3 0x1100092 bpf pflogd 32777 296494 1 0 3 0x80 sbwait pflogd 37596 332196 23267 73 3 0x1100090 kqread syslogd 23267 314263 1 0 3 0x100082 sbwait syslogd 96190 109692 1 0 3 0x100080 kqread resolvd 21142 113391 63078 77 3 0x100092 kqread dhcpleased 49772 512890 63078 77 3 0x100092 kqread dhcpleased 63078 90226 1 0 3 0x80 kqread dhcpleased 55088 271556 0 0 3 0x14200 bored smr 50419 462689 0 0 3 0x14200 pgzero zerothread 96513 409590 0 0 3 0x14200 aiodoned aiodoned 62480 15514 0 0 2 0x14e00 update 2798 103884 0 0 3 0x14200 cleaner cleaner 13923 350869 0 0 3 0x14200 reaper reaper 63249 418451 0 0 3 0x14200 pgdaemon pagedaemon 4510 326575 0 0 3 0x14200 bored viomb 30059 443292 0 0 3 0x40014200 acpi0 acpi0 87395 338928 0 0 3 0x40014200 idle1 65527 424747 0 0 3 0x14200 bored softnet1 20929 158630 0 0 3 0x14200 netlock softnet0 12428 412466 0 0 2 0x40014200 systqmp 33600 166571 0 0 3 0x14200 bored systq 96860 318027 0 0 3 0x14200 tmoslp softclockmp 16050 283313 0 0 3 0x40014200 tmoslp softclock 39127 519036 0 0 3 0x40014200 idle0 1 45150 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 10260 11114K 12494K 166960K 16796 0 pcb 18 20K 22K 166960K 2132 0 rtable 237 15K 16K 166960K 1666 0 pf 40 19K 83K 166960K 901 0 ifaddr 37 10K 12K 166960K 456 0 ifgroup 55 2K 3K 166960K 912 0 sysctl 4 1K 9K 166960K 70 0 counters 70 37K 38K 166960K 1310 0 ioctlops 0 0K 8K 166960K 3842 0 iov 0 0K 28K 166960K 776 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1510 95K 95K 166960K 7455 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 111 0 VM map 2 1K 1K 166960K 2 0 sem 28 137K 137K 166960K 152 0 dirhash 12 2K 2K 166960K 147 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 7925 0 sigio 2 0K 0K 166960K 291 0 proc 76 115K 164K 166960K 1893 0 subproc 72 4K 4K 166960K 244 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1303 0 in_multi 64 4K 7K 166960K 565 0 ether_multi 1 0K 0K 166960K 94 0 mrt 1 0K 0K 166960K 57 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 2499 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 10 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 257 168K 193K 166960K 72891 0 UVM aobj 62 54K 56K 166960K 72 0 pinsyscall 43 86K 106K 166960K 9565 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 656 0 NDP 12 0K 2K 166960K 351 0 temp 88 8680K 9196K 166960K 402881 0 kqueue 14 22K 32K 166960K 1498 0 SYN cache 2 16K 16K 166960K 2 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 1003 0 999 6 5 1 3 0 8 0 rtentry 176 464 0 381 6 1 5 6 0 8 0 unpcb 144 6019 0 6002 44 40 4 6 0 8 3 syncache 336 12 0 12 6 6 0 1 0 8 0 tcpqe 32 2 0 2 2 2 0 1 0 8 0 tcpcb 736 2858 0 2854 45 38 7 7 0 8 6 arp 136 68 0 51 1 0 1 1 0 8 0 inpcb 328 10374 0 10366 89 82 7 15 0 8 5 nd6 152 99 0 80 2 0 2 2 0 8 0 pkpcb 40 102 0 102 12 11 1 1 0 8 1 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 11 0 11 7 7 0 1 0 8 0 ppxss 1192 512 0 512 5 4 1 1 0 8 1 pppxif 1504 114 0 114 12 12 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 53 0 38 1 0 1 1 0 482 0 pffrnode 88 43 0 30 1 0 1 1 0 8 0 pffrent 40 139 0 124 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 pfrktable 1344 23 0 23 10 10 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 458 0 345 1 0 1 1 0 8 0 pfstkey 128 464 0 353 5 0 5 5 0 8 0 pfstate 448 459 0 349 16 0 16 16 0 8 0 pfrule 1344 36 0 30 2 1 1 2 0 8 0 rttmr 136 7 0 7 4 4 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1955 0 1642 37 14 23 33 0 8 1 art_table 40 1960 0 1642 6 1 5 6 0 8 0 art_node 32 450 0 378 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 10 2 1 1 1 0 8 0 semupl 112 6 0 6 5 5 0 1 0 8 0 semapl 112 140 0 114 1 0 1 1 0 8 0 shmpl 112 36 0 1 1 0 1 1 0 8 0 dirhash 1024 108 0 91 3 0 3 3 0 8 0 dino2pl 256 16599 0 15037 99 0 99 99 0 8 0 ffsino 296 16599 0 15037 121 0 121 121 0 8 0 nchpl 144 27860 0 27288 65 40 25 65 0 8 0 rtmask 32 69 0 69 10 9 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 101206 0 101206 6 5 1 2 0 8 1 percpumem 16 670 0 620 1 0 1 1 0 8 0 vcpupl 3968 25 0 1 3 0 3 3 0 8 0 vmpool 840 33 0 9 3 0 3 3 0 8 0 kstatmem 264 596 0 566 4 1 3 3 0 8 0 acpiwqpl 32 4 0 4 1 0 1 1 1 8 1 scsiplug 72 33 0 33 14 13 1 1 0 8 1 scxspl 216 166508 0 166508 19 17 2 8 1 8 2 plimitpl 152 2327 0 2309 1 0 1 1 0 8 0 sigapl 424 8194 0 8145 8 2 6 7 0 8 0 knotepl 120 751 0 0 22 0 22 22 0 8 0 kqueuepl 224 3827 0 3817 36 34 2 9 0 8 0 pipepl 344 1183 0 1154 10 7 3 6 0 8 0 fdescpl 528 8142 0 8110 3 0 3 3 0 8 0 filepl 160 62347 0 62121 62 48 14 20 0 8 0 lockfpl 104 3602 0 3600 4 3 1 2 0 8 0 lockfspl 48 1198 0 1196 1 0 1 1 0 8 0 sessionpl 144 57 0 48 1 0 1 1 0 8 0 pgrppl 48 259 0 242 1 0 1 1 0 8 0 ucredpl 104 10574 0 10560 1 0 1 1 0 8 0 zombiepl 144 9472 0 9470 2 1 1 1 0 8 0 processpl 1232 8194 0 8145 5 0 5 5 0 8 0 procpl 664 21335 0 21278 8 2 6 7 0 8 0 sosppl 176 55 0 55 16 15 1 1 0 8 1 sockpl 752 17738 0 17709 151 140 11 23 0 8 7 mcl64k 65536 25 0 0 4 0 4 4 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 143 0 0 18 0 18 18 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 83 0 0 7 1 6 6 0 8 0 mtagpl 96 63 0 0 2 0 2 2 0 8 0 mbufpl 256 1347 0 0 77 0 77 77 0 8 0 bufpl 280 67506 0 61369 439 0 439 439 0 8 0 anonpl 32 17283 0 0 139 0 139 139 0 246 0 amapchunkpl 152 274598 0 273987 118 83 35 38 0 158 8 amappl16 200 24953 0 24875 177 162 15 41 0 8 1 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 3 0 3 2 2 0 1 0 8 0 amappl13 176 658 0 656 1 0 1 1 0 8 0 amappl12 168 8657 0 8614 3 0 3 3 0 8 0 amappl11 160 6 0 6 3 3 0 1 0 8 0 amappl10 152 69 0 55 1 0 1 1 0 8 0 amappl9 144 262 0 261 2 1 1 1 0 8 0 amappl8 136 42 0 38 1 0 1 1 0 8 0 amappl7 128 155 0 153 1 0 1 1 0 8 0 amappl6 120 527 0 513 1 0 1 1 0 8 0 amappl5 112 80 0 69 1 0 1 1 0 8 0 amappl4 104 576 0 543 1 0 1 1 0 8 0 amappl3 96 46000 0 45902 4 1 3 3 0 8 0 amappl2 88 8280 0 8201 2 0 2 2 0 8 0 amappl1 80 44624 0 44021 17 2 15 15 0 8 0 amappl 88 70519 0 70339 5 0 5 5 0 92 0 uvmvnodes 80 278 0 0 6 0 6 6 0 8 0 dma65536 65536 5 0 5 4 3 1 1 0 8 1 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 4 0 4 4 3 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 3 0 3 3 3 0 1 0 8 0 dma256 256 9 0 9 4 3 1 1 0 8 1 dma128 128 264 0 264 12 12 0 1 0 8 0 dma64 64 11 0 11 6 6 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 71 0 10 2 0 2 2 0 8 0 uaddrrnd 24 8142 0 8110 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8142 0 8110 1 0 1 1 0 8 0 vmmpekpl 168 57665 0 57600 4 0 4 4 0 8 0 vmmpepl 168 507999 0 505930 193 91 102 120 0 357 3 vmsppl 488 8141 0 8110 6 1 5 5 0 8 1 rwobjpl 80 122163 0 120822 50 16 34 41 0 8 0 pdppl 4096 16358 0 16262 164 68 96 98 0 8 0 pvpl 32 23853 0 0 190 0 190 190 0 265 0 pmappl 256 8174 0 8119 5 1 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 520 0 155 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837eaff0) 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(ffffffff83962168) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83962168) 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:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83962168) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83962168) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsysret(ffff8000fffee018,5b,0,ffff80003c443f50) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff8000fffee018,5b,0,ffff80003c443f50) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80003c444000) at syscall+0xa50 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c444000) at syscall+0xa50 sys/arch/amd64/amd64/trap.c:796 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da21f95b410, count: 4 ddb{0}> trace x86_ipi_db(ffffffff837eaff0) 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(ffffffff83962168) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83962168) 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:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83962168) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83962168) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsysret(ffff8000fffee018,5b,0,ffff80003c443f50) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff8000fffee018,5b,0,ffff80003c443f50) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80003c444000) at syscall+0xa50 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c444000) at syscall+0xa50 sys/arch/amd64/amd64/trap.c:796 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da21f95b410, count: -11 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x785f007e0c30, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x785f007e0c30, count: -1