*cpu0: uvm_fault(0xffffee006cef39a8, 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: 0x7f76b2879630, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c3e7f50 rbx 0 rdx 0 rcx 0xffff80003c3d7780 rax 0x2a r8 0xffff80003c3e7e80 r9 0x1 r10 0x2d2094a272e7a8f5 r11 0x4ca570e1998680d7 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff821794c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c3e7ed0 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=519039 pid=35273 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3d6a88,0xffff80003c3d6568 process=0xffff80003a7a9d00 user=0xffff80003c3e2000, vmspace=0xffffee006cef3020 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 32948 120533 45075 0 2 0 0 syz-executor *35273 519039 14539 0 7 0 0 syz-executor 94392 222758 81249 0 2 0 0 syz-executor 94392 275746 81249 0 7 0 0x4000000 syz-executor 94392 253788 81249 0 3 0 0x4000080 fsleep syz-executor 8482 474303 92861 0 2 0 0xc80 syz-executor 8482 420607 92861 0 3 0 0x4000080 fsleep syz-executor 665 100890 52226 0 2 0 0xc80 syz-executor 665 240817 52226 0 3 0 0x4000080 fsleep syz-executor 665 132395 52226 0 3 0 0x4000080 fsleep syz-executor 665 198508 52226 0 3 0 0x4000080 fsleep syz-executor 77586 23816 40068 0 3 0 0x80 nanoslp syz-executor 77586 2082 40068 0 3 0 0x4000080 netcon syz-executor 77586 480756 40068 0 3 0 0x4000080 fsleep syz-executor 97745 128699 44490 0 3 0 0x80 nanoslp syz-executor 97745 353562 44490 0 3 0 0x4000080 lockf syz-executor 97745 505518 44490 0 3 0 0x4000080 fsleep syz-executor 44490 74212 56030 0 2 0x2 0xc80 syz-executor 45075 402138 56030 0 3 0x2 0x80 nanoslp syz-executor 14539 80427 56030 0 3 0x2 0x80 nanoslp syz-executor 9909 132355 56030 0 2 0x2 0xc80 syz-executor 81249 160935 56030 0 2 0x2 0xc80 syz-executor 52226 371671 56030 0 3 0x2 0x80 nanoslp syz-executor 40068 332699 56030 0 2 0x2 0xc80 syz-executor 92861 130033 56030 0 2 0x2 0xc80 syz-executor 56030 376887 57762 0 3 0x2 0x80 kqread syz-executor 57762 242538 93814 0 3 0x100002 0x88 sigsusp ksh 93814 162883 25265 0 3 0x10 0x88 kqread sshd-session 25265 96295 83507 0 3 0x12 0x80 kqread sshd-session 32640 449252 1 0 3 0x100003 0x80 ttyin getty 83507 414940 1 0 3 0 0x88 kqread sshd 8469 450677 52160 74 3 0x1100012 0x80 bpf pflogd 52160 142588 1 0 3 0 0x80 sbwait pflogd 86938 420835 65865 73 3 0x1100010 0x80 kqread syslogd 65865 364835 1 0 3 0x100002 0x80 sbwait syslogd 78349 255124 1 0 3 0x100000 0x80 kqread resolvd 8768 456450 7157 77 3 0x100012 0x80 kqread dhcpleased 33585 489041 7157 77 3 0x100012 0x80 kqread dhcpleased 7157 30972 1 0 3 0 0x80 kqread dhcpleased 70358 93637 0 0 3 0x14000 0x200 bored smr 68738 398880 0 0 3 0x14000 0x200 pgzero zerothread 132 302074 0 0 3 0x14000 0x200 aiodoned aiodoned 67406 432517 0 0 3 0x14000 0x200 syncer update 71047 302703 0 0 3 0x14000 0x200 cleaner cleaner 59673 484763 0 0 3 0x14000 0x200 reaper reaper 64812 94690 0 0 3 0x14000 0x200 pgdaemon pagedaemon 81674 390021 0 0 3 0x14000 0x200 bored viomb 42576 410795 0 0 3 0x14000 0x40000200 acpi0 acpi0 63401 175598 0 0 3 0x14000 0x40000200 idle1 49523 307257 0 0 3 0x14000 0x200 bored softnet1 44551 260312 0 0 3 0x14000 0x200 bored softnet0 3786 523811 0 0 3 0x14000 0x200 bored systqmp 6175 396204 0 0 3 0x14000 0x200 bored systq 88559 40137 0 0 3 0x14000 0x200 tmoslp softclockmp 64491 105301 0 0 3 0x14000 0x40000200 tmoslp softclock 3102 391117 0 0 3 0x14000 0x40000200 idle0 1 66147 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 &sched_lock r = 0 (0xffffffff839ef3a8) #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 sleep_finish+0x1d6 sys/kern/kern_synch.c:357 #3 sys_nanosleep+0x26a sys/kern/kern_time.c:303 #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 94392 (syz-executor) thread 0xffff80003c3d74e8 (275746) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83ad3e40) #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 11071 12215K 12279K 166960K 12198 0 pcb 17 12K 12K 166960K 47 0 rtable 242 7K 9K 166960K 376 0 pf 34 17K 21K 166960K 59 0 ifaddr 43 7K 7K 166960K 46 0 ifgroup 55 2K 2K 166960K 57 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 1491 0 iov 0 0K 0K 166960K 34 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1396 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 97K 166960K 178 0 proc 71 115K 164K 166960K 553 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 2 0 in_multi 99 6K 6K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 393 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 236 175K 190K 166960K 3587 0 UVM aobj 4 2K 2K 166960K 5 0 pinsyscall 43 86K 104K 166960K 1364 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 28 2K 2K 166960K 29 0 temp 37 9114K 9120K 166960K 5129 0 kqueue 13 20K 26K 166960K 32 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 38 0 33 1 0 1 1 0 8 0 rtentry 176 113 0 1 6 0 6 6 0 8 0 unpcb 144 64 0 47 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 18 0 12 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 113 0 98 2 0 2 2 0 8 0 nd6 152 26 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 1 0 1 1 0 1 1 0 8 1 pffrent 40 1 0 1 1 0 1 1 0 8 1 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 7 0 7 1 0 1 1 0 8 1 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 2 1 0 1 1 0 8 1 pfstitem 24 25 0 0 1 0 1 1 0 8 0 pfstkey 128 25 0 0 1 0 1 1 0 8 0 pfstate 448 25 0 0 3 0 3 3 0 8 0 pfrule 1360 22 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 0 29 0 29 29 0 8 0 art_table 40 463 0 0 5 0 5 5 0 8 0 art_node 32 113 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 72 4 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1643 0 172 93 0 93 93 0 8 0 ffsino 296 1643 0 172 114 0 114 114 0 8 0 nchpl 144 1897 0 194 64 0 64 64 0 8 0 vnodes 216 1752 0 0 98 0 98 98 0 8 0 namei 1024 6061 0 6061 2 0 2 2 0 8 2 percpumem 16 52 0 1 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 29 0 2 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 6495 0 6495 4 3 1 3 1 8 1 plimitpl 152 36 0 19 1 0 1 1 0 8 0 sigapl 424 504 0 456 7 0 7 7 0 8 1 knotepl 120 511 0 0 16 0 16 16 0 8 0 kqueuepl 224 30 0 21 1 0 1 1 0 8 0 pipepl 344 130 0 103 3 0 3 3 0 8 0 fdescpl 528 488 0 456 3 0 3 3 0 8 0 filepl 160 1900 0 1670 10 0 10 10 0 8 0 lockfpl 104 37 0 28 1 0 1 1 0 8 0 lockfspl 48 18 0 14 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 34 0 17 1 0 1 1 0 8 0 ucredpl 104 160 0 147 1 0 1 1 0 8 0 zombiepl 144 457 0 456 1 0 1 1 0 8 0 processpl 1232 504 0 456 5 0 5 5 0 8 0 procpl 664 571 0 513 6 0 6 6 0 8 0 sockpl 752 219 0 182 5 0 5 5 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mextrefs 64 9 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 126 0 0 8 0 8 8 0 8 0 bufpl 272 2352 0 105 150 0 150 150 0 8 0 anonpl 32 7431 0 0 60 0 60 60 0 247 0 amapchunkpl 152 9734 0 9249 26 0 26 26 0 158 3 amappl16 200 1704 0 1682 11 0 11 11 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 439 0 438 1 0 1 1 0 8 0 amappl13 176 123 0 110 1 0 1 1 0 8 0 amappl12 168 738 0 708 2 0 2 2 0 8 0 amappl11 160 21 0 21 1 0 1 1 0 8 1 amappl10 152 69 0 55 1 0 1 1 0 8 0 amappl9 144 274 0 274 1 0 1 1 0 8 1 amappl8 136 120 0 117 1 0 1 1 0 8 0 amappl7 128 147 0 134 1 0 1 1 0 8 0 amappl6 120 159 0 157 1 0 1 1 0 8 0 amappl5 112 111 0 101 1 0 1 1 0 8 0 amappl4 104 306 0 285 1 0 1 1 0 8 0 amappl3 96 1696 0 1601 3 0 3 3 0 8 0 amappl2 88 612 0 536 2 0 2 2 0 8 0 amappl1 80 10754 0 10149 15 0 15 15 0 8 2 amappl 88 2823 0 2659 5 0 5 5 0 92 0 uvmvnodes 80 100 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 4 0 1 1 0 1 1 0 8 0 uaddrrnd 24 488 0 456 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 488 0 456 1 0 1 1 0 8 0 vmmpekpl 168 5964 0 5932 2 0 2 2 0 8 0 vmmpepl 168 40625 0 38691 93 0 93 93 0 357 2 vmsppl 488 487 0 456 5 0 5 5 0 8 0 rwobjpl 80 15003 0 13979 25 0 25 25 0 8 1 pdppl 4096 983 0 912 99 16 83 87 0 8 12 pvpl 32 14509 0 0 118 0 118 118 0 265 0 pmappl 256 487 0 456 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 419 0 19 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83965ff0) 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_write_1(3f8,0,6b) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:790 comcnputc(800,6b) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,6b) at comcnputc+0x1ab sys/dev/ic/com.c:1268 cnputc(6b) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(6b) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x223 sys/kern/subr_prf.c:723 db_printf(ffffffff8354d8bf) at db_printf+0x9b sys/kern/subr_prf.c:-1 db_ktrap(6,0,ffff80003c3c9e50) at db_ktrap+0xe3 db_printtrap sys/arch/amd64/amd64/db_interface.c:99 [inline] db_ktrap(6,0,ffff80003c3c9e50) at db_ktrap+0xe3 sys/arch/amd64/amd64/db_interface.c:128 kerntrap(ffff80003c3c9e50) at kerntrap+0x243 sys/arch/amd64/amd64/trap.c:519 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3d74e8,ffffee006ce3e7c8,ffff80003c3ca030) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d74e8,ffff80003c3ca180,ffff80003c3ca0d0) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 end trace frame: 0xffff80003c3ca170, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83965ff0) 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_write_1(3f8,0,6b) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:790 comcnputc(800,6b) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,6b) at comcnputc+0x1ab sys/dev/ic/com.c:1268 cnputc(6b) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(6b) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x223 sys/kern/subr_prf.c:723 db_printf(ffffffff8354d8bf) at db_printf+0x9b sys/kern/subr_prf.c:-1 db_ktrap(6,0,ffff80003c3c9e50) at db_ktrap+0xe3 db_printtrap sys/arch/amd64/amd64/db_interface.c:99 [inline] db_ktrap(6,0,ffff80003c3c9e50) at db_ktrap+0xe3 sys/arch/amd64/amd64/db_interface.c:128 kerntrap(ffff80003c3c9e50) at kerntrap+0x243 sys/arch/amd64/amd64/trap.c:519 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c3d74e8,ffffee006ce3e7c8,ffff80003c3ca030) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d74e8,ffff80003c3ca180,ffff80003c3ca0d0) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003c3ca180) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ca180) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc44332fa520, count: -16 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: 0x7f76b2879630, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7f76b2879630, count: -1