uvm_fault(0xffffef806b9e4028, 0x98, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff816d45d8 cs 8 rflags 10246 cr2 98 cpl 0 rsp ffff80003a3a09a0 gsbase 0xffff80002999dff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff816d45d8 Starting stack trace... panic(ffffffff834ed9c2) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80003a3a08f0) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3e8fb8,ffffef806750d100,ffff80003a3a0ad0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3e8fb8,ffff80003a3a0c20,ffff80003a3a0b70) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003a3a0c20) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a3a0c20) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4e4d5408fa0, count: 250 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 * 14154 11876 0 0 0 1 syz-executor 282732 56542 0 0x14000 0x200 0 systqmp proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x75f8e5076ed0, 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(0xffffef806b9e4028, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x75f8e5076ed0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a254850 rbx 0 rdx 0 rcx 0xffff80003c3e8558 rax 0x2a r8 0xffff80002a254780 r9 0x1 r10 0x8fb2b65647534c02 r11 0x58113e7f8dfc6e3b r12 0 r13 0 r14 0 r15 0 rip 0xffffffff81c074c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80002a2547d0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=14154 pid=11876 tcnt=2 stat=onproc flags process=0 proc=0 runpri=86, usrpri=80, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045fee018,0xffff80003c3e9790 process=0xffff800045fe9828 user=0xffff80002a24f000, vmspace=0xffffef800b1f7000 estcpu=30, cpticks=2, pctcpu=0.2, user=2, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND *11876 14154 5405 0 7 0 0 syz-executor 11876 1795 5405 0 3 0 0x4000080 fsleep syz-executor 28381 401728 74453 0 2 0 0 syz-executor 15019 313876 16864 0 2 0 0 syz-executor 84743 83920 40405 0 2 0 0 syz-executor 84743 394767 40405 0 2 0 0x4000000 syz-executor 14229 486767 824 0 2 0 0 syz-executor 14229 352253 824 0 2 0 0x4000000 syz-executor 14229 39354 824 0 3 0 0x4000080 fsleep syz-executor 62237 157930 15834 0 2 0 0 syz-executor 97184 452451 0 0 3 0x14000 0x200 acct acct 74453 343708 90951 0 2 0x2 0xc80 syz-executor 16864 31563 90951 0 2 0x2 0xc80 syz-executor 40405 167880 90951 0 2 0x2 0xc80 syz-executor 824 91665 90951 0 2 0x2 0xc80 syz-executor 15834 285805 90951 0 2 0x2 0xc80 syz-executor 5405 204930 90951 0 2 0x2 0xc80 syz-executor 90951 248682 1 0 3 0x2 0x80 nanoslp syz-executor 40778 231736 0 0 2 0x14000 0x200 smr 70192 27849 0 0 2 0x14000 0x200 zerothread 13311 129005 0 0 3 0x14000 0x200 aiodoned aiodoned 62632 362990 0 0 3 0x14000 0x200 syncer update 70225 522390 0 0 3 0x14000 0x200 cleaner cleaner 99582 73993 0 0 3 0x14000 0x200 reaper reaper 46363 432650 0 0 3 0x14000 0x200 pgdaemon pagedaemon 57611 131697 0 0 3 0x14000 0x200 bored viomb 77383 16567 0 0 3 0x14000 0x40000200 acpi0 acpi0 66290 388178 0 0 3 0x14000 0x40000200 idle1 62640 143823 0 0 3 0x14000 0x200 bored softnet1 54492 463489 0 0 3 0x14000 0x200 netlock softnet0 56542 282732 0 0 7 0x14000 0x200 systqmp 77353 209047 0 0 3 0x14000 0x200 bored systq 83273 87170 0 0 3 0x14000 0x200 netlock softclockmp 54802 67902 0 0 3 0x14000 0x40000200 tmoslp softclock 32907 192208 0 0 3 0x14000 0x40000200 idle0 1 182293 0 0 4 0x50000002 0x8000080 init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{1}> show all locks Process 84743 (syz-executor) thread 0xffff80003c3e8fb8 (394767) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a02300) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11055 12017K 12542K 166960K 12675 0 pcb 17 12K 12K 166960K 93 0 rtable 201 8K 10K 166960K 563 0 pf 34 17K 38K 166960K 162 0 ifaddr 37 6K 8K 166960K 78 0 ifgroup 51 2K 2K 166960K 115 0 sysctl 4 1K 9K 166960K 9 0 counters 68 36K 37K 166960K 106 0 ioctlops 0 0K 4K 166960K 1584 0 iov 0 0K 16K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1387 87K 87K 166960K 1971 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 14 53K 236K 166960K 681 0 sigio 0 0K 0K 166960K 5 0 proc 12 17K 212K 166960K 741 0 subproc 63 3K 5K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 52 0 in_multi 80 5K 7K 166960K 165 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 542 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 84 69K 181K 166960K 7451 0 UVM aobj 21 2K 2K 166960K 22 0 pinsyscall 15 30K 104K 166960K 1938 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 30 0 NDP 13 0K 2K 166960K 51 0 temp 38 9119K 9183K 166960K 17868 0 kqueue 1 2K 30K 166960K 114 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 28 0 0 1 0 1 1 0 8 0 rtpcb 120 57 0 57 1 0 1 1 0 8 1 rtentry 176 172 0 89 6 0 6 6 0 8 0 unpcb 144 406 0 406 4 0 4 4 0 8 4 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 111 0 110 1 0 1 1 0 8 0 arp 136 26 0 12 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 10 0 6 1 0 1 1 0 8 0 inpcb 328 463 0 460 5 2 3 5 0 8 2 ip6q 80 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 152 44 0 24 2 0 2 2 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 17 0 10 1 0 1 1 0 8 0 ppxss 1192 6 0 6 2 1 1 1 0 8 1 pppxif 1576 1 0 1 1 0 1 1 0 8 1 pfstscr 40 8 0 4 1 0 1 1 0 8 0 pfosfp 40 1429 0 1428 5 4 1 5 0 8 0 pfosfpen 112 1429 0 1428 21 5 16 21 0 8 15 pfrktable 1344 7 0 7 1 0 1 1 0 8 1 pfsrclim 320 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 12 0 9 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 28 0 6 1 0 1 1 0 8 0 pfstkey 128 30 0 9 1 0 1 1 0 8 0 pfstate 448 25 0 5 3 0 3 3 0 8 0 pfrule 1360 28 0 22 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 768 0 407 32 2 30 32 0 8 2 art_table 40 770 0 407 6 0 6 6 0 8 0 art_node 32 172 0 98 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 72 26 0 16 1 0 1 1 0 8 0 shmpl 112 19 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2406 0 926 93 0 93 93 0 8 0 ffsino 296 2406 0 926 115 0 115 115 0 8 0 nchpl 144 3275 0 1553 65 0 65 65 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2905 0 0 162 0 162 162 0 8 0 namei 1024 11675 0 11675 3 1 2 2 0 8 2 percpumem 16 69 0 19 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 59 0 32 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 14498 0 14498 11 7 4 8 1 8 4 plimitpl 152 93 0 76 1 0 1 1 0 8 0 sigapl 424 971 0 924 7 1 6 7 0 8 0 knotepl 120 856 0 0 26 0 26 26 0 8 0 kqueuepl 224 178 0 176 3 2 1 3 0 8 0 pipepl 344 183 0 156 3 0 3 3 0 8 0 fdescpl 528 954 0 938 3 0 3 3 0 8 0 filepl 160 4778 0 4638 15 1 14 15 0 8 5 lockfpl 104 384 0 383 2 1 1 2 0 8 0 lockfspl 48 115 0 114 1 0 1 1 0 8 0 sessionpl 144 46 0 37 1 0 1 1 0 8 0 pgrppl 48 69 0 52 1 0 1 1 0 8 0 ucredpl 104 748 0 735 1 0 1 1 0 8 0 zombiepl 144 939 0 924 1 0 1 1 0 8 0 processpl 1232 971 0 924 5 1 4 5 0 8 0 procpl 664 1749 0 1698 6 0 6 6 0 8 0 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 752 976 0 973 10 1 9 10 0 8 8 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 166 0 0 11 0 11 11 0 8 0 bufpl 272 5781 0 107 379 0 379 379 0 8 0 anonpl 32 8609 0 0 70 0 70 70 0 247 0 amapchunkpl 152 22646 0 22423 27 2 25 27 0 158 10 amappl16 200 1822 0 1803 19 6 13 17 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 482 0 481 1 0 1 1 0 8 0 amappl13 176 163 0 163 1 0 1 1 0 8 1 amappl12 168 1225 0 1213 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 66 0 66 1 0 1 1 0 8 1 amappl9 144 275 0 275 1 1 0 1 0 8 0 amappl8 136 115 0 115 1 0 1 1 0 8 1 amappl7 128 153 0 151 1 0 1 1 0 8 0 amappl6 120 195 0 195 1 0 1 1 0 8 1 amappl5 112 95 0 94 1 0 1 1 0 8 0 amappl4 104 313 0 311 1 0 1 1 0 8 0 amappl3 96 4249 0 4212 3 0 3 3 0 8 0 amappl2 88 1057 0 1038 2 0 2 2 0 8 0 amappl1 80 12953 0 12879 14 1 13 14 0 8 7 amappl 88 6523 0 6449 5 0 5 5 0 92 1 uvmvnodes 80 117 0 0 3 0 3 3 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 253 0 253 1 1 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 21 0 1 1 0 1 1 0 8 0 uaddrrnd 24 954 0 938 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 954 0 938 1 0 1 1 0 8 0 vmmpekpl 168 9491 0 9443 3 0 3 3 0 8 0 vmmpepl 168 67309 0 66662 97 0 97 97 0 357 60 vmsppl 488 953 0 938 6 1 5 5 0 8 1 rwobjpl 80 20190 0 19836 28 0 28 28 0 8 3 pdppl 4096 1915 0 1876 97 50 47 83 0 8 8 pvpl 32 15632 0 0 127 0 127 127 0 265 0 pmappl 256 953 0 938 4 1 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 658 0 57 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83900ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_acquire_count(ffffffff83a01b00,0) at __mp_acquire_count+0x27 sys/kern/kern_lock.c:-1 msleep_nsec(ffffffff8397e2a0,ffffffff8397e2b8,20,ffffffff8352382f,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 taskq_next_work(ffffffff8397e2a0,ffff80002a1ca6f8) at taskq_next_work+0x8e sys/kern/kern_task.c:399 taskq_thread(ffffffff8397e2a0) at taskq_thread+0x1d5 sys/kern/kern_task.c:439 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff83900ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_acquire_count(ffffffff83a01b00,0) at __mp_acquire_count+0x27 sys/kern/kern_lock.c:-1 msleep_nsec(ffffffff8397e2a0,ffffffff8397e2b8,20,ffffffff8352382f,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 taskq_next_work(ffffffff8397e2a0,ffff80002a1ca6f8) at taskq_next_work+0x8e sys/kern/kern_task.c:399 taskq_thread(ffffffff8397e2a0) at taskq_thread+0x1d5 sys/kern/kern_task.c:439 end trace frame: 0x0, count: -8 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: 0x75f8e5076ed0, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x75f8e5076ed0, count: -1 ddb{1}>