uvm_fault(0xfffffd806c2125d0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff828f47b8 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a32d460 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff828f47b8 Starting stack trace... panic(ffffffff833c98d0) at panic+464 kerntrap(ffff80002a32d3b0) at kerntrap+779 alltraps_kern_meltdown() at alltraps_kern_meltdown+123 dt_ioctl_record_stop(ffff800001735000) at dt_ioctl_record_stop+264 dtclose(11e5f,81,2000,ffff80003ac274e8) at dtclose+265 spec_close(ffff80002a32d560) at spec_close+1126 VOP_CLOSE(fffffd805ecc77f0,81,fffffd80097fb680,ffff80003ac274e8) at VOP_CLOSE+306 vn_closefile(fffffd805be9dbb8,ffff80003ac274e8) at vn_closefile+299 fdrop(fffffd805be9dbb8,ffff80003ac274e8) at fdrop+289 closef(fffffd805be9dbb8,ffff80003ac274e8) at closef+402 fdfree(ffff80003ac274e8) at fdfree+278 exit1(ffff80003ac274e8,0,0,1) at exit1+1398 sys_exit(ffff80003ac274e8,ffff80002a32d8d0,ffff80002a32d820) at sys_exit+26 syscall(ffff80002a32d8d0) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x7f132ec16b80, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 606375104 EXIT 0 4 Stopped at savectx+174: movl $0,%gs:1672 TID PID UID PRFLAGS PFLAGS CPU COMMAND *444587 11573 0 0 0 1 syz-executor 303784 64668 0 0x14000 0x200 0 reaper savectx() at savectx+174 end of kernel end trace frame: 0x7be94ebc1b00, 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}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806c2125d0, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x7be94ebc1b00, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603336929567072 rbx 0 rdx 0 rcx 18446603337207016072 rax 58 r8 18446603336929566864 r9 1 r10 13915908597302694378 r11 557147600793119324 r12 0 r13 0 r14 18446603337207016072 r15 0 rip 18446744071590097902 savectx+174 cs 8 rflags 70 rsp 18446603336929566944 ss 16 savectx+174: movl $0,%gs:1672 ddb{1}> show proc PROC (syz-executor) tid=444587 pid=11573 tcnt=3 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003ac27cb0,0xffff80003ac26038 process=0xffff80003c4b66a8 user=0xffff80002a389000, vmspace=0xfffffd806c1739a8 estcpu=36, cpticks=21, pctcpu=0.0, user=20, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 82681 11750 9418 0 2 0 syz-executor 82681 458386 9418 0 3 0x4000080 kqread syz-executor 14976 225484 86628 0 2 0 syz-executor 14976 469082 86628 0 3 0x4000080 kqsel syz-executor 14976 360039 86628 0 2 0x4000000 syz-executor 14976 72809 86628 0 3 0x4000080 fsleep syz-executor *11573 444587 31691 0 7 0 syz-executor 11573 312603 31691 0 3 0x4000080 fsleep syz-executor 11573 313602 31691 0 3 0x4000080 fsleep syz-executor 12480 67872 44634 0 3 0x80 nanoslp syz-executor 12480 198896 44634 0 3 0x4000080 kqread syz-executor 12480 98310 44634 0 3 0x4000080 fsleep syz-executor 42690 300753 71730 0 2 0x2 syz-executor 44634 108079 71730 0 3 0x82 nanoslp syz-executor 25490 463186 71730 0 3 0x82 nanoslp syz-executor 23187 266146 0 0 3 0x14200 acct acct 12098 346266 71730 0 3 0x2 biowait syz-executor 31691 13508 71730 0 3 0x82 nanoslp syz-executor 86628 123899 71730 0 3 0x82 nanoslp syz-executor 9418 377155 71730 0 3 0x82 nanoslp syz-executor 43243 368753 71730 0 3 0x82 nanoslp syz-executor 4099 349224 1 0 3 0x100083 ttyopn getty 71730 152470 91221 0 3 0x82 kqread syz-executor 91221 401688 12596 0 3 0x10008a sigsusp ksh 12596 399331 49770 0 3 0x98 kqread sshd-session 49770 447778 77695 0 3 0x92 kqread sshd-session 77695 281511 1 0 3 0x88 kqread sshd 69832 453764 95887 74 3 0x1100092 bpf pflogd 95887 516906 1 0 3 0x80 sbwait pflogd 48706 314299 14094 73 3 0x1100090 kqread syslogd 14094 351950 1 0 3 0x100082 sbwait syslogd 53928 376722 1 0 3 0x100080 kqread resolvd 19085 289298 12687 77 3 0x100092 kqread dhcpleased 40661 452155 12687 77 3 0x100092 kqread dhcpleased 12687 298456 1 0 3 0x80 kqread dhcpleased 3961 155596 0 0 3 0x14200 bored smr 78980 276893 0 0 2 0x14200 zerothread 9790 32184 0 0 3 0x14200 aiodoned aiodoned 91709 387479 0 0 3 0x14200 syncer update 82346 164789 0 0 3 0x14200 cleaner cleaner 64668 303784 0 0 7 0x14200 reaper 46228 326790 0 0 3 0x14200 pgdaemon pagedaemon 26002 519401 0 0 3 0x14200 bored viomb 46202 271621 0 0 3 0x40014200 acpi0 acpi0 9755 310806 0 0 3 0x40014200 idle1 36296 9457 0 0 3 0x14200 bored softnet1 46616 61931 0 0 3 0x14200 netlock softnet0 26988 428381 0 0 2 0x40014200 systqmp 26702 326203 0 0 3 0x14200 bored systq 20461 310108 0 0 3 0x14200 tmoslp softclockmp 7929 332381 0 0 3 0x40014200 tmoslp softclock 44793 388607 0 0 3 0x40014200 idle0 1 507978 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 42690 (syz-executor) thread 0xffff80003ac26d20 (300753) Process 12098 (syz-executor) thread 0xffff80003ac0e7f8 (346266) Process 64668 (reaper) thread 0xffff8000ffffdc90 (303784) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10256 11141K 13838K 166960K 21538 0 pcb 18 20K 28K 166960K 1333 0 rtable 270 19K 20K 166960K 2034 0 pf 37 18K 67486K 166960K 730 0 ifaddr 40 10K 12K 166960K 497 0 ifgroup 59 2K 3K 166960K 932 0 sysctl 4 1K 9K 166960K 73 0 counters 70 37K 39K 166960K 1364 0 ioctlops 0 0K 4K 166960K 3114 0 iov 0 0K 36K 166960K 658 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1681 106K 106K 166960K 7922 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 92 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 543 0 dirhash 12 2K 2K 166960K 117 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 5980 0 sigio 0 0K 0K 166960K 219 0 proc 73 115K 164K 166960K 1952 0 subproc 67 4K 4K 166960K 369 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 733 0 in_multi 69 5K 7K 166960K 645 0 ether_multi 1 0K 0K 166960K 64 0 mrt 1 0K 0K 166960K 53 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 289 1288K 1288K 166960K 289 0 exec 0 0K 1K 166960K 1540 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 13 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 159K 192K 166960K 53571 0 UVM aobj 51 48K 48K 166960K 56 0 pinsyscall 41 82K 100K 166960K 7927 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 467 0 NDP 13 0K 2K 166960K 386 0 temp 88 8660K 8797K 166960K 278623 0 kqueue 15 22K 32K 166960K 1145 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 740 0 736 8 7 1 3 0 8 0 rtentry 176 629 0 540 6 1 5 6 0 8 0 unpcb 144 4631 0 4614 27 26 1 7 0 8 0 syncache 336 10 0 10 4 4 0 1 0 8 0 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 2550 0 2478 61 54 7 10 0 8 0 arp 136 109 0 89 1 0 1 1 0 8 0 inpcb 328 7936 0 7792 80 67 13 13 0 8 1 nd6 152 134 0 113 1 0 1 1 0 8 0 pkpcb 40 119 0 119 9 9 0 1 0 8 0 kcovpl 48 40 0 33 1 0 1 1 0 8 0 mppekey 1024 5 0 5 5 5 0 1 0 8 0 ppxss 1192 537 0 537 5 5 0 1 0 8 0 pppxif 1504 127 0 127 9 9 0 1 0 8 0 pffrag 232 59 0 53 2 1 1 2 0 482 0 pffrnode 88 46 0 40 1 0 1 1 0 8 0 pffrent 40 160 0 154 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 11 0 11 9 9 0 1 0 8 0 pfstitem 24 368 0 314 1 0 1 1 0 8 0 pfstkey 128 368 0 314 5 1 4 5 0 8 0 pfstate 384 368 0 314 13 2 11 13 0 8 0 pfrule 1344 22 0 16 2 1 1 2 0 8 0 rttmr 136 5 0 5 3 3 0 1 0 8 0 art_heap8 4096 6 0 1 6 1 5 5 0 8 0 art_heap4 256 2539 0 2207 44 20 24 29 0 8 0 art_table 40 2545 0 2208 5 0 5 5 0 8 0 art_node 32 617 0 541 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 1 0 1 1 0 8 0 semupl 112 4 0 4 4 4 0 1 0 8 0 semapl 112 537 0 527 1 0 1 1 0 8 0 shmpl 112 28 0 2 1 0 1 1 0 8 0 dirhash 1024 87 0 70 3 0 3 3 0 8 0 dino2pl 256 12448 0 10867 99 0 99 99 0 8 0 ffsino 296 12448 0 10867 123 1 122 122 0 8 0 nchpl 144 20142 0 18345 67 0 67 67 0 8 0 rtmask 32 83 0 83 9 9 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 77394 0 77393 4 3 1 2 0 8 0 percpumem 16 697 0 647 1 0 1 1 0 8 0 vcpupl 3968 25 0 3 3 0 3 3 0 8 0 vmpool 840 25 0 3 3 0 3 3 0 8 0 kstatmem 264 616 0 584 8 5 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 24 0 24 12 12 0 1 0 8 0 scxspl 216 113745 0 113744 20 19 1 8 1 8 0 plimitpl 152 1613 0 1596 1 0 1 1 0 8 0 sigapl 424 6229 0 6182 8 2 6 8 0 8 0 knotepl 120 779 0 0 23 0 23 23 0 8 0 kqueuepl 224 2576 0 2564 24 22 2 5 0 8 1 pipepl 344 850 0 823 12 9 3 6 0 8 0 fdescpl 528 6173 0 6143 3 0 3 3 0 8 0 filepl 160 47448 0 47102 55 40 15 19 0 8 0 lockfpl 104 3042 0 3038 5 4 1 2 0 8 0 lockfspl 48 1249 0 1246 1 0 1 1 0 8 0 sessionpl 144 60 0 51 1 0 1 1 0 8 0 pgrppl 48 216 0 199 1 0 1 1 0 8 0 ucredpl 104 7906 0 7893 1 0 1 1 0 8 0 zombiepl 144 7037 0 7034 2 1 1 1 0 8 0 processpl 1232 6229 0 6182 7 2 5 6 0 8 0 procpl 664 15146 0 15090 9 3 6 8 0 8 0 sosppl 176 47 0 47 12 12 0 1 0 8 0 sockpl 752 13706 0 13540 144 127 17 27 0 8 0 mcl64k 65536 25 0 0 4 0 4 4 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 122 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 58 0 0 6 0 6 6 0 8 0 mtagpl 96 39 0 0 1 0 1 1 0 8 0 mbufpl 256 1239 0 0 75 0 75 75 0 8 0 bufpl 280 44613 0 38476 439 0 439 439 0 8 0 anonpl 32 14139 0 0 114 0 114 114 0 246 0 amapchunkpl 152 192227 0 191745 94 64 30 36 0 158 9 amappl16 200 17880 0 17849 124 110 14 31 0 8 6 amappl15 192 33 0 33 1 1 0 1 0 8 0 amappl14 184 6 0 6 2 2 0 1 0 8 0 amappl13 176 812 0 811 1 0 1 1 0 8 0 amappl12 168 6740 0 6699 3 0 3 3 0 8 0 amappl11 160 8 0 7 3 2 1 1 0 8 0 amappl10 152 51 0 37 1 0 1 1 0 8 0 amappl9 144 252 0 252 2 2 0 1 0 8 0 amappl8 136 32 0 29 1 0 1 1 0 8 0 amappl7 128 208 0 205 1 0 1 1 0 8 0 amappl6 120 670 0 655 1 0 1 1 0 8 0 amappl5 112 81 0 70 1 0 1 1 0 8 0 amappl4 104 609 0 577 1 0 1 1 0 8 0 amappl3 96 33632 0 33540 4 1 3 3 0 8 0 amappl2 88 6206 0 6128 2 0 2 2 0 8 0 amappl1 80 36173 0 35597 16 1 15 15 0 8 0 amappl 88 51308 0 51145 5 0 5 5 0 92 0 uvmvnodes 80 246 0 0 6 0 6 6 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 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 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 10 0 10 4 4 0 1 0 8 0 dma128 128 260 0 260 7 7 0 1 0 8 0 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 55 0 5 1 0 1 1 0 8 0 uaddrrnd 24 6173 0 6143 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6173 0 6143 1 0 1 1 0 8 0 vmmpekpl 168 43330 0 43267 4 0 4 4 0 8 0 vmmpepl 168 383914 0 382022 167 69 98 118 0 357 0 vmsppl 488 6172 0 6143 5 0 5 5 0 8 0 rwobjpl 80 92904 0 91677 46 10 36 38 0 8 0 pdppl 4096 12404 0 12314 183 89 94 97 0 8 4 pvpl 32 22067 0 0 178 1 177 177 0 265 0 pmappl 256 6197 0 6146 4 0 4 4 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 525 0 185 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffffffff837c5ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff83922fc0) at __mp_lock+402 intr_handler(ffff80002a244820,ffff80000006ac00) at intr_handler+233 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+399 __mp_lock(ffffffff83922fc0) at __mp_lock+402 intr_handler(ffff80002a244980,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 __sanitizer_cov_trace_const_cmp4(400,4) at __sanitizer_cov_trace_const_cmp4+46 msleep_nsec(ffffffff8383b918,ffffffff8383b8e0,4,ffffffff833a5225,ffffffffffffffff) at msleep_nsec+84 reaper(ffff8000ffffdc90) at reaper+347 end trace frame: 0x0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff837c5ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff83922fc0) at __mp_lock+402 intr_handler(ffff80002a244820,ffff80000006ac00) at intr_handler+233 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+399 __mp_lock(ffffffff83922fc0) at __mp_lock+402 intr_handler(ffff80002a244980,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 __sanitizer_cov_trace_const_cmp4(400,4) at __sanitizer_cov_trace_const_cmp4+46 msleep_nsec(ffffffff8383b918,ffffffff8383b8e0,4,ffffffff833a5225,ffffffffffffffff) at msleep_nsec+84 reaper(ffff8000ffffdc90) at reaper+347 end trace frame: 0x0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at savectx+174: movl $0,%gs:1672 savectx() at savectx+174 end of kernel end trace frame: 0x7be94ebc1b00, count: 14 ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x7be94ebc1b00, count: -1