*cpu0: uvm_fault(0xfffff3006b98b3f0, 0x98, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xe811fd1fdc0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c47f920 rbx 0 rdx 0xffff8000015ccc00 rcx 0xffff80003c43e7f8 rax 0x3b r8 0xffff80003c47f850 r9 0x1 r10 0x2c69358b238341d2 r11 0xca411df23868199a r12 0 r13 0 r14 0xffff80003c43e7f8 r15 0 rip 0xffffffff8105a3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c47f8a0 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=136907 pid=1389 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c43f258,0xffff80003c3b8d28 process=0xffff80003c443048 user=0xffff80003c47a000, vmspace=0xfffff3006b98b208 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 1389 471574 38459 0 2 0 0 syz-executor * 1389 136907 38459 0 7 0 0x4000000 syz-executor 72868 247500 83529 0 2 0x10 0 syz-executor 72868 484947 83529 0 3 0x10 0x4000080 fsleep syz-executor 1718 389012 61716 0 2 0 0 syz-executor 1718 42054 61716 0 7 0 0x4000000 syz-executor 1718 163179 61716 0 3 0 0x4000080 fsleep syz-executor 71166 199228 97849 0 3 0 0x80 nanoslp syz-executor 71166 394452 97849 0 3 0 0x4000080 kqread syz-executor 71166 433729 97849 0 3 0 0x4000080 fsleep syz-executor 21407 421254 98971 0 3 0x1 0x80 nanoslp syz-executor 21407 260137 98971 0 3 0x1 0x4000080 kqread syz-executor 21407 444455 98971 0 3 0x1 0x4000080 fsleep syz-executor 70650 458570 31153 0 3 0 0x80 nanoslp syz-executor 70650 10489 31153 0 3 0 0x4000080 rest syz-executor 11445 81462 0 0 3 0x14000 0x280 nfsidl nfsio 68043 249523 0 0 3 0x14000 0x280 nfsidl nfsio 77113 454124 0 0 3 0x14000 0x280 nfsidl nfsio 52475 44577 0 0 3 0x14000 0x280 nfsidl nfsio 46450 247314 0 0 3 0x14000 0x280 nfsidl nfsio 31984 507560 0 0 3 0x14000 0x280 nfsidl nfsio 28595 474807 0 0 3 0x14000 0x280 nfsidl nfsio 65498 134387 0 0 3 0x14000 0x280 nfsidl nfsio 63850 296704 0 0 3 0x14000 0x280 nfsidl nfsio 10419 131106 0 0 3 0x14000 0x280 nfsidl nfsio 82623 421161 0 0 3 0x14000 0x280 nfsidl nfsio 14586 236014 0 0 3 0x14000 0x280 nfsidl nfsio 25873 428401 0 0 3 0x14000 0x280 nfsidl nfsio 72098 242455 0 0 3 0x14000 0x280 nfsidl nfsio 34406 154713 0 0 3 0x14000 0x280 nfsidl nfsio 17437 385587 0 0 3 0x14000 0x280 nfsidl nfsio 81287 308461 0 0 3 0x14000 0x280 nfsidl nfsio 15746 231931 0 0 3 0x14000 0x280 nfsidl nfsio 49095 318501 0 0 3 0x14000 0x280 nfsidl nfsio 22578 186951 0 0 3 0x14000 0x280 nfsidl nfsio 24953 328190 89914 0 3 0 0x80 nanoslp syz-executor 24953 163582 89914 0 3 0 0x4000080 semwait syz-executor 24953 274586 89914 0 3 0 0x4000080 fsleep syz-executor 24953 306820 89914 0 3 0 0x4000080 fsleep syz-executor 68788 232593 96675 0 3 0 0x80 nanoslp syz-executor 68788 197181 96675 0 3 0 0x4000080 sbwait syz-executor 68788 428559 96675 0 3 0 0x4000080 fsleep syz-executor 96675 461734 41790 0 3 0x2 0x80 nanoslp syz-executor 31153 87912 41790 0 3 0x2 0x80 nanoslp syz-executor 61716 86622 41790 0 3 0x2 0x80 nanoslp syz-executor 89914 503580 41790 0 3 0x2 0x80 nanoslp syz-executor 98971 164034 41790 0 3 0x2 0x80 nanoslp syz-executor 97849 283040 41790 0 3 0x2 0x80 nanoslp syz-executor 83529 374361 41790 0 3 0x2 0x80 nanoslp syz-executor 38459 489261 41790 0 3 0x2 0x80 nanoslp syz-executor 41790 480804 33872 0 3 0x2 0x80 kqread syz-executor 33872 165829 96178 0 3 0x100002 0x88 sigsusp ksh 96178 492521 95597 0 3 0x10 0x88 kqread sshd-session 95597 214058 7915 0 3 0x12 0x80 kqread sshd-session 58904 122445 1 0 3 0x100003 0x80 ttyin getty 7915 471983 1 0 3 0 0x88 kqread sshd 28036 131528 1747 74 3 0x1100012 0x80 bpf pflogd 1747 239845 1 0 3 0 0x80 sbwait pflogd 80531 272525 96626 73 3 0x1100010 0x80 kqread syslogd 96626 391208 1 0 3 0x100002 0x80 sbwait syslogd 19321 291840 1 0 3 0x100000 0x80 kqread resolvd 44410 469619 14237 77 3 0x100012 0x80 kqread dhcpleased 60012 241442 14237 77 3 0x100012 0x80 kqread dhcpleased 14237 150569 1 0 3 0 0x80 kqread dhcpleased 49174 108071 0 0 3 0x14000 0x200 bored smr 31476 12966 0 0 2 0x14000 0x200 zerothread 16649 195659 0 0 3 0x14000 0x200 aiodoned aiodoned 92482 345302 0 0 3 0x14000 0x200 syncer update 70164 216666 0 0 3 0x14000 0x200 cleaner cleaner 95903 123025 0 0 3 0x14000 0x200 reaper reaper 17592 17149 0 0 3 0x14000 0x200 pgdaemon pagedaemon 42247 152816 0 0 3 0x14000 0x200 bored viomb 46951 451481 0 0 3 0x14000 0x40000200 acpi0 acpi0 7987 24616 0 0 3 0x14000 0x40000200 idle1 7732 518817 0 0 3 0x14000 0x200 bored softnet1 82839 171726 0 0 3 0x14000 0x200 bored softnet0 39375 356574 0 0 3 0x14000 0x200 bored systqmp 4975 268673 0 0 3 0x14000 0x200 bored systq 24734 233834 0 0 3 0x14000 0x200 tmoslp softclockmp 27438 223387 0 0 3 0x14000 0x40000200 tmoslp softclock 54185 427458 0 0 3 0x14000 0x40000200 idle0 1 399976 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 1718 (syz-executor) thread 0xffff80003c43f4f0 (42054) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a81b00) #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 11080 12291K 12355K 166960K 12193 0 pcb 20 12K 12K 166960K 30 0 rtable 241 7K 8K 166960K 371 0 pf 36 17K 21K 166960K 59 0 ifaddr 44 7K 7K 166960K 46 0 ifgroup 57 2K 2K 166960K 57 0 sysctl 3 1K 9K 166960K 7 0 counters 76 37K 37K 166960K 76 0 ioctlops 0 0K 4K 166960K 1497 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1302 82K 82K 166960K 1380 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 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 93K 166960K 161 0 sigio 0 0K 0K 166960K 1 0 proc 69 115K 180K 166960K 555 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 1 0 in_multi 99 6K 6K 166960K 101 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 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 392 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 245 159K 170K 166960K 3383 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 43 86K 102K 166960K 1317 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 29 2K 2K 166960K 29 0 temp 35 9114K 9122K 166960K 3937 0 kqueue 16 26K 28K 166960K 31 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 35 0 32 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 45 0 23 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 13 0 8 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 84 0 71 2 0 2 2 0 8 0 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 3 0 0 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 8 0 8 1 0 1 1 0 8 1 pfanchor 1288 2 0 2 1 0 1 1 0 8 1 pftag 88 4 0 4 1 0 1 1 0 8 1 pfstitem 24 22 0 0 1 0 1 1 0 8 0 pfstkey 128 22 0 0 1 0 1 1 0 8 0 pfstate 448 22 0 0 3 0 3 3 0 8 0 pfrule 1360 23 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 453 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 semapl 72 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1605 0 130 93 0 93 93 0 8 0 ffsino 296 1605 0 130 114 0 114 114 0 8 0 nchpl 144 1844 0 130 64 0 64 64 0 8 0 rtmask 32 1 0 0 1 0 1 1 0 8 0 vnodes 216 1708 0 0 95 0 95 95 0 8 0 namei 1024 5657 0 5657 1 0 1 1 0 8 1 percpumem 16 54 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 29 0 0 2 0 2 2 0 8 0 scxspl 216 6277 0 6277 4 2 2 3 1 8 2 plimitpl 152 35 0 16 1 0 1 1 0 8 0 sigapl 424 498 0 430 9 0 9 9 0 8 0 knotepl 120 68 0 0 3 0 3 3 0 8 0 kqueuepl 224 32 0 17 1 0 1 1 0 8 0 pipepl 344 128 0 100 3 0 3 3 0 8 0 fdescpl 528 462 0 430 3 0 3 3 0 8 0 filepl 160 1717 0 1473 11 0 11 11 0 8 0 lockfpl 104 15 0 11 1 0 1 1 0 8 0 lockfspl 48 9 0 5 1 0 1 1 0 8 0 sessionpl 144 27 0 17 1 0 1 1 0 8 0 pgrppl 48 37 0 19 1 0 1 1 0 8 0 ucredpl 104 132 0 118 1 0 1 1 0 8 0 zombiepl 144 430 0 430 1 0 1 1 0 8 1 processpl 1232 498 0 430 6 0 6 6 0 8 0 procpl 664 545 0 463 7 0 7 7 0 8 0 sockpl 752 164 0 126 4 0 4 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mextrefs 64 15 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 123 0 0 8 0 8 8 0 8 0 bufpl 272 2327 0 105 149 0 149 149 0 8 0 anonpl 32 3807 0 0 31 0 31 31 0 247 0 amapchunkpl 152 9208 0 8675 22 0 22 22 0 158 0 amappl16 200 1836 0 1814 5 0 5 5 0 8 3 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 448 0 447 1 0 1 1 0 8 0 amappl13 176 121 0 109 1 0 1 1 0 8 0 amappl12 168 714 0 683 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 0 1 1 0 8 1 amappl10 152 78 0 64 1 0 1 1 0 8 0 amappl9 144 287 0 287 1 0 1 1 0 8 1 amappl8 136 95 0 92 1 0 1 1 0 8 0 amappl7 128 154 0 140 1 0 1 1 0 8 0 amappl6 120 178 0 176 1 0 1 1 0 8 0 amappl5 112 105 0 95 1 0 1 1 0 8 0 amappl4 104 296 0 277 1 0 1 1 0 8 0 amappl3 96 1555 0 1449 3 0 3 3 0 8 0 amappl2 88 585 0 509 2 0 2 2 0 8 0 amappl1 80 10566 0 9946 15 0 15 15 0 8 0 amappl 88 2649 0 2475 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 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 462 0 430 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 462 0 430 1 0 1 1 0 8 0 vmmpekpl 168 5843 0 5810 2 0 2 2 0 8 0 vmmpepl 168 39177 0 37204 88 0 88 88 0 357 2 vmsppl 488 461 0 430 5 0 5 5 0 8 0 rwobjpl 80 14875 0 13833 24 0 24 24 0 8 0 pdppl 4096 931 0 860 97 12 85 85 0 8 14 pvpl 32 10145 0 0 82 0 82 82 0 265 0 pmappl 256 461 0 430 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 415 0 15 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839d6ff0) 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,65) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:790 comcnputc(800,65) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,65) at comcnputc+0x1ab sys/dev/ic/com.c:1268 cnputc(65) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff834ae4d0) at db_printf+0x9b sys/kern/subr_prf.c:-1 db_ktrap(6,0,ffff80003c3bf270) at db_ktrap+0x1b6 db_printtrap sys/arch/amd64/amd64/db_interface.c:103 [inline] db_ktrap(6,0,ffff80003c3bf270) at db_ktrap+0x1b6 sys/arch/amd64/amd64/db_interface.c:128 kerntrap(ffff80003c3bf270) at kerntrap+0x243 sys/arch/amd64/amd64/trap.c:519 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c43f4f0,fffff3006ce4ccb8,ffff80003c3bf430) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff80003c43f4f0,ffff80003c3bf580,ffff80003c3bf4d0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 end trace frame: 0xffff80003c3bf570, count: 0 ddb{0}> trace x86_ipi_db(ffffffff839d6ff0) 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,65) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:790 comcnputc(800,65) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,65) at comcnputc+0x1ab sys/dev/ic/com.c:1268 cnputc(65) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff834ae4d0) at db_printf+0x9b sys/kern/subr_prf.c:-1 db_ktrap(6,0,ffff80003c3bf270) at db_ktrap+0x1b6 db_printtrap sys/arch/amd64/amd64/db_interface.c:103 [inline] db_ktrap(6,0,ffff80003c3bf270) at db_ktrap+0x1b6 sys/arch/amd64/amd64/db_interface.c:128 kerntrap(ffff80003c3bf270) at kerntrap+0x243 sys/arch/amd64/amd64/trap.c:519 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dovutimens(ffff80003c43f4f0,fffff3006ce4ccb8,ffff80003c3bf430) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimens(ffff80003c43f4f0,ffff80003c3bf580,ffff80003c3bf4d0) at sys_futimens+0xb3 sys/kern/vfs_syscalls.c:2767 syscall(ffff80003c3bf580) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3bf580) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd6c85a7e890, count: -16 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0xe811fd1fdc0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xe811fd1fdc0, count: -1