uvm_fault(0xfffffd800b0271e8, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82e24918 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c411ff0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82e24918 Starting stack trace... panic(ffffffff833a5627) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c411f40) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001476000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000fffeea78) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c4120f0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd800baa3a40,81,fffffd80097fb750,ffff8000fffeea78) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd800d16b418,ffff8000fffeea78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd800d16b418,ffff8000fffeea78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd800d16b418,ffff8000fffeea78) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd800d16b418,ffff8000fffeea78) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffeea78) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffeea78,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffeea78,ffff80003c412460,ffff80003c4123b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c412460) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c412460) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7246ca1c8070, 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 *188354 56498 0 0 0 1 syz-executor 314915 57099 0 0x14000 0x200 0 reaper proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76f18eac9970, 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(0xfffffd800b0271e8, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76f18eac9970, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002ebd85c0 rbx 0 rdx 0 rcx 0xffff8000fffefa08 rax 0x2a r8 0xffff80002ebd84f0 r9 0x1 r10 0x9fed325c434b23fd r11 0xb367f4e1526f41f2 r12 0 r13 0xffffffff82ab91e8 Xdoreti+0x18 r14 0 r15 0 rip 0xffffffff82ac24c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002ebd8540 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=188354 pid=56498 tcnt=4 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=0xffff80003c44afb8,0xffff8000fffeed20 process=0xffff80003c41e1d0 user=0xffff80002ebd3000, vmspace=0xfffffd8061e225e8 estcpu=36, cpticks=15, pctcpu=0.1, user=14, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64441 43276 41803 0 2 0 syz-executor 64441 446051 41803 0 3 0x4000080 fsleep syz-executor 4856 50023 0 0 3 0x14200 acct acct 54716 455107 87236 0 3 0 vmmaplk syz-executor 54716 55186 87236 0 2 0x4000000 syz-executor 54716 114839 87236 0 3 0x4000000 vmmaplk syz-executor 23774 513308 3310 0 2 0xc80 syz-executor 23774 257756 3310 0 3 0x4000080 sbwait syz-executor 23774 193209 3310 0 3 0x4000080 fsleep syz-executor *56498 188354 97120 0 7 0 syz-executor 56498 239987 97120 0 2 0x4000000 syz-executor 56498 370015 97120 0 2 0x4000000 syz-executor 56498 57759 97120 0 3 0x4000080 fsleep syz-executor 41803 474004 69037 0 2 0xc82 syz-executor 11144 367148 1 0 3 0x100083 ttyopn getty 45651 399628 69037 0 3 0x82 wait syz-executor 2118 109362 69037 0 2 0xc82 syz-executor 77283 514101 0 0 3 0x14280 nfsidl nfsio 66888 176372 0 0 3 0x14200 bored sosplice 87236 7230 69037 0 2 0xc82 syz-executor 3310 424685 69037 0 2 0xc82 syz-executor 7437 268457 69037 0 2 0xc82 syz-executor 97120 431331 69037 0 2 0xc82 syz-executor 1790 391964 69037 0 2 0xc82 syz-executor 69037 235860 45581 0 3 0x82 kqread syz-executor 45581 174377 42803 0 3 0x10008a sigsusp ksh 42803 85930 51934 0 3 0x98 kqread sshd-session 51934 397481 28805 0 3 0x92 kqread sshd-session 28805 428344 1 0 3 0x88 kqread sshd 58393 392239 26051 74 3 0x1100092 bpf pflogd 26051 413281 1 0 3 0x80 sbwait pflogd 91468 269886 93526 73 3 0x1100090 kqread syslogd 93526 404706 1 0 3 0x100082 sbwait syslogd 5995 476246 1 0 3 0x100080 kqread resolvd 5571 125252 2798 77 3 0x100092 kqread dhcpleased 95768 434506 2798 77 3 0x100092 kqread dhcpleased 2798 352542 1 0 3 0x80 kqread dhcpleased 8721 289019 0 0 3 0x14200 bored smr 91298 400462 0 0 3 0x14200 pgzero zerothread 10206 69543 0 0 3 0x14200 aiodoned aiodoned 45730 394336 0 0 3 0x14200 syncer update 34395 488226 0 0 3 0x14200 cleaner cleaner 57099 314915 0 0 7 0x14200 reaper 2573 489701 0 0 3 0x14200 pgdaemon pagedaemon 46103 460839 0 0 3 0x14200 bored viomb 96301 361051 0 0 3 0x40014200 acpi0 acpi0 10665 323664 0 0 3 0x40014200 idle1 76418 502478 0 0 3 0x14200 bored softnet1 19376 347081 0 0 3 0x14200 netlock softnet0 55251 179050 0 0 2 0x40014200 systqmp 41210 83101 0 0 3 0x14200 bored systq 77290 314609 0 0 3 0x14200 netlock softclockmp 9884 33962 0 0 3 0x40014200 tmoslp softclock 82348 194892 0 0 3 0x40014200 idle0 1 406342 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 54716 (syz-executor) thread 0xffff8000fffee018 (55186) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10253 11124K 11792K 166960K 14166 0 pcb 19 14K 20K 166960K 412 0 rtable 183 10K 11K 166960K 596 0 pf 42 19K 67487K 166960K 254 0 ifaddr 35 6K 8K 166960K 152 0 ifgroup 56 2K 3K 166960K 285 0 sysctl 4 1K 9K 166960K 25 0 counters 68 36K 38K 166960K 300 0 ioctlops 0 0K 4K 166960K 1997 0 iov 1 2K 16K 166960K 289 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1461 92K 92K 166960K 3134 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 29 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 240 0 dirhash 12 2K 3K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 2128 0 sigio 0 0K 0K 166960K 42 0 proc 72 115K 163K 166960K 794 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 352 0 in_multi 63 4K 7K 166960K 218 0 ether_multi 1 0K 0K 166960K 22 0 mrt 1 0K 0K 166960K 15 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 823 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 249 159K 178K 166960K 20867 0 UVM aobj 56 2K 2K 166960K 60 0 pinsyscall 42 84K 106K 166960K 3311 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 145 0 NDP 12 0K 2K 166960K 114 0 temp 80 8652K 8776K 166960K 90446 0 kqueue 15 22K 34K 166960K 438 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 311 0 308 5 3 2 3 0 8 1 rtentry 176 170 0 104 5 0 5 5 0 8 1 unpcb 144 1990 0 1969 16 14 2 6 0 8 1 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 822 0 816 20 19 1 13 0 8 0 arp 136 17 0 8 1 0 1 1 0 8 0 inpcb 328 2279 0 2266 27 25 2 15 0 8 0 nd6 152 39 0 26 1 0 1 1 0 8 0 pkpcb 40 13 0 13 2 2 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 89 0 89 2 2 0 1 0 8 0 pppxif 1504 8 0 8 3 3 0 1 0 8 0 pfstscr 40 2 0 1 2 1 1 1 0 8 0 pffrag 232 20 0 11 1 0 1 1 0 482 0 pffrnode 88 18 0 10 1 0 1 1 0 8 0 pffrent 40 114 0 103 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 3 0 2 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 49 0 28 1 0 1 1 0 8 0 pfstkey 128 99 0 77 2 0 2 2 0 8 0 pfstate 384 69 0 52 4 0 4 4 0 8 0 pfsrctr 152 86 0 85 1 0 1 1 0 8 0 pfrule 1344 38 0 32 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 827 0 569 35 14 21 34 0 8 1 art_table 40 831 0 569 6 1 5 6 0 8 0 art_node 32 168 0 111 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 10 1 0 1 1 0 8 0 semapl 112 237 0 227 1 0 1 1 0 8 0 shmpl 112 57 0 4 2 0 2 2 0 8 0 dirhash 1024 42 0 25 3 0 3 3 0 8 0 dino2pl 256 5355 0 3839 97 1 96 96 0 8 0 ffsino 296 5355 0 3839 118 0 118 118 0 8 0 nchpl 144 8295 0 6593 64 0 64 64 0 8 0 rtmask 32 19 0 19 4 4 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 28140 0 28139 4 3 1 2 0 8 0 percpumem 16 165 0 116 1 0 1 1 0 8 0 kstatmem 264 186 0 158 3 0 3 3 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 39816 0 39816 17 16 1 8 1 8 1 plimitpl 152 528 0 511 1 0 1 1 0 8 0 sigapl 424 2418 0 2367 7 1 6 7 0 8 0 knotepl 120 730 0 0 22 0 22 22 0 8 0 kqueuepl 224 931 0 919 10 9 1 5 0 8 0 pipepl 344 456 0 428 8 5 3 6 0 8 0 fdescpl 528 2391 0 2360 3 0 3 3 0 8 0 filepl 160 16488 0 16250 32 19 13 19 0 8 1 lockfpl 104 1047 0 1043 2 1 1 2 0 8 0 lockfspl 48 429 0 425 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 163 0 146 1 0 1 1 0 8 0 ucredpl 104 2695 0 2682 1 0 1 1 0 8 0 zombiepl 144 2494 0 2490 1 0 1 1 0 8 0 processpl 1232 2418 0 2367 5 1 4 5 0 8 0 procpl 664 5806 0 5747 7 1 6 7 0 8 0 sosppl 168 14 0 14 3 3 0 1 0 8 0 sockpl 752 4689 0 4651 60 52 8 21 0 8 4 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k 2048 56 0 0 7 0 7 7 0 8 1 mtagpl 96 72 0 0 2 0 2 2 0 8 0 mbufpl 256 1289 0 0 78 0 78 78 0 8 0 bufpl 280 15094 0 8951 440 0 440 440 0 8 0 anonpl 32 10011 0 0 82 1 81 82 0 246 0 amapchunkpl 152 71895 0 71376 52 29 23 37 0 158 1 amappl16 200 7110 0 6914 45 34 11 17 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 154 0 142 1 0 1 1 0 8 0 amappl13 176 4 0 4 2 2 0 1 0 8 0 amappl12 168 3103 0 3071 3 1 2 3 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 283 0 282 1 0 1 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 116 0 103 1 0 1 1 0 8 0 amappl6 120 209 0 206 1 0 1 1 0 8 0 amappl5 112 136 0 126 1 0 1 1 0 8 0 amappl4 104 318 0 298 1 0 1 1 0 8 0 amappl3 96 12694 0 12593 3 0 3 3 0 8 0 amappl2 88 2642 0 2561 2 0 2 2 0 8 0 amappl1 80 16704 0 16102 17 2 15 15 0 8 0 amappl 88 19794 0 19617 5 0 5 5 0 92 0 dma65536 65536 1 0 1 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 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 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 59 0 4 1 0 1 1 0 8 0 uaddrrnd 24 2391 0 2360 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2391 0 2360 1 0 1 1 0 8 0 vmmpekpl 168 19387 0 19337 3 0 3 3 0 8 0 vmmpepl 168 151756 0 149565 128 30 98 103 0 357 0 vmsppl 488 2390 0 2360 7 2 5 5 0 8 0 rwobjpl 80 44854 0 37751 152 6 146 146 0 8 0 pdppl 4096 4789 0 4720 119 48 71 85 0 8 2 pvpl 32 18622 0 0 150 0 150 150 0 265 0 pmappl 256 2390 0 2360 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 397 0 92 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83845ff0) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) 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 __mp_lock(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) at __mp_lock+0x192 sys/kern/kern_lock.c:165 reaper(ffff8000ffffd9f8) at reaper+0x1f1 sys/kern/kern_exit.c:505 end trace frame: 0x0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83845ff0) 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(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) 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 __mp_lock(ffffffff8397b818) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8397b818) at __mp_lock+0x192 sys/kern/kern_lock.c:165 reaper(ffff8000ffffd9f8) at reaper+0x1f1 sys/kern/kern_exit.c:505 end trace frame: 0x0, count: -9 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: 0x76f18eac9970, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x76f18eac9970, count: -1