uvm_fault(0xfffffd806b9cc200, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff816cfc48 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c450ae0 gsbase 0xffff8000299fdff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff816cfc48 Starting stack trace... panic(ffffffff833a0373) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c450a30) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001691000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff8000fffefca0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000fffefca0) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c450be0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805edc1208,81,fffffd80097fb618,ffff8000fffefca0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b985e98,ffff8000fffefca0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b985e98,ffff8000fffefca0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b985e98,ffff8000fffefca0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b985e98,ffff8000fffefca0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffefca0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffefca0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffefca0,ffff80003c450f50,ffff80003c450ea0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c450f50) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c450f50) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79ae25dccd10, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 91 116612344 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 106475 40189 0 0 0 0 syz-executor *362074 55094 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x7dae06f35ce0, 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(0xfffffd806b9cc200, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7dae06f35ce0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4698c0 rbx 0 rdx 0 rcx 0xffff80003a419248 rax 0x3a r8 0xffff80003c4697f0 r9 0x1 r10 0x59cf20719fe4f60f r11 0xf5e3e4db79f04ed3 r12 0 r13 0 r14 0xffff80003a419248 r15 0 rip 0xffffffff818933ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c469840 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=362074 pid=55094 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a418a80,0xffff80003c470568 process=0xffff80003a4149c8 user=0xffff80003c464000, vmspace=0xfffffd806afe33f0 estcpu=36, cpticks=36, pctcpu=0.17, user=0, sys=34, intr=1 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 87383 510872 74559 0 2 0 syz-executor 87383 131355 74559 0 2 0x4000000 syz-executor 40189 106475 73351 0 7 0 syz-executor 40189 198550 73351 0 3 0x4000080 nanoslp syz-executor 40189 260127 73351 0 3 0x4000080 nanoslp syz-executor 79886 205602 55094 0 2 0xc80 syz-executor 79886 27564 55094 0 3 0x4000000 smrbar syz-executor 79886 400102 55094 0 3 0x4000080 fsleep syz-executor 74917 489756 23407 0 2 0xc80 syz-executor 74917 211078 23407 0 2 0x4000080 syz-executor 74917 242562 23407 0 3 0x4000080 fsleep syz-executor 89327 45302 95889 0 2 0 syz-executor 89327 165912 95889 0 3 0x4000080 kqread syz-executor 89327 424662 95889 0 3 0x4000080 fsleep syz-executor 5582 515074 1 0 3 0x80 nanoslp init 1715 255242 0 0 3 0x14200 acct acct 95904 302605 53421 0 2 0xc82 syz-executor 74559 315320 53421 0 2 0xc82 syz-executor 30522 148922 0 0 3 0x14280 nfsidl nfsio 61398 422568 0 0 3 0x14280 nfsidl nfsio 39054 443753 0 0 3 0x14280 nfsidl nfsio 35193 229078 0 0 3 0x14280 nfsidl nfsio 68460 260449 0 0 3 0x14280 nfsidl nfsio 61942 454896 0 0 3 0x14280 nfsidl nfsio 17801 265977 0 0 3 0x14280 nfsidl nfsio 62057 452727 0 0 3 0x14280 nfsidl nfsio 15523 503910 0 0 3 0x14280 nfsidl nfsio 92374 494056 0 0 3 0x14280 nfsidl nfsio 96924 170092 0 0 3 0x14280 nfsidl nfsio 68740 45918 0 0 3 0x14280 nfsidl nfsio 11166 209644 0 0 3 0x14280 nfsidl nfsio 32259 351177 0 0 3 0x14280 nfsidl nfsio 49109 514465 0 0 3 0x14280 nfsidl nfsio 36324 177426 0 0 3 0x14280 nfsidl nfsio 77107 396984 0 0 3 0x14280 nfsidl nfsio 96526 155812 0 0 3 0x14280 nfsidl nfsio 46721 229937 0 0 3 0x14280 nfsidl nfsio 94954 522785 0 0 3 0x14280 nfsidl nfsio 57631 513149 53421 0 3 0x82 wait syz-executor 95889 38878 53421 0 2 0xc82 syz-executor *55094 362074 53421 0 7 0x2 syz-executor 73351 29476 53421 0 2 0xc82 syz-executor 63767 310174 109 0 3 0x82 sbwait sshd-session 31707 443381 0 0 3 0x14200 bored sosplice 71829 359581 53421 0 2 0xc82 syz-executor 23407 57618 53421 0 2 0xc82 syz-executor 53421 118717 51075 0 2 0x2 syz-executor 51075 50502 17400 0 3 0x10008a sigsusp ksh 17400 16038 49446 0 3 0x98 kqread sshd-session 49446 514943 109 0 3 0x92 kqread sshd-session 109 214248 1 0 3 0x88 kqread sshd 6599 247883 29147 74 3 0x1100092 bpf pflogd 29147 309097 1 0 3 0x80 sbwait pflogd 87629 437292 36485 73 3 0x1100090 kqread syslogd 36485 169691 1 0 3 0x100082 sbwait syslogd 61753 79668 1 0 3 0x100080 kqread resolvd 40511 297309 41984 77 3 0x100092 kqread dhcpleased 30212 158225 41984 77 3 0x100092 kqread dhcpleased 41984 57000 1 0 3 0x80 kqread dhcpleased 36093 214219 0 0 2 0x40014200 smr 91473 388521 0 0 3 0x14200 pgzero zerothread 83342 403119 0 0 3 0x14200 aiodoned aiodoned 50847 356906 0 0 3 0x14200 syncer update 57729 59739 0 0 3 0x14200 cleaner cleaner 67044 501257 0 0 3 0x14200 reaper reaper 966 195361 0 0 3 0x14200 pgdaemon pagedaemon 21525 5569 0 0 3 0x14200 bored viomb 60069 405581 0 0 3 0x40014200 acpi0 acpi0 52467 493710 0 0 3 0x40014200 idle1 90120 36083 0 0 3 0x14200 bored softnet1 53582 167715 0 0 3 0x14200 netlock softnet0 99372 457126 0 0 2 0x40014200 systqmp 23377 125266 0 0 3 0x14200 bored systq 3980 476097 0 0 2 0x14200 softclockmp 27443 18516 0 0 3 0x40014200 tmoslp softclock 46950 92641 0 0 3 0x40014200 idle0 1 41595 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 79886 (syz-executor) thread 0xffff8000fffef4d8 (27564) exclusive rwlock clonelk r = 0 (0xffffffff83828a18) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 if_clone_destroy+0x67 sys/net/if.c:-1 #3 ifioctl+0x59d sys/net/if.c:2092 #4 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10243 11145K 12515K 166960K 13639 0 pcb 17 16K 18K 166960K 430 0 rtable 209 10K 11K 166960K 591 0 pf 34 17K 67486K 166960K 245 0 ifaddr 38 7K 8K 166960K 161 0 ifgroup 51 2K 2K 166960K 284 0 sysctl 4 1K 9K 166960K 29 0 counters 66 36K 37K 166960K 504 0 ioctlops 0 0K 4K 166960K 1902 0 iov 0 0K 20K 166960K 112 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1491 94K 94K 166960K 3114 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 38 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 87 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 1882 0 sigio 0 0K 0K 166960K 36 0 proc 67 115K 180K 166960K 887 0 subproc 72 4K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 327 0 in_multi 78 5K 7K 166960K 234 0 ether_multi 1 0K 0K 166960K 19 0 mrt 1 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 775 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 264 156K 176K 166960K 19037 0 UVM aobj 119 5K 5K 166960K 125 0 pinsyscall 44 88K 102K 166960K 3242 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 155 0 NDP 11 0K 2K 166960K 120 0 temp 82 8652K 8908K 166960K 60731 0 kqueue 16 24K 35K 166960K 442 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 287 0 283 4 3 1 3 0 8 0 rtentry 176 203 0 121 5 0 5 5 0 8 0 unpcb 144 1532 0 1511 9 5 4 4 0 8 3 syncache 336 14 0 14 3 2 1 1 0 8 1 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 736 591 0 581 18 14 4 10 0 8 2 arp 136 25 0 11 1 0 1 1 0 8 0 inpcb 328 2159 0 2143 31 24 7 18 0 8 5 nd6 144 37 0 24 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 1 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 190 0 190 2 1 1 1 0 8 1 pppxif 1504 9 0 9 3 2 1 1 0 8 1 pfstscr 40 34 0 34 1 1 0 1 0 8 0 pffrag 232 33 0 21 1 0 1 1 0 482 0 pffrnode 88 27 0 17 1 0 1 1 0 8 0 pffrent 40 70 0 58 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 2 2 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 100 0 20 1 0 1 1 0 8 0 pfstkey 128 168 0 88 3 0 3 3 0 8 0 pfstate 384 134 0 54 8 0 8 8 0 8 0 pfrule 1344 26 0 21 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 920 0 546 33 6 27 30 0 8 0 art_table 40 922 0 546 5 0 5 5 0 8 0 art_node 32 199 0 130 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 122 0 6 4 0 4 4 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 4996 0 3483 95 0 95 95 0 8 0 ffsino 296 4996 0 3483 117 0 117 117 0 8 0 nchpl 144 7560 0 5848 65 1 64 64 0 8 0 rtmask 32 15 0 15 1 0 1 1 0 8 1 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 28203 0 28203 4 2 2 2 0 8 2 percpumem 16 267 0 219 1 0 1 1 0 8 0 kstatmem 264 182 0 158 5 2 3 3 0 8 1 scsiplug 72 10 0 10 3 2 1 1 0 8 1 scxspl 216 44833 0 44833 13 12 1 8 1 8 1 plimitpl 152 517 0 500 1 0 1 1 0 8 0 sigapl 424 2217 0 2146 10 1 9 9 0 8 0 knotepl 120 781 0 0 24 0 24 24 0 8 0 kqueuepl 224 758 0 747 4 1 3 3 0 8 1 pipepl 344 360 0 329 10 7 3 9 0 8 0 fdescpl 528 2173 0 2140 3 0 3 3 0 8 0 filepl 160 15699 0 15461 31 15 16 23 0 8 2 lockfpl 104 649 0 646 1 0 1 1 0 8 0 lockfspl 48 290 0 287 1 0 1 1 0 8 0 sessionpl 144 41 0 32 1 0 1 1 0 8 0 pgrppl 48 77 0 60 1 0 1 1 0 8 0 ucredpl 104 2844 0 2829 1 0 1 1 0 8 0 zombiepl 144 2149 0 2146 1 0 1 1 0 8 0 processpl 1232 2217 0 2146 7 1 6 6 0 8 0 procpl 664 5184 0 5104 8 0 8 8 0 8 0 sosppl 168 11 0 11 3 2 1 1 0 8 1 sockpl 752 4032 0 3991 44 33 11 28 0 8 6 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 55 0 0 7 0 7 7 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 4398 0 0 275 0 275 275 0 8 0 bufpl 280 19361 0 13217 440 0 440 440 0 8 0 anonpl 32 13919 0 0 113 0 113 113 0 246 0 amapchunkpl 152 71794 0 71223 53 16 37 37 0 158 11 amappl16 200 8354 0 8318 65 47 18 23 0 8 8 amappl15 192 20 0 20 1 1 0 1 0 8 0 amappl14 184 152 0 140 1 0 1 1 0 8 0 amappl13 176 9 0 9 2 2 0 1 0 8 0 amappl12 168 2960 0 2927 3 1 2 2 0 8 0 amappl11 160 63 0 49 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 255 0 254 1 0 1 1 0 8 0 amappl8 136 38 0 35 1 0 1 1 0 8 0 amappl7 128 147 0 134 1 0 1 1 0 8 0 amappl6 120 264 0 259 1 0 1 1 0 8 0 amappl5 112 149 0 139 1 0 1 1 0 8 0 amappl4 104 361 0 341 1 0 1 1 0 8 0 amappl3 96 11273 0 11159 4 0 4 4 0 8 0 amappl2 88 2515 0 2431 3 0 3 3 0 8 0 amappl1 80 18417 0 17747 17 0 17 17 0 8 0 amappl 88 17848 0 17658 5 0 5 5 0 92 0 dma65536 65536 2 0 2 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 124 0 6 3 0 3 3 0 8 0 uaddrrnd 24 2173 0 2140 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2173 0 2140 1 0 1 1 0 8 0 vmmpekpl 168 18734 0 18673 3 0 3 3 0 8 0 vmmpepl 168 144649 0 142451 121 6 115 115 0 357 7 vmsppl 488 2172 0 2140 5 0 5 5 0 8 0 rwobjpl 80 46410 0 39322 149 0 149 149 0 8 0 pdppl 4096 4354 0 4280 118 44 74 84 0 8 0 pvpl 32 22848 0 0 184 0 184 184 0 265 0 pmappl 256 2172 0 2140 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 590 0 76 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837adff0) 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(ffffffff838a6868) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838a6868) 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: 0x7c05f35b4030, count: 8 ddb{0}> trace x86_ipi_db(ffffffff837adff0) 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(ffffffff838a6868) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838a6868) 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: 0x7c05f35b4030, count: -7 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x7dae06f35ce0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7dae06f35ce0, count: -1