*cpu1: uvm_fault(0xffffef007edfbb90, 0x7fff00007fff, 0, 1) -> e ddb{0}> show kasan No such command ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x6f85c2ad9a40, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000383a60b0 rbx 0 rdx 0 rcx 0xffff80003c3fe2c8 rax 0x32 r8 0xffff8000383a5fe0 r9 0x2 r10 0xb9f30c35826c3a4a r11 0x640afa61f96bd999 r12 0 r13 0 r14 0xffff80003c3fe2c8 r15 0 rip 0xffffffff820e33ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff8000383a6030 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{0}> show proc PROC (sshd-session) tid=483144 pid=2943 tcnt=1 stat=onproc flags process=2 proc=0 runpri=58, usrpri=58, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3fed28,0xffff80003c3fe808 process=0xffff800038fcf510 user=0xffff8000383a1000, vmspace=0xffffef006cde89b0 estcpu=8, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 9227 394262 28029 32767 2 0x10 0 syz-executor 9227 260780 28029 32767 3 0x10 0x4000080 ttyin syz-executor * 2943 483144 98598 0 7 0x2 0 sshd-session 23403 58169 57014 32767 2 0x10 0 syz-executor 23403 436307 57014 32767 3 0x10 0x4000080 fsleep syz-executor 23403 73731 57014 32767 3 0x10 0x4000080 fsleep syz-executor 11323 100854 11751 32767 2 0x10 0 syz-executor 11323 221349 11751 32767 3 0x10 0x4000080 fsleep syz-executor 47566 237419 38501 32767 3 0x10 0x80 nanoslp syz-executor 47566 451079 38501 32767 3 0x10 0x4000080 netacc syz-executor 89887 446271 45439 32767 3 0x10 0x80 nanoslp syz-executor 89887 293131 45439 32767 3 0x10 0x4000080 lockf syz-executor 89887 145962 45439 32767 3 0x10 0x4000080 fsleep syz-executor 89887 444296 45439 32767 3 0x10 0x4000080 fsleep syz-executor 45439 208605 13049 32767 3 0x10 0x80 nanoslp syz-executor 13049 456903 95744 0 3 0x2 0x80 wait syz-executor 46390 155138 152 32767 3 0x10 0x80 nanoslp syz-executor 11751 375646 81118 32767 3 0x10 0x80 nanoslp syz-executor 38501 411359 41450 32767 3 0x10 0x80 nanoslp syz-executor 28029 218703 37773 32767 3 0x10 0x80 nanoslp syz-executor 62863 364675 56188 32767 3 0x10 0x80 nanoslp syz-executor 57014 403584 21467 32767 3 0x10 0x80 nanoslp syz-executor 9992 205121 24632 32767 3 0x10 0x80 nanoslp syz-executor 152 133191 95744 0 3 0x2 0x80 wait syz-executor 81118 49329 95744 0 3 0x2 0x80 wait syz-executor 37773 77414 95744 0 3 0x2 0x80 wait syz-executor 41450 342885 95744 0 3 0x2 0x80 wait syz-executor 56188 202206 95744 0 3 0x2 0x80 wait syz-executor 24632 399581 95744 0 3 0x2 0x80 wait syz-executor 21467 454716 95744 0 3 0x2 0x80 wait syz-executor 95744 93403 77702 0 3 0x2 0x80 kqread syz-executor 77702 484913 93485 0 3 0x100002 0x88 sigsusp ksh 93485 257407 60557 0 3 0x10 0x88 kqread sshd-session 60557 387630 98598 0 3 0x12 0x80 kqread sshd-session 38926 521295 1 0 3 0x100003 0x80 ttyin getty 98598 49948 1 0 3 0 0x88 kqread sshd 61143 172675 65391 73 3 0x1100010 0x80 kqread syslogd 65391 393029 1 0 3 0x100002 0x80 sbwait syslogd 53558 254536 1 0 3 0x100000 0x80 kqread resolvd 43931 87108 80022 77 3 0x100012 0x80 kqread dhcpleased 73458 43249 80022 77 3 0x100012 0x80 kqread dhcpleased 80022 281954 1 0 3 0 0x80 kqread dhcpleased 98358 417670 0 0 3 0x14000 0x200 bored smr 91674 497539 0 0 2 0x14000 0x200 zerothread 83013 125057 0 0 3 0x14000 0x200 aiodoned aiodoned 95711 118813 0 0 3 0x14000 0x200 syncer update 80549 143495 0 0 3 0x14000 0x200 cleaner cleaner 68316 334426 0 0 3 0x14000 0x200 reaper reaper 20228 179318 0 0 3 0x14000 0x200 pgdaemon pagedaemon 42204 289779 0 0 3 0x14000 0x200 bored viomb 96603 344654 0 0 3 0x14000 0x40000200 acpi0 acpi0 43963 16109 0 0 3 0x14000 0x40000200 idle1 28837 431335 0 0 3 0x14000 0x200 bored softnet1 89214 137632 0 0 3 0x14000 0x200 bored softnet0 59012 431225 0 0 3 0x14000 0x200 bored systqmp 8621 245313 0 0 3 0x14000 0x200 bored systq 37902 191939 0 0 3 0x14000 0x200 tmoslp softclockmp 71279 136864 0 0 3 0x14000 0x40000200 tmoslp softclock 34306 208869 0 0 3 0x14000 0x40000200 idle0 1 500865 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11054 12019K 12034K 166960K 12151 0 pcb 17 12K 12K 166960K 17 0 rtable 245 7K 7K 166960K 457 0 pf 31 16K 16K 166960K 35 0 ifaddr 42 7K 7K 166960K 52 0 ifgroup 50 2K 2K 166960K 58 0 sysctl 3 1K 9K 166960K 8 0 counters 70 37K 37K 166960K 74 0 ioctlops 0 0K 4K 166960K 39 0 iov 0 0K 8K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1287 81K 81K 166960K 1457 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 20 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 26 97K 121K 166960K 434 0 sigio 0 0K 0K 166960K 5 0 proc 61 115K 147K 166960K 593 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 64 0 in_multi 99 6K 6K 166960K 129 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 405 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 276 169K 196K 166960K 5638 0 UVM aobj 12 2K 2K 166960K 13 0 pinsyscall 49 98K 112K 166960K 1621 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 13 0K 2K 166960K 33 0 temp 45 9116K 9132K 166960K 4631 0 kqueue 13 20K 28K 166960K 90 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 77 0 74 1 0 1 1 0 8 0 rtentry 176 137 0 23 6 0 6 6 0 8 0 unpcb 144 197 0 173 1 0 1 1 0 8 0 syncache 336 10 0 10 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 98 0 88 2 0 2 2 0 8 1 arp 136 22 0 4 1 0 1 1 0 8 0 inpcb 328 347 0 331 4 0 4 4 0 8 2 nd6 152 34 0 6 2 0 2 2 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 573 0 88 31 0 31 31 0 8 0 art_table 40 574 0 88 5 0 5 5 0 8 0 art_node 32 137 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 18 0 8 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1992 0 525 92 0 92 92 0 8 0 ffsino 296 1992 0 525 113 0 113 113 0 8 0 nchpl 144 2575 0 872 64 0 64 64 0 8 0 vnodes 216 2091 0 0 117 0 117 117 0 8 0 namei 1024 8432 0 8432 1 0 1 1 0 8 1 percpumem 16 53 0 2 1 0 1 1 0 8 0 kstatmem 264 29 0 4 2 0 2 2 0 8 0 scxspl 216 9757 0 9757 7 3 4 4 1 8 4 plimitpl 152 81 0 56 2 0 2 2 0 8 1 sigapl 424 735 0 680 7 0 7 7 0 8 0 knotepl 120 331 0 0 11 0 11 11 0 8 0 kqueuepl 224 101 0 92 2 0 2 2 0 8 1 pipepl 344 155 0 127 3 0 3 3 0 8 0 fdescpl 528 719 0 680 3 0 3 3 0 8 0 filepl 160 3338 0 3071 14 0 14 14 0 8 1 lockfpl 104 76 0 72 1 0 1 1 0 8 0 lockfspl 48 31 0 28 1 0 1 1 0 8 0 sessionpl 144 115 0 97 1 0 1 1 0 8 0 pgrppl 48 129 0 103 1 0 1 1 0 8 0 ucredpl 104 737 0 718 1 0 1 1 0 8 0 zombiepl 144 683 0 680 1 0 1 1 0 8 0 processpl 1232 735 0 680 5 0 5 5 0 8 0 procpl 664 1176 0 1113 7 0 7 7 0 8 1 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 752 627 0 584 7 0 7 7 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mextrefs 64 24 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1217 0 0 77 0 77 77 0 8 0 bufpl 272 3430 0 102 222 0 222 222 0 8 0 anonpl 32 7817 0 0 64 0 64 64 0 247 0 amapchunkpl 152 17552 0 16939 38 0 38 38 0 158 13 amappl16 200 2400 0 2380 7 2 5 5 0 8 2 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 450 0 449 1 0 1 1 0 8 0 amappl13 176 144 0 133 1 0 1 1 0 8 0 amappl12 168 966 0 928 2 0 2 2 0 8 0 amappl11 160 11 0 11 1 1 0 1 0 8 0 amappl10 152 62 0 52 1 0 1 1 0 8 0 amappl9 144 270 0 269 1 0 1 1 0 8 0 amappl8 136 100 0 99 1 0 1 1 0 8 0 amappl7 128 157 0 145 1 0 1 1 0 8 0 amappl6 120 171 0 169 1 0 1 1 0 8 0 amappl5 112 108 0 99 1 0 1 1 0 8 0 amappl4 104 284 0 270 1 0 1 1 0 8 0 amappl3 96 2990 0 2872 5 1 4 4 0 8 0 amappl2 88 881 0 799 3 0 3 3 0 8 1 amappl1 80 13227 0 12563 18 0 18 18 0 8 2 amappl 88 4818 0 4615 5 0 5 5 0 92 0 uvmvnodes 80 102 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 719 0 680 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 719 0 680 1 0 1 1 0 8 0 vmmpekpl 168 8150 0 8113 3 0 3 3 0 8 0 vmmpepl 168 56821 0 54575 115 0 115 115 0 357 17 vmsppl 488 718 0 680 7 1 6 6 0 8 1 rwobjpl 80 19536 0 18459 27 0 27 27 0 8 3 pdppl 4096 1445 0 1360 115 30 85 95 0 8 0 pvpl 32 17628 0 0 144 1 143 143 0 265 0 pmappl 256 718 0 680 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 574 0 33 16 0 16 16 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x6f85c2ad9a40, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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+0x57 acpitimer_read sys/dev/acpi/acpitimer.c:141 [inline] acpitimer_delay(1) at acpitimer_delay+0x57 sys/dev/acpi/acpitimer.c:120 comcnputc(800,29) at comcnputc+0x29b sys/dev/ic/com.c:1274 cnputc(29) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(29) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff83461ade) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff835245bb) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff800038fbdf60,7fff00007fff) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff800038fbdf60) at kerntrap+0x19d sys/arch/amd64/amd64/trap.c:528 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0xffff800038fbe040, count: 0 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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+0x57 acpitimer_read sys/dev/acpi/acpitimer.c:141 [inline] acpitimer_delay(1) at acpitimer_delay+0x57 sys/dev/acpi/acpitimer.c:120 comcnputc(800,29) at comcnputc+0x29b sys/dev/ic/com.c:1274 cnputc(29) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(29) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29c5 sys/kern/subr_prf.c:-1 db_printf(ffffffff83461ade) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff835245bb) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff800038fbdf60,7fff00007fff) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff800038fbdf60) at kerntrap+0x19d sys/arch/amd64/amd64/trap.c:528 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b ip_freemoptions(ffff800000c43d90) at ip_freemoptions+0x63 sys/netinet/ip_output.c:1741 in_pcbdetach(ffffef006b2d8670) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605 udp_detach(ffff800010fdebf0) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158 soclose(ffff800010fdebf0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800010fdebf0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(ffffef006d818840,ffff80003c3fea90) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(ffffef006d818840,ffff80003c3fea90) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef006d818840,ffff80003c3fea90) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c3fea90) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff80003c3fea90,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff80003c3fea90,ffff800038fbe3e0,ffff800038fbe330) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038fbe3e0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800038fbe3e0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d19c88da4d0, count: -26