uvm_fault(0xffffffff838fce98, 0xffff80001ee02004, 0, 1) -> d fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff81d272a3 cs 8 rflags 10246 cr2 ffff80001ee02004 cpl 0 rsp ffff80003c013620 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff81d272a3 Starting stack trace... panic(ffffffff833a390f) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003c013570) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b ufs_lookup() at ufs_lookup+0x623 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd805b851cd8,ffff80003c0139a8,ffff80003c0139d8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c013978) at vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 namei(ffff80003c013978) at namei+0x7ca sys/kern/vfs_lookup.c:250 domknodat(ffff80003c4a94f0,ffffff9c,200000000180,6003,4800) at domknodat+0xb4 sys/kern/vfs_syscalls.c:1592 syscall(ffff80003c013b70) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c013b70) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xed1b64e0940, count: 247 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 83 -1844159824 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *412856 17218 0 0 0 1 syz-executor 2281 26544 0 0x2 0 0 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x705df05ed5f0, 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(0xffffffff838fce98, 0xffff80001ee02004, 0, 1) -> d ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x705df05ed5f0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a32e230 rbx 0 rdx 0 rcx 0xffff80003c4a8560 rax 0x3c r8 0xffff80002a32e160 r9 0x1 r10 0xc3f05b1b975f1d26 r11 0x3eeade26999c507c r12 0 r13 0 r14 0xffff80003c4a8560 r15 0 rip 0xffffffff81b543ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a32e1b0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=412856 pid=17218 tcnt=4 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4a8a90,0xffff80003c4a9500 process=0xffff8000ffff4e78 user=0xffff80002a329000, vmspace=0xfffffd80629fe7c8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *17218 412856 10583 0 7 0 syz-executor 17218 172767 10583 0 3 0x4000000 sbar syz-executor 17218 287390 10583 0 3 0x4000080 fsleep syz-executor 17218 98084 10583 0 3 0x4000080 fsleep syz-executor 15033 391313 68550 0 2 0 syz-executor 15033 354927 68550 0 3 0x4000080 fsleep syz-executor 15033 395717 68550 0 3 0x4000080 fsleep syz-executor 64525 511238 0 0 3 0x14200 acct acct 98651 386024 1640 0 3 0x82 wait syz-executor 10583 204337 1640 0 2 0xc82 syz-executor 88344 206551 1 0 2 0x100083 getty 93230 479075 0 0 3 0x14200 bored sosplice 26544 2281 1640 0 7 0x2 syz-executor 68550 256996 1640 0 2 0xc82 syz-executor 19732 171447 1640 0 3 0x82 wait syz-executor 1640 256087 3820 0 3 0x82 wait syz-executor 3820 304567 27733 0 3 0x10008a sigsusp ksh 27733 264187 44335 0 3 0x98 kqread sshd-session 44335 176214 16650 0 3 0x92 kqread sshd-session 16650 333399 1 0 3 0x88 kqread sshd 14066 151190 97953 74 3 0x1100092 bpf pflogd 97953 122742 1 0 3 0x80 sbwait pflogd 45767 229490 72551 73 3 0x1100090 kqread syslogd 72551 456579 1 0 3 0x100082 sbwait syslogd 99820 69103 1 0 3 0x100080 kqread resolvd 15989 66069 90147 77 3 0x100092 kqread dhcpleased 55520 292085 90147 77 3 0x100092 kqread dhcpleased 90147 479714 1 0 3 0x80 kqread dhcpleased 77021 479113 0 0 2 0x14200 smr 45014 462982 0 0 2 0x14200 zerothread 33205 84212 0 0 3 0x14200 aiodoned aiodoned 92256 402736 0 0 3 0x14200 syncer update 25607 308073 0 0 3 0x14200 cleaner cleaner 24893 227446 0 0 3 0x14200 reaper reaper 32509 67562 0 0 3 0x14200 pgdaemon pagedaemon 59122 266368 0 0 3 0x14200 bored viomb 50456 358663 0 0 3 0x40014200 acpi0 acpi0 41220 213174 0 0 3 0x40014200 idle1 2242 416411 0 0 3 0x14200 bored softnet1 72600 337456 0 0 3 0x14200 netlock softnet0 37964 200646 0 0 2 0x40014200 systqmp 64301 341147 0 0 3 0x14200 bored systq 85729 206125 0 0 2 0x14200 softclockmp 2619 251493 0 0 3 0x40014200 tmoslp softclock 33275 243390 0 0 3 0x40014200 idle0 1 39441 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 17218 (syz-executor) thread 0xffff80003c4a94f0 (172767) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10204 11037K 11423K 166960K 15040 0 pcb 17 16K 18K 166960K 842 0 rtable 203 11K 11K 166960K 712 0 pf 36 18K 67486K 166960K 269 0 ifaddr 38 7K 9K 166960K 160 0 ifgroup 51 2K 2K 166960K 284 0 sysctl 4 1K 9K 166960K 24 0 counters 66 36K 37K 166960K 440 0 ioctlops 0 0K 4K 166960K 2023 0 iov 0 0K 36K 166960K 221 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1515 95K 96K 166960K 3621 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 145 0 dirhash 12 2K 2K 166960K 72 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 240K 166960K 2748 0 sigio 0 0K 0K 166960K 53 0 proc 73 115K 180K 166960K 959 0 subproc 63 3K 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 398 0 in_multi 86 6K 7K 166960K 275 0 ether_multi 1 0K 0K 166960K 31 0 mrt 1 0K 0K 166960K 25 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 985 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 233 160K 187K 166960K 26482 0 UVM aobj 99 3K 3K 166960K 103 0 pinsyscall 39 78K 104K 166960K 4024 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 1K 166960K 165 0 NDP 11 0K 2K 166960K 118 0 temp 76 8651K 8732K 166960K 142914 0 kqueue 13 20K 31K 166960K 513 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 263 0 260 2 1 1 2 0 8 0 rtentry 176 220 0 141 5 0 5 5 0 8 0 unpcb 144 2213 0 2194 21 19 2 7 0 8 1 syncache 336 15 0 15 3 3 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 882 0 877 21 14 7 7 0 8 6 arp 136 28 0 17 1 0 1 1 0 8 0 inpcb 328 3165 0 3154 32 25 7 10 0 8 6 nd6 144 37 0 21 1 0 1 1 0 8 0 pkpcb 40 13 0 13 5 4 1 1 0 8 1 kcovpl 48 14 0 7 1 0 1 1 0 8 0 ppxss 1192 158 0 158 3 2 1 1 0 8 1 pppxif 1504 8 0 8 3 3 0 1 0 8 0 pfstscr 40 5 0 4 1 0 1 1 0 8 0 pffrag 232 27 0 19 1 0 1 1 0 482 0 pffrnode 88 21 0 14 1 0 1 1 0 8 0 pffrent 40 63 0 55 1 0 1 1 0 8 0 pfosfp 40 1431 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1431 0 715 21 0 21 21 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 48 0 38 1 0 1 1 0 8 0 pfstkey 128 56 0 46 2 0 2 2 0 8 0 pfstate 384 50 0 42 5 0 5 5 0 8 0 pfrule 1344 36 0 29 2 1 1 2 0 8 0 rttmr 136 6 0 6 4 3 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 987 0 613 34 6 28 31 0 8 0 art_table 40 989 0 613 5 0 5 5 0 8 0 art_node 32 211 0 143 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 47 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 138 0 128 1 0 1 1 0 8 0 shmpl 112 100 0 4 3 0 3 3 0 8 0 dirhash 1024 57 0 40 3 0 3 3 0 8 0 dino2pl 256 6302 0 4787 96 0 96 96 0 8 0 ffsino 296 6303 0 4788 118 0 118 118 0 8 0 nchpl 144 10034 0 8333 64 0 64 64 0 8 0 rtmask 32 24 0 24 7 6 1 1 0 8 1 uvmvnodes 80 4993 0 0 102 0 102 102 0 8 0 vnodes 216 4993 0 0 278 0 278 278 0 8 0 namei 1024 34168 0 34167 3 2 1 2 0 8 0 percpumem 16 235 0 187 1 0 1 1 0 8 0 kstatmem 264 182 0 158 5 3 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 5 4 1 1 0 8 1 scxspl 216 62485 0 62485 16 15 1 8 1 8 1 plimitpl 152 530 0 513 1 0 1 1 0 8 0 sigapl 424 3060 0 3013 9 1 8 8 0 8 0 knotepl 120 574 0 0 17 0 17 17 0 8 0 kqueuepl 224 910 0 901 7 5 2 3 0 8 1 pipepl 344 361 0 334 4 1 3 4 0 8 0 fdescpl 528 2995 0 2967 3 0 3 3 0 8 0 filepl 160 19237 0 19032 38 25 13 20 0 8 2 lockfpl 104 1352 0 1350 4 3 1 2 0 8 0 lockfspl 48 513 0 511 1 0 1 1 0 8 0 sessionpl 144 40 0 31 1 0 1 1 0 8 0 pgrppl 48 83 0 66 1 0 1 1 0 8 0 ucredpl 104 3138 0 3124 1 0 1 1 0 8 0 zombiepl 144 3019 0 3013 2 1 1 1 0 8 0 processpl 1232 3060 0 3013 6 1 5 6 0 8 0 procpl 664 7247 0 7195 8 1 7 8 0 8 0 sosppl 168 17 0 17 7 7 0 1 0 8 0 sockpl 752 5730 0 5697 61 50 11 28 0 8 7 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 111 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 39 0 0 5 0 5 5 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 1196 0 0 74 0 74 74 0 8 0 bufpl 280 24494 0 18351 440 0 440 440 0 8 0 anonpl 32 13039 0 0 105 0 105 105 0 246 0 amapchunkpl 152 89235 0 88698 63 32 31 32 0 158 5 amappl16 200 10060 0 9793 87 59 28 28 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 157 0 145 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 3750 0 3722 3 1 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 5 0 5 2 2 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 157 0 144 1 0 1 1 0 8 0 amappl6 120 250 0 246 1 0 1 1 0 8 0 amappl5 112 152 0 142 1 0 1 1 0 8 0 amappl4 104 428 0 407 1 0 1 1 0 8 0 amappl3 96 15828 0 15739 3 0 3 3 0 8 0 amappl2 88 3343 0 3264 2 0 2 2 0 8 0 amappl1 80 21539 0 20958 14 0 14 14 0 8 0 amappl 88 25218 0 25058 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 257 0 257 5 4 1 1 0 8 1 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 102 0 4 2 0 2 2 0 8 0 uaddrrnd 24 2995 0 2967 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2995 0 2967 1 0 1 1 0 8 0 vmmpekpl 168 23890 0 23839 3 0 3 3 0 8 0 vmmpepl 168 191992 0 189872 130 19 111 111 0 357 4 vmsppl 488 2994 0 2967 6 1 5 5 0 8 0 rwobjpl 80 54703 0 48457 137 3 134 134 0 8 1 pdppl 4096 5998 0 5934 114 42 72 86 0 8 8 pvpl 32 21306 0 0 172 1 171 171 0 265 0 pmappl 256 2994 0 2967 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 72 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83799ff0) 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(ffffffff838f9428) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838f9428) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff80002a392180) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a392180) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7716852a4150, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83799ff0) 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(ffffffff838f9428) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838f9428) at __mp_lock+0x192 sys/kern/kern_lock.c:165 syscall(ffff80002a392180) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a392180) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7716852a4150, count: -6 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x705df05ed5f0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x705df05ed5f0, count: -1