uvm_fault(0xfffffd800b027988, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff827cebe8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c41a6a0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff827cebe8 Starting stack trace... panic(ffffffff833d061e) at panic+464 kerntrap(ffff80003c41a5f0) at kerntrap+779 alltraps_kern_meltdown() at alltraps_kern_meltdown+123 dt_ioctl_record_stop(ffff800001643000) at dt_ioctl_record_stop+264 dtclose(11e5f,81,2000,ffff80003c4442c8) at dtclose+265 spec_close(ffff80003c41a7a0) at spec_close+1126 VOP_CLOSE(fffffd807d48dd88,81,fffffd80097fb478,ffff80003c4442c8) at VOP_CLOSE+306 vn_closefile(fffffd806b54a8f8,ffff80003c4442c8) at vn_closefile+299 fdrop(fffffd806b54a8f8,ffff80003c4442c8) at fdrop+289 closef(fffffd806b54a8f8,ffff80003c4442c8) at closef+402 fdfree(ffff80003c4442c8) at fdfree+278 exit1(ffff80003c4442c8,0,0,1) at exit1+1398 sys_exit(ffff80003c4442c8,ffff80003c41ab10,ffff80003c41aa60) at sys_exit+26 syscall(ffff80003c41ab10) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x76dd03a3f620, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 302972784 EXIT 0 4 Stopped at savectx+174: movl $0,%gs:1672 TID PID UID PRFLAGS PFLAGS CPU COMMAND *423700 39799 0 0 0 1 syz-executor 368096 31496 0 0x14000 0x200 0 reaper savectx() at savectx+174 end of kernel end trace frame: 0x792bd1dcf910, 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(0xfffffd800b027988, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x792bd1dcf910, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603337232213376 rbx 0 rdx 0 rcx 18446603340516111576 rax 58 r8 18446603337232213168 r9 1 r10 17524267722973503433 r11 6930285826503787147 r12 0 r13 0 r14 18446603340516111576 r15 0 rip 18446744071581676526 savectx+174 cs 8 rflags 70 rsp 18446603337232213248 ss 16 savectx+174: movl $0,%gs:1672 ddb{1}> show proc PROC (syz-executor) tid=423700 pid=39799 tcnt=2 stat=onproc flags process=0 proc=0 runpri=84, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff3a08,0xffff8000ffff2fb8 process=0xffff8000fffe1d08 user=0xffff80003c429000, vmspace=0xfffffd8078933018 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *39799 423700 18053 0 7 0 syz-executor 39799 198845 18053 0 3 0x4000080 fsleep syz-executor 37362 486596 57120 0 2 0 syz-executor 37362 152276 57120 0 2 0x4000000 syz-executor 37362 153160 57120 0 3 0x4000080 fsleep syz-executor 67018 348806 54744 0 2 0 syz-executor 67018 458408 54744 0 3 0x4000080 fsleep syz-executor 67018 28061 54744 0 2 0x4000000 syz-executor 94734 285693 69856 0 3 0 vmmaplk syz-executor 94734 91912 69856 0 2 0x4000000 syz-executor 64844 131071 62582 0 3 0x3000 suspend syz-executor 64844 255496 62582 0 3 0x4081000 biowait syz-executor 64844 42027 62582 0 3 0x4081000 fltagain2 syz-executor 83217 36853 44833 0 3 0x82 sbwait sshd-session 54744 182327 20671 0 3 0x82 nanoslp syz-executor 62582 443471 20671 0 3 0x82 wait syz-executor 96948 237210 20671 0 3 0x2 biowait syz-executor 69856 11002 20671 0 3 0x82 nanoslp syz-executor 88216 252670 1 0 3 0x100083 ttyopn getty 10853 181838 20671 0 3 0x82 nanoslp syz-executor 57120 244635 20671 0 3 0x82 nanoslp syz-executor 18053 246797 20671 0 3 0x82 nanoslp syz-executor 34863 494989 20671 0 3 0x82 nanoslp syz-executor 20671 128181 9450 0 3 0x82 kqread syz-executor 9450 288499 62567 0 3 0x10008a sigsusp ksh 62567 205024 47154 0 3 0x98 kqread sshd-session 47154 238534 44833 0 3 0x92 kqread sshd-session 44833 282621 1 0 3 0x88 kqread sshd 46292 219451 67845 74 3 0x1100092 bpf pflogd 67845 399272 1 0 3 0x80 sbwait pflogd 72174 103595 19696 73 3 0x1100090 kqread syslogd 19696 37752 1 0 3 0x100082 sbwait syslogd 72488 355346 1 0 3 0x100080 kqread resolvd 35333 215553 98043 77 3 0x100092 kqread dhcpleased 54422 356704 98043 77 3 0x100092 kqread dhcpleased 98043 128938 1 0 3 0x80 kqread dhcpleased 75187 265711 0 0 3 0x14200 bored smr 87270 434390 0 0 3 0x14200 pgzero zerothread 80835 216855 0 0 3 0x14200 aiodoned aiodoned 65644 52489 0 0 3 0x14200 syncer update 61058 457853 0 0 3 0x14200 cleaner cleaner 31496 368096 0 0 7 0x14200 reaper 91714 72895 0 0 3 0x14200 pgdaemon pagedaemon 34880 63836 0 0 3 0x14200 bored viomb 40210 140406 0 0 3 0x40014200 acpi0 acpi0 27293 255244 0 0 3 0x40014200 idle1 47647 456331 0 0 3 0x14200 bored softnet1 5839 185846 0 0 3 0x14200 netlock softnet0 12898 180675 0 0 2 0x40014200 systqmp 95381 174982 0 0 3 0x14200 bored systq 86536 100738 0 0 3 0x14200 tmoslp softclockmp 8749 438698 0 0 3 0x40014200 tmoslp softclock 28830 375947 0 0 3 0x40014200 idle0 1 169572 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 94734 (syz-executor) thread 0xffff80003c445a20 (91912) Process 64844 (syz-executor) thread 0xffff8000337e5a28 (255496) Process 96948 (syz-executor) thread 0xffff80003c444a90 (237210) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10252 11165K 11713K 166960K 15003 0 pcb 17 18K 20K 166960K 778 0 rtable 186 11K 12K 166960K 805 0 pf 35 17K 67486K 166960K 263 0 ifaddr 33 5K 8K 166960K 175 0 ifgroup 55 2K 3K 166960K 298 0 sysctl 4 1K 9K 166960K 28 0 counters 68 36K 38K 166960K 318 0 ioctlops 0 0K 4K 166960K 1938 0 iov 1 2K 18K 166960K 256 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1520 96K 96K 166960K 3702 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 142 0 dirhash 12 2K 3K 166960K 66 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 2577 0 sigio 0 0K 0K 166960K 50 0 proc 73 115K 180K 166960K 968 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 762 0 in_multi 37 2K 7K 166960K 250 0 ether_multi 1 0K 0K 166960K 31 0 mrt 2 0K 0K 166960K 30 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 824 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 255 169K 188K 166960K 25660 0 UVM aobj 77 23K 23K 166960K 87 0 pinsyscall 43 86K 107K 166960K 3844 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 232 0 NDP 12 0K 2K 166960K 125 0 temp 79 8664K 8736K 166960K 117259 0 kqueue 13 20K 36K 166960K 462 0 SYN cache 2 0K 16K 166960K 4 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 228 0 225 1 0 1 1 0 8 0 rtentry 176 243 0 181 6 0 6 6 0 8 0 unpcb 144 2151 0 2130 18 16 2 6 0 8 1 syncache 336 13 0 13 5 4 1 1 0 8 1 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 820 0 810 19 12 7 7 0 8 6 arp 136 39 0 20 1 0 1 1 0 8 0 inpcb 328 3284 0 3267 33 25 8 15 0 8 6 nd6 152 46 0 40 2 1 1 2 0 8 0 pkpcb 40 23 0 23 7 6 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1192 98 0 98 3 2 1 1 0 8 1 pppxif 1504 8 0 8 5 4 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 20 0 10 1 0 1 1 0 482 0 pffrnode 88 17 0 9 1 0 1 1 0 8 0 pffrent 40 66 0 56 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 5 0 5 1 1 0 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 64 0 56 1 0 1 1 0 8 0 pfstkey 128 66 0 58 2 0 2 2 0 8 0 pfstate 448 65 0 57 7 4 3 7 0 8 0 pfrule 1344 29 0 22 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 7 0 3 7 3 4 5 0 8 0 art_heap4 256 1069 0 893 31 16 15 30 0 8 0 art_table 40 1076 0 896 5 1 4 5 0 8 0 art_node 32 239 0 190 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 13 2 1 1 1 0 8 0 semupl 112 4 0 4 3 3 0 1 0 8 0 semapl 112 133 0 123 1 0 1 1 0 8 0 shmpl 112 74 0 9 2 0 2 2 0 8 0 dirhash 1024 53 0 36 3 0 3 3 0 8 0 dino2pl 256 6262 0 4749 97 1 96 96 0 8 0 ffsino 296 6262 0 4749 119 1 118 118 0 8 0 nchpl 144 9782 0 8066 64 0 64 64 0 8 0 rtmask 32 17 0 17 5 5 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 35379 0 35378 3 2 1 2 0 8 0 percpumem 16 174 0 125 1 0 1 1 0 8 0 vcpupl 3968 9 0 0 2 0 2 2 0 8 0 vmpool 840 10 0 1 1 0 1 1 0 8 0 kstatmem 264 200 0 170 3 0 3 3 0 8 0 scsiplug 72 16 0 16 6 5 1 1 0 8 1 scxspl 216 54474 0 54472 14 12 2 8 1 8 1 plimitpl 152 863 0 845 1 0 1 1 0 8 0 sigapl 424 2855 0 2807 8 1 7 8 0 8 0 knotepl 120 562 0 0 17 0 17 17 0 8 0 kqueuepl 224 977 0 968 9 8 1 3 0 8 0 pipepl 344 370 0 341 3 0 3 3 0 8 0 fdescpl 528 2813 0 2782 3 0 3 3 0 8 0 filepl 160 20351 0 20122 40 26 14 21 0 8 3 lockfpl 104 1030 0 1028 2 1 1 2 0 8 0 lockfspl 48 403 0 401 1 0 1 1 0 8 0 sessionpl 144 36 0 26 1 0 1 1 0 8 0 pgrppl 48 172 0 154 1 0 1 1 0 8 0 ucredpl 104 3895 0 3882 1 0 1 1 0 8 0 zombiepl 144 4276 0 4273 1 0 1 1 0 8 0 processpl 1232 2855 0 2807 6 1 5 6 0 8 0 procpl 664 7157 0 7099 8 1 7 8 0 8 0 sosppl 176 22 0 22 4 3 1 1 0 8 1 sockpl 752 5759 0 5717 52 40 12 20 0 8 7 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 46 0 0 5 0 5 5 0 8 0 mtagpl 96 81 0 0 2 0 2 2 0 8 0 mbufpl 256 1514 0 0 94 0 94 94 0 8 0 bufpl 280 20208 0 14071 439 0 439 439 0 8 0 anonpl 32 12894 0 0 106 2 104 104 0 246 0 amapchunkpl 152 90807 0 90235 57 22 35 37 0 158 4 amappl16 200 9238 0 8842 46 25 21 25 0 8 0 amappl15 192 18 0 18 1 1 0 1 0 8 0 amappl14 184 34 0 34 2 2 0 1 0 8 0 amappl13 176 540 0 539 1 0 1 1 0 8 0 amappl12 168 3234 0 3191 3 0 3 3 0 8 0 amappl11 160 70 0 69 2 1 1 1 0 8 0 amappl10 152 57 0 43 1 0 1 1 0 8 0 amappl9 144 255 0 255 2 2 0 1 0 8 0 amappl8 136 29 0 25 1 0 1 1 0 8 0 amappl7 128 106 0 104 1 0 1 1 0 8 0 amappl6 120 356 0 341 1 0 1 1 0 8 0 amappl5 112 86 0 74 1 0 1 1 0 8 0 amappl4 104 488 0 455 1 0 1 1 0 8 0 amappl3 96 15486 0 15397 4 1 3 3 0 8 0 amappl2 88 2968 0 2884 3 0 3 3 0 8 1 amappl1 80 21037 0 20370 17 1 16 16 0 8 1 amappl 88 24393 0 24224 5 0 5 5 0 92 0 uvmvnodes 80 199 0 0 5 0 5 5 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 256 0 256 3 2 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 86 0 10 2 0 2 2 0 8 0 uaddrrnd 24 2813 0 2782 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2813 0 2782 1 0 1 1 0 8 0 vmmpekpl 168 23542 0 23482 3 0 3 3 0 8 0 vmmpepl 168 184193 0 181805 138 29 109 109 0 357 0 vmsppl 488 2812 0 2781 6 1 5 5 0 8 0 rwobjpl 80 49515 0 47844 39 4 35 35 0 8 0 pdppl 4096 5654 0 5573 140 57 83 88 0 8 2 pvpl 32 19930 0 0 161 0 161 161 0 265 0 pmappl 256 2822 0 2782 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 437 0 102 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffffffff83846ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff83960c80) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff83960c80) at __mp_lock+402 intr_handler(ffff80002a244320,ffff80000006b400) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 rw_do_enter_write(ffffffff839ea160,0) at rw_do_enter_write+685 vm_map_lock_ln(ffffffff839ea078,0,0) at vm_map_lock_ln+302 uvm_unmap(ffffffff839ea078,ffff80002a368000,ffff80002a36e000) at uvm_unmap+125 km_free(ffff80002a368000,6000,ffffffff83543c10,ffffffff837032a0) at km_free+135 end trace frame: 0xffff80002a2445b0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83846ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff83960c80) at __mp_lock+402 softintr_dispatch(2) at softintr_dispatch+293 dosoftint(2) at dosoftint+84 Xsofttty() at Xsofttty+39 __mp_lock(ffffffff83960c80) at __mp_lock+402 intr_handler(ffff80002a244320,ffff80000006b400) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 rw_do_enter_write(ffffffff839ea160,0) at rw_do_enter_write+685 vm_map_lock_ln(ffffffff839ea078,0,0) at vm_map_lock_ln+302 uvm_unmap(ffffffff839ea078,ffff80002a368000,ffff80002a36e000) at uvm_unmap+125 km_free(ffff80002a368000,6000,ffffffff83543c10,ffffffff837032a0) at km_free+135 uvm_uarea_free(ffff8000ffff2a78) at uvm_uarea_free+79 reaper(ffff8000ffffdc90) at reaper+458 end trace frame: 0x0, count: -16 ddb{0}> machine ddbcpu 1 Stopped at savectx+174: movl $0,%gs:1672 savectx() at savectx+174 end of kernel end trace frame: 0x792bd1dcf910, count: 14 ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x792bd1dcf910, count: -1