kernel: protection fault trap, code=0 Stopped at malloc+0x855: movq 0x8(%rbx),%r14 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> show kasan No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:294 dofilereadv(ffff80002a7674d0,f9,ffff80002a80d138,0,ffff80002a80d1e0) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a7674d0,ffff80002a80d290,ffff80002a80d1e0) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a80d290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80d290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7176eaeecd60, count: -5 ddb> show registers rdi 0xd7c0302da0e4aba rsi 0x6a59e339 rbp 0xffff80002a80d080 rbx 0xd7c0302b057a983 rdx 0 rcx 0x4 rax 0xffff80002a7674d0 r8 0xffff80002a80d1e0 r9 0x3 r10 0xd3029faf0fd955c4 r11 0x19acf89cd3a5b28a r12 0x6a59e339 r13 0xffffffff83a7fc40 kmemstats+0x1fc0 r14 0xa30c333 __kernel_phys_end+0x670c333 r15 0xd7c0302da0e4aba rip 0xffffffff823f30a5 malloc+0x855 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a80cfc0 ss 0x10 malloc+0x855: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor) tid=148960 pid=76669 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a766d08,0xffff80002a7367e0 process=0xffff80002a79d210 user=0xffff80002a808000, vmspace=0xffffee00720095c8 estcpu=4, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 99603 469108 24163 -1 2 0x10 0 syz-executor 99603 278031 24163 -1 3 0x10 0x4000080 fsleep syz-executor 29670 498451 292 0 2 0 0 syz-executor 29670 402206 292 0 3 0 0x4000080 netacc syz-executor 6400 126737 88945 0 2 0 0 syz-executor 995 149828 72023 0 2 0 0 syz-executor 995 4715 72023 0 3 0 0x4000080 fifor syz-executor 94289 416852 70203 0 3 0 0x80 nanoslp syz-executor 94289 350076 70203 0 3 0 0x4000080 kqsel syz-executor 94289 221875 70203 0 3 0 0x4000080 fsleep syz-executor 88945 235203 41630 0 2 0x2 0 syz-executor 292 273032 41630 0 2 0x2 0xc80 syz-executor 99254 353530 41630 0 2 0x2 0 syz-executor 24163 29091 41630 0 3 0x2 0x80 nanoslp syz-executor 72023 335766 41630 0 2 0x2 0xc80 syz-executor *76669 148960 41630 0 7 0x2 0 syz-executor 88033 389590 41630 0 2 0x10000002 0x80 syz-executor 70203 254183 41630 0 2 0x2 0xc80 syz-executor 41630 467105 73198 0 2 0x2 0 syz-executor 73198 408608 8519 0 3 0x100002 0x88 sigsusp ksh 8519 21209 33307 0 3 0x10 0x88 kqread sshd-session 33307 292374 53668 0 3 0x12 0x80 kqread sshd-session 42625 66692 1 0 3 0x100003 0x80 ttyin getty 53668 359955 1 0 3 0 0x88 kqread sshd 13566 294588 993 73 3 0x1100010 0x80 kqread syslogd 993 120521 1 0 3 0x100002 0x80 sbwait syslogd 73835 376617 1 0 3 0x100000 0x80 kqread resolvd 58306 255642 53472 77 3 0x100012 0x80 kqread dhcpleased 32077 310339 53472 77 3 0x100012 0x80 kqread dhcpleased 53472 4667 1 0 3 0 0x80 kqread dhcpleased 27793 252326 0 0 3 0x14000 0x200 bored smr 44256 450067 0 0 2 0x14000 0x200 zerothread 80957 483815 0 0 3 0x14000 0x200 aiodoned aiodoned 75625 286709 0 0 3 0x14000 0x200 syncer update 12889 312361 0 0 3 0x14000 0x200 cleaner cleaner 20673 143034 0 0 3 0x14000 0x200 reaper reaper 47904 523244 0 0 3 0x14000 0x200 pgdaemon pagedaemon 15649 145667 0 0 3 0x14000 0x200 bored viomb 39792 14813 0 0 3 0x14000 0x40000200 acpi0 acpi0 94496 253984 0 0 3 0x14000 0x200 bored softnet0 82342 110854 0 0 3 0x14000 0x200 bored systqmp 70959 500543 0 0 3 0x14000 0x200 bored systq 55154 75598 0 0 3 0x14000 0x40000200 tmoslp softclock 9325 491515 0 0 3 0x14000 0x40000200 idle0 1 235112 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11031 12104K 12239K 166960K 12130 0 pcb 17 12K 12K 166960K 25 0 rtable 239 6K 6K 166960K 353 0 pf 30 12K 12K 166960K 30 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 17K 166960K 33 0 ioctlops 0 0K 2K 166960K 31 0 iov 0 0K 2K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 81K 81K 166960K 1370 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 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 53K 97K 166960K 167 0 proc 59 59K 124K 166960K 506 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 3 0K 0K 166960K 8 0 in_multi 99 7K 7K 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 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 362 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 195 158K 172K 166960K 3048 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 36 72K 96K 166960K 1257 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 27 0 temp 33 9102K 9108K 166960K 4378 0 kqueue 16 22K 25K 166960K 37 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 36 0 33 1 0 1 1 0 8 0 rtentry 136 112 0 1 4 0 4 4 0 8 0 unpcb 144 55 0 38 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 22 0 15 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 84 0 72 2 0 2 2 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 40 456 0 0 5 0 5 5 0 8 0 art_node 32 112 0 11 1 0 1 1 0 8 0 semapl 72 1 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1610 0 147 92 0 92 92 0 8 0 ffsino 256 1610 0 147 92 0 92 92 0 8 0 nchpl 144 1860 0 163 63 0 63 63 0 8 0 vnodes 216 1702 0 0 95 0 95 95 0 8 0 namei 1024 5432 0 5432 2 0 2 2 0 8 2 kstatmem 264 23 0 0 2 0 2 2 0 8 0 scxspl 216 6208 0 6208 4 0 4 4 1 8 4 plimitpl 152 34 0 17 1 0 1 1 0 8 0 sigapl 424 459 0 418 6 0 6 6 0 8 1 knotepl 120 3534 0 3483 2 0 2 2 0 8 0 kqueuepl 184 35 0 23 1 0 1 1 0 8 0 pipepl 304 122 0 95 3 0 3 3 0 8 0 fdescpl 448 446 0 419 5 0 5 5 0 8 1 filepl 120 1591 0 1377 7 0 7 7 0 8 0 lockfpl 104 12 0 10 1 0 1 1 0 8 0 lockfspl 48 7 0 5 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 119 0 106 1 0 1 1 0 8 0 zombiepl 144 419 0 418 1 0 1 1 0 8 0 processpl 1152 459 0 418 4 0 4 4 0 8 0 procpl 664 509 0 463 5 0 5 5 0 8 0 sockpl 552 177 0 145 3 0 3 3 0 8 0 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2532 0 2483 13 0 13 13 0 8 6 mcl2k 2048 147 0 147 1 0 1 1 0 8 1 mextrefs 64 45 0 45 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4761 0 4618 18 0 18 18 0 8 7 bufpl 272 2274 0 102 145 0 145 145 0 8 0 anonpl 24 82207 0 79300 21 0 21 21 0 187 1 amapchunkpl 152 8890 0 8131 40 0 40 40 0 158 7 amappl16 200 1239 0 1220 4 0 4 4 0 8 2 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 412 0 410 1 0 1 1 0 8 0 amappl13 176 118 0 108 1 0 1 1 0 8 0 amappl12 168 677 0 652 2 0 2 2 0 8 0 amappl11 160 39 0 39 1 0 1 1 0 8 1 amappl10 152 58 0 48 1 0 1 1 0 8 0 amappl9 144 311 0 310 1 0 1 1 0 8 0 amappl8 136 115 0 114 1 0 1 1 0 8 0 amappl7 128 140 0 129 1 0 1 1 0 8 0 amappl6 120 147 0 146 1 0 1 1 0 8 0 amappl5 112 93 0 86 1 0 1 1 0 8 0 amappl4 104 276 0 260 1 0 1 1 0 8 0 amappl3 96 1593 0 1508 3 0 3 3 0 8 0 amappl2 88 517 0 465 2 0 2 2 0 8 0 amappl1 80 10243 0 9708 13 0 13 13 0 8 0 amappl 88 2354 0 2220 4 0 4 4 0 92 0 uvmvnodes 80 101 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 446 0 419 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 446 0 419 1 0 1 1 0 8 0 vmmpekpl 168 5552 0 5520 2 0 2 2 0 8 0 vmmpepl 168 37584 0 35956 80 0 80 80 0 357 2 vmsppl 368 445 0 419 4 0 4 4 0 8 1 rwobjpl 40 13723 0 12821 11 0 11 11 0 8 1 pdppl 4096 898 0 838 96 28 68 82 0 8 8 pvpl 32 207305 0 199504 71 0 71 71 0 265 1 pmappl 216 445 0 419 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 508 0 28 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:294 dofilereadv(ffff80002a7674d0,f9,ffff80002a80d138,0,ffff80002a80d1e0) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a7674d0,ffff80002a80d290,ffff80002a80d1e0) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a80d290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80d290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7176eaeecd60, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:294 dofilereadv(ffff80002a7674d0,f9,ffff80002a80d138,0,ffff80002a80d1e0) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a7674d0,ffff80002a80d290,ffff80002a80d1e0) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a80d290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80d290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7176eaeecd60, count: -5