uvm_fault(0xfffffd806c2975b0, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82483d20 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80003c9ad1c0 gsbase 0xffffffff83885ff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82483d20 Starting stack trace... panic(ffffffff8330f6f0) at panic+0x1ba sys/kern/subr_prf.c:229 kerntrap(ffff80003c9ad110) at kerntrap+0x26e verify_smap sys/arch/amd64/amd64/trap.c:563 [inline] kerntrap(ffff80003c9ad110) at kerntrap+0x26e sys/arch/amd64/amd64/trap.c:364 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001492480) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,41,2000,ffff80002a803c50) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,41,2000,ffff80002a803c50) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9ad2c0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80690dfeb0,41,fffffd8007bfb750,ffff80002a803c50) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bb58cb8,ffff80002a803c50) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bb58cb8,ffff80002a803c50) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bb58cb8,ffff80002a803c50) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806bb58cb8,ffff80002a803c50) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80002a803c50) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a803c50,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a803c50,ffff80003c9ad630,ffff80003c9ad580) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9ad630) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9ad630) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d053e3edd70, count: 242 End of stack trace. OpenBSD/amd64 (ci-openbsd-main-7.us-central1-b.c.syzkaller.internal) (tty00) login: WARNING: SPL NOT LOWERED ON SYSCALL 3 0 EXIT 0 3 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND *297121 25477 0 0x100003 0 0 getty savectx() at savectx+0xae end of kernel end trace frame: 0x7378e668d6a0, 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> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806c2975b0, 0x0, 0, 1) -> e ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7378e668d6a0, count: -1 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a7a7ac0 rbx 0 rdx 0 rcx 0 rax 0x31 r8 0xffff80002a7a79f0 r9 0xffff80002a7a76c8 r10 0xa7a3083e277875b4 r11 0x3430f86ab5a1fe1 r12 0 r13 0 r14 0xffff80002a776008 r15 0 rip 0xffffffff81c183ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a7a7a40 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb> show proc PROC (getty) tid=297121 pid=25477 tcnt=1 stat=onproc flags process=100003 proc=0 runpri=70, usrpri=70, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7d0010,0xffff80002a777498 process=0xffff8000ffff9b40 user=0xffff80002a7a2000, vmspace=0xfffffd807ebae870 estcpu=20, cpticks=28, pctcpu=0.61, user=0, sys=88, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89091 450438 83539 0 2 0 syz-executor 89091 399336 83539 0 3 0x4000080 fsleep syz-executor 1062 215225 18132 0 2 0 syz-executor 1062 412307 18132 0 3 0x4000080 fsleep syz-executor 1062 393347 18132 0 3 0x4000080 fsleep syz-executor 10778 456267 85470 0 2 0 syz-executor 10778 399492 85470 0 3 0x4000080 piperd syz-executor 10778 235056 85470 0 2 0x4000000 syz-executor 10778 349407 85470 0 3 0x4000080 fsleep syz-executor 24029 37112 93141 0 2 0 syz-executor 24029 337706 93141 0 3 0x4000080 fsleep syz-executor 24029 66915 93141 0 3 0x4000080 fsleep syz-executor 42742 65266 83670 60928 2 0x11 syz-executor 42742 293072 83670 60928 3 0x4000090 fsleep syz-executor 42742 84868 83670 60928 3 0x4000090 fsleep syz-executor 69129 531 63730 0 2 0x1 syz-executor 69129 431990 63730 0 3 0x4000080 fsleep syz-executor 69129 264817 63730 0 3 0x4000080 fsleep syz-executor 44716 52373 30526 0 2 0x3 syz-executor 83539 317765 30526 0 2 0x3 syz-executor 15081 366291 0 0 3 0x14200 acct acct 70482 57502 0 0 3 0x14200 bored sosplice 93141 304146 30526 0 2 0x3 syz-executor 83670 268136 30526 0 2 0x3 syz-executor 85470 291125 30526 0 2 0x3 syz-executor 91284 110640 30526 0 2 0x3 syz-executor 18132 286665 30526 0 2 0x3 syz-executor 63730 66944 30526 0 2 0x3 syz-executor 30526 40244 30595 0 3 0x2 netlock syz-executor 30595 291722 44800 0 3 0x10008a sigsusp ksh 44800 123734 28055 0 3 0x98 kqread sshd-session 28055 243462 72074 0 3 0x92 kqread sshd-session *25477 297121 1 0 7 0x100003 getty 72074 104417 1 0 3 0x88 kqread sshd 36074 8137 29116 73 3 0x1100090 kqread syslogd 29116 87080 1 0 3 0x100082 sbwait syslogd 52613 467971 1 0 3 0x100080 kqread resolvd 63937 833 85559 77 3 0x100092 kqread dhcpleased 94499 78080 85559 77 3 0x100092 kqread dhcpleased 85559 329364 1 0 3 0x80 kqread dhcpleased 40680 65031 0 0 3 0x14200 bored smr 95406 512140 0 0 2 0x14200 zerothread 41161 137881 0 0 3 0x14200 aiodoned aiodoned 83685 475753 0 0 2 0x14200 update 82219 51980 0 0 3 0x14200 cleaner cleaner 84301 39031 0 0 3 0x14200 reaper reaper 66318 511902 0 0 3 0x14200 pgdaemon pagedaemon 17016 11223 0 0 3 0x14200 bored viomb 40744 338830 0 0 3 0x40014200 acpi0 acpi0 14049 49131 0 0 3 0x14200 bored softnet3 56316 270537 0 0 3 0x14200 bored softnet2 38283 357211 0 0 3 0x14200 bored softnet1 69486 410992 0 0 3 0x14200 netlock softnet0 84601 249436 0 0 3 0x14200 bored systqmp 79766 199719 0 0 3 0x14200 bored systq 80882 166530 0 0 3 0x40014200 netlock softclock 27150 356355 0 0 3 0x40014200 idle0 1 468674 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10182 11074K 11379K 166960K 12209 0 pcb 17 13K 13K 166960K 89 0 rtable 194 8K 8K 166960K 500 0 pf 30 13K 16K 166960K 80 0 ifaddr 36 6K 7K 166960K 68 0 ifgroup 46 2K 2K 166960K 90 0 sysctl 3 1K 9K 166960K 10 0 counters 31 17K 17K 166960K 50 0 ioctlops 0 0K 4K 166960K 148 0 iov 1 1K 16K 166960K 93 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1462 92K 92K 166960K 1927 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 41 11K 11K 166960K 45 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 552 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 91K 166960K 567 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 164 0 in_multi 78 5K 7K 166960K 136 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 390 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 241 151K 161K 166960K 6609 0 UVM aobj 14 4K 4K 166960K 16 0 pinsyscall 39 78K 92K 166960K 1631 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 33 0 NDP 10 0K 1K 166960K 45 0 temp 50 8677K 8804K 166960K 19203 0 kqueue 14 22K 28K 166960K 88 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 63 0 58 1 0 1 1 0 8 0 rtentry 136 158 0 74 4 0 4 4 0 8 0 unpcb 144 366 0 348 1 0 1 1 0 8 0 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 150 0 145 7 6 1 7 0 8 0 arp 88 29 0 11 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 498 0 488 17 8 9 10 0 8 8 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 104 33 0 15 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 13 0 13 2 1 1 1 0 8 1 pfrktable 1344 2 0 2 1 1 0 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfrule 1344 72 0 71 1 0 1 1 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 600 0 272 31 2 29 30 0 8 5 art_table 32 602 0 272 4 0 4 4 0 8 0 art_node 16 153 0 79 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 41 0 2 2 0 2 2 0 8 0 shmpl 112 13 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2296 0 797 95 0 95 95 0 8 0 ffsino 248 2296 0 797 95 0 95 95 0 8 0 nchpl 144 3024 0 1337 63 0 63 63 0 8 0 rtmask 32 4 0 4 2 1 1 1 0 8 1 uvmvnodes 80 2776 0 0 57 0 57 57 0 8 0 vnodes 216 2776 0 0 155 0 155 155 0 8 0 namei 1024 10253 0 10253 2 1 1 2 0 8 1 kstatmem 264 50 0 30 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 10730 0 10728 11 7 4 8 1 8 3 plimitpl 152 145 0 129 1 0 1 1 0 8 0 sigapl 424 828 0 780 6 0 6 6 0 8 0 knotepl 120 20578 0 20525 22 12 10 16 0 8 8 kqueuepl 184 175 0 165 3 0 3 3 0 8 2 pipepl 296 133 0 104 3 0 3 3 0 8 0 fdescpl 440 810 0 780 5 1 4 5 0 8 0 filepl 120 4523 0 4299 12 1 11 11 0 8 2 lockfpl 104 153 0 150 1 0 1 1 0 8 0 lockfspl 48 71 0 68 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 587 0 573 1 0 1 1 0 8 0 zombiepl 144 1015 0 1013 2 1 1 1 0 8 0 processpl 1160 828 0 780 4 0 4 4 0 8 0 procpl 656 1530 0 1470 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 528 946 0 913 13 4 9 9 0 8 6 mcl64k 65536 45 0 45 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2963 0 2908 16 8 8 15 0 8 0 mcl2k2 2112 4 0 4 2 1 1 1 0 8 1 mcl2k 2048 621 0 617 2 0 2 2 0 8 0 mtagpl 96 87 0 9 2 0 2 2 0 8 0 mbufpl 256 8763 0 8510 18 0 18 18 0 8 1 bufpl 280 3190 0 120 220 0 220 220 0 8 0 anonpl 24 122209 0 118849 42 9 33 33 0 187 10 amapchunkpl 152 20562 0 20036 28 3 25 25 0 158 4 amappl16 200 1680 0 1650 6 2 4 4 0 8 1 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1457 0 1427 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 21 0 21 1 1 0 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 19 0 17 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 189 0 186 1 0 1 1 0 8 0 amappl5 112 117 0 111 1 0 1 1 0 8 0 amappl4 104 301 0 284 1 0 1 1 0 8 0 amappl3 96 3948 0 3832 3 0 3 3 0 8 0 amappl2 88 639 0 584 2 0 2 2 0 8 0 amappl1 80 9713 0 9159 14 1 13 13 0 8 1 amappl 88 5862 0 5686 6 1 5 5 0 92 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 257 0 257 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 15 0 2 1 0 1 1 0 8 0 uaddrrnd 24 810 0 780 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 810 0 780 1 0 1 1 0 8 0 vmmpekpl 168 7901 0 7857 4 1 3 3 0 8 0 vmmpepl 168 55705 0 53789 88 3 85 85 0 357 1 vmsppl 360 809 0 780 4 1 3 4 0 8 0 rwobjpl 32 19170 0 15513 30 0 30 30 0 8 0 pdppl 4096 1627 0 1560 107 40 67 81 0 8 0 pvpl 32 344458 0 335581 117 20 97 97 0 265 20 pmappl 216 809 0 780 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 292 0 61 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7378e668d6a0, count: -1 ddb> machine ddbcpu 1 No such command ddb> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7378e668d6a0, count: -1