*cpu0: uvm_fault(0xfffffc806cd403f0, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x771141a5b8c0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3cbbc0 rbx 0 rdx 0 rcx 0xffff80003c3d2558 rax 0x33 r8 0xffff80003c3cbaf0 r9 0 r10 0xa12f071651a3ba3a r11 0x98ebea997013785d r12 0 r13 0 r14 0xffff80003c3d2558 r15 0 rip 0xffffffff82f753ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c3cbb40 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=330199 pid=67672 tcnt=1 stat=onproc flags process=0 proc=0 runpri=52, usrpri=52, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000397b9778,0xffff80003c3d34f8 process=0xffff800033b8f510 user=0xffff80003c3c6000, vmspace=0xfffffc806cd405d8 estcpu=4, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 87679 480235 37401 0 2 0 0 syz-executor 87679 468059 37401 0 7 0 0x4000000 syz-executor 33210 278177 11709 0 2 0 0 syz-executor 33210 160148 11709 0 3 0 0x4000080 fsleep syz-executor *67672 330199 83844 0 7 0 0 syz-executor 69527 49743 61504 0 2 0 0 syz-executor 69527 150966 61504 0 3 0 0x4000080 fsleep syz-executor 34078 364697 85404 0 2 0x4000000 0 syz-executor 34078 352385 85404 0 3 0x4000000 0x4000080 fsleep syz-executor 67165 303452 9838 0 2 0 0 syz-executor 67165 354385 9838 0 3 0 0x4000080 fifor syz-executor 67165 124605 9838 0 3 0 0x4000080 fifor syz-executor 5783 151441 90055 0 3 0 0x80 nanoslp syz-executor 5783 382842 90055 0 3 0 0x4000080 kqsel syz-executor 5783 286999 90055 0 3 0 0x4000080 fsleep syz-executor 83844 513316 37387 0 2 0x2 0xc80 syz-executor 9838 369633 37387 0 2 0x2 0xc80 syz-executor 37401 521878 37387 0 3 0x2 0x80 nanoslp syz-executor 11709 268395 37387 0 3 0x2 0x80 nanoslp syz-executor 85404 43628 37387 0 3 0x2 0x80 nanoslp syz-executor 61504 170397 37387 0 2 0x2 0xc80 syz-executor 42522 3220 37387 0 2 0x2 0 syz-executor 90055 11612 37387 0 2 0x2 0xc80 syz-executor 37387 157247 79782 0 3 0x2 0x80 kqread syz-executor 79782 56810 35005 0 3 0x100002 0x88 sigsusp ksh 35005 444277 78406 0 3 0x10 0x88 kqread sshd-session 78406 134579 29896 0 3 0x12 0x80 kqread sshd-session 22277 315179 1 0 3 0x100003 0x80 ttyin getty 29896 70286 1 0 3 0 0x88 kqread sshd 38992 500878 40165 74 3 0x1100012 0x80 bpf pflogd 40165 313130 1 0 3 0 0x80 sbwait pflogd 86340 145986 11549 73 3 0x1100010 0x80 kqread syslogd 11549 460212 1 0 3 0x100002 0x80 sbwait syslogd 35510 468378 1 0 3 0x100000 0x80 kqread resolvd 85427 178635 56570 77 3 0x100012 0x80 kqread dhcpleased 17748 237133 56570 77 3 0x100012 0x80 kqread dhcpleased 56570 458372 1 0 3 0 0x80 kqread dhcpleased 56891 366818 0 0 3 0x14000 0x200 bored smr 90092 221187 0 0 2 0x14000 0x200 zerothread 17693 348895 0 0 3 0x14000 0x200 aiodoned aiodoned 47717 100843 0 0 3 0x14000 0x200 syncer update 47860 429936 0 0 3 0x14000 0x200 cleaner cleaner 75005 31353 0 0 3 0x14000 0x200 reaper reaper 4833 350512 0 0 3 0x14000 0x200 pgdaemon pagedaemon 94288 202860 0 0 3 0x14000 0x200 bored viomb 53115 298323 0 0 3 0x14000 0x40000200 acpi0 acpi0 68637 66641 0 0 3 0x14000 0x40000200 idle1 5433 191815 0 0 3 0x14000 0x200 bored softnet1 23175 487448 0 0 3 0x14000 0x200 bored softnet0 13857 347024 0 0 3 0x14000 0x200 bored systqmp 13054 179917 0 0 3 0x14000 0x200 bored systq 95580 38298 0 0 3 0x14000 0x200 tmoslp softclockmp 68704 416985 0 0 3 0x14000 0x40000200 tmoslp softclock 64191 520257 0 0 3 0x14000 0x40000200 idle0 1 253960 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &newfdp->fd_fd.fd_fplock r = 0 (0xffff8000393aa2c0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 fdremove+0x59 sys/kern/kern_descrip.c:738 #3 fdrelease+0xe1 sys/kern/kern_descrip.c:759 #4 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #4 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #5 Xsyscall+0x128 Process 87679 (syz-executor) thread 0xffff80003c3d3250 (468059) Process 67672 (syz-executor) thread 0xffff80003c3d2558 (330199) Process 42522 (syz-executor) thread 0xffff80002a222a70 (3220) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11067 12160K 12215K 166960K 12191 0 pcb 17 12K 12K 166960K 26 0 rtable 249 8K 8K 166960K 387 0 pf 39 18K 24K 166960K 78 0 ifaddr 45 7K 7K 166960K 49 0 ifgroup 60 2K 2K 166960K 67 0 sysctl 1 1K 9K 166960K 5 0 counters 74 37K 37K 166960K 78 0 ioctlops 0 0K 4K 166960K 1497 0 iov 0 0K 0K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1292 81K 81K 166960K 1532 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 4 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 89K 166960K 197 0 proc 71 115K 147K 166960K 565 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 6 0 in_multi 100 6K 6K 166960K 101 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 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 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 232 167K 177K 166960K 3498 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 42 84K 100K 166960K 1353 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 5 0 NDP 13 0K 2K 166960K 31 0 temp 35 9114K 9120K 166960K 4022 0 kqueue 14 22K 26K 166960K 38 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 36 0 33 1 0 1 1 0 8 0 rtentry 176 115 0 4 6 0 6 6 0 8 0 unpcb 144 67 0 48 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 26 0 22 1 0 1 1 0 8 0 arp 136 19 0 1 1 0 1 1 0 8 0 inpcb 328 106 0 97 2 0 2 2 0 8 1 nd6 152 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 2 0 1 1 0 1 1 0 8 0 pppxif 1576 1 0 0 1 0 1 1 0 8 0 pfstscr 40 3 0 0 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 4 0 3 1 0 1 1 0 8 0 pfanchor 1288 4 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 23 0 0 1 0 1 1 0 8 0 pfstkey 128 23 0 0 1 0 1 1 0 8 0 pfstate 448 21 0 0 3 0 3 3 0 8 0 pfrule 1360 23 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 462 0 2 29 0 29 29 0 8 0 art_table 40 463 0 2 5 0 5 5 0 8 0 art_node 32 115 0 14 1 0 1 1 0 8 0 semapl 72 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1799 0 326 93 0 93 93 0 8 0 ffsino 296 1799 0 326 114 0 114 114 0 8 0 nchpl 144 2070 0 365 64 0 64 64 0 8 0 vnodes 216 1913 0 0 107 0 107 107 0 8 0 namei 1024 6543 0 6543 2 0 2 2 0 8 2 percpumem 16 55 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 33 0 4 3 0 3 3 0 8 1 scxspl 216 6613 0 6613 4 3 1 3 1 8 1 plimitpl 152 33 0 15 1 0 1 1 0 8 0 sigapl 424 514 0 467 7 0 7 7 0 8 1 knotepl 120 370 0 0 12 0 12 12 0 8 0 kqueuepl 224 39 0 27 2 0 2 2 0 8 0 pipepl 344 128 0 101 3 0 3 3 0 8 0 fdescpl 528 498 0 467 3 0 3 3 0 8 0 filepl 160 2277 0 2056 16 0 16 16 0 8 5 lockfpl 104 21 0 19 1 0 1 1 0 8 0 lockfspl 48 11 0 9 1 0 1 1 0 8 0 sessionpl 144 26 0 17 1 0 1 1 0 8 0 pgrppl 48 37 0 20 1 0 1 1 0 8 0 ucredpl 104 532 0 518 1 0 1 1 0 8 0 zombiepl 144 467 0 467 1 0 1 1 0 8 1 processpl 1232 514 0 467 5 0 5 5 0 8 0 procpl 664 613 0 558 6 0 6 6 0 8 0 sockpl 752 210 0 178 5 0 5 5 0 8 1 mcl64k 65536 3 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 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 122 0 0 16 0 16 16 0 8 1 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mextrefs 64 17 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 135 0 0 8 0 8 8 0 8 0 bufpl 272 2372 0 105 152 0 152 152 0 8 0 anonpl 32 3627 0 0 30 0 30 30 0 247 0 amapchunkpl 152 9781 0 9304 20 0 20 20 0 158 1 amappl16 200 1402 0 1382 5 1 4 5 0 8 2 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 426 0 425 1 0 1 1 0 8 0 amappl13 176 118 0 106 1 0 1 1 0 8 0 amappl12 168 749 0 720 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 63 0 49 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 98 0 96 1 0 1 1 0 8 0 amappl7 128 151 0 138 1 0 1 1 0 8 0 amappl6 120 154 0 153 1 0 1 1 0 8 0 amappl5 112 94 0 84 1 0 1 1 0 8 0 amappl4 104 291 0 272 1 0 1 1 0 8 0 amappl3 96 1783 0 1689 4 1 3 3 0 8 0 amappl2 88 619 0 541 2 0 2 2 0 8 0 amappl1 80 10688 0 10083 15 1 14 15 0 8 1 amappl 88 2771 0 2610 4 0 4 4 0 92 0 uvmvnodes 80 99 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 498 0 467 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 498 0 467 1 0 1 1 0 8 0 vmmpekpl 168 6060 0 6026 2 0 2 2 0 8 0 vmmpepl 168 40314 0 38421 88 0 88 88 0 357 3 vmsppl 488 497 0 467 5 0 5 5 0 8 1 rwobjpl 80 14711 0 13690 23 0 23 23 0 8 0 pdppl 4096 1003 0 934 95 24 71 83 0 8 2 pvpl 32 10124 0 0 82 0 82 82 0 265 0 pmappl 256 497 0 467 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 418 0 27 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8398bff0) 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 x86_bus_space_io_read_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:682 acpitimer_delay(1) at acpitimer_delay+0xb7 acpitimer_read sys/dev/acpi/acpitimer.c:146 [inline] acpitimer_delay(1) at acpitimer_delay+0xb7 sys/dev/acpi/acpitimer.c:120 comcnputc(800,20) at comcnputc+0x29b sys/dev/ic/com.c:1274 cnputc(20) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(2d) at db_putchar+0x126 db_force_whitespace sys/ddb/db_output.c:102 [inline] db_putchar(2d) at db_putchar+0x126 sys/ddb/db_output.c:153 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff834604ef) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff83525983) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80003c3f77a0,98) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff80003c3f77a0) at kerntrap+0x19d sys/arch/amd64/amd64/trap.c:528 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0xffff80003c3f7950, count: 0 ddb{0}> trace x86_ipi_db(ffffffff8398bff0) 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 x86_bus_space_io_read_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:682 acpitimer_delay(1) at acpitimer_delay+0xb7 acpitimer_read sys/dev/acpi/acpitimer.c:146 [inline] acpitimer_delay(1) at acpitimer_delay+0xb7 sys/dev/acpi/acpitimer.c:120 comcnputc(800,20) at comcnputc+0x29b sys/dev/ic/com.c:1274 cnputc(20) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(2d) at db_putchar+0x126 db_force_whitespace sys/ddb/db_output.c:102 [inline] db_putchar(2d) at db_putchar+0x126 sys/ddb/db_output.c:153 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff834604ef) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff83525983) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80003c3f77a0,98) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff80003c3f77a0) at kerntrap+0x19d sys/arch/amd64/amd64/trap.c:528 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3d3250,fffffc8060d01d90,ffff80003c3f7960) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff80003c3d3250,ffff80003c3f7ab0,ffff80003c3f7a00) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 syscall(ffff80003c3f7ab0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3f7ab0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7efa17853f0, count: -18 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x771141a5b8c0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x771141a5b8c0, count: -1