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:293 spec_open_clone(ffff80002c8b2fb8) at spec_open_clone+0x333 sys/kern/spec_vnops.c:-1 spec_open(ffff80002c8b2fb8) at spec_open+0x316 sys/kern/spec_vnops.c:148 VOP_OPEN(fffff4006b3d77f0,10487,fffff40007ffd750,ffff80002a726008) at VOP_OPEN+0x82 sys/kern/vfs_vops.c:138 vn_open(ffff80002c8b31f8,10687,8) at vn_open+0x75f sys/kern/vfs_vnops.c:183 doopenat(ffff80002a726008,ffffff9c,2000000003c0,10686,8,0,3ccdb06c5450abf6) at doopenat+0x35e sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a726008,ffff80002c8b34a0,ffff80002c8b33f0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff80002c8b34a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8b34a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x46901669dd0, count: -9 ddb> show registers rdi 0xffff80003acd4000 rsi 0x588 rbp 0xffff80002c8b2eb0 rbx 0xe3982adc914aa06b rdx 0xffff80003acd4000 rcx 0x587 rax 0xffffffff8213da84 malloc+0x544 r8 0x40 r9 0xfffff40007ffd750 r10 0x61fffd1a63f242e8 r11 0xff29d58add4c824b r12 0x6ae9e490 r13 0xffffffff83a8b790 kmemstats+0x1fc0 r14 0xa30c333 __kernel_phys_end+0x670c333 r15 0xe3982adcfba344fb rip 0xffffffff8213dd95 malloc+0x855 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff80002c8b2df0 ss 0x10 malloc+0x855: movq 0x8(%rbx),%r14 ddb> show proc PROC (syz-executor) tid=128220 pid=89529 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=52, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a785240,0xffffffff83a3e450 process=0xffff80002f0a1fd0 user=0xffff80002c8ae000, vmspace=0xfffff4007f213e60 estcpu=2, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 92642 91464 18340 0 2 0 0 syz-executor 92642 87953 18340 0 3 0 0x4000080 fsleep syz-executor 89529 420998 10520 0 2 0 0 syz-executor 89529 146768 10520 0 3 0 0x4000080 lockf syz-executor 89529 294603 10520 0 3 0 0x4000080 lockf syz-executor 89529 489406 10520 0 3 0 0x4000080 lockf syz-executor *89529 128220 10520 0 7 0 0x4000000 syz-executor 77708 221481 53940 0 2 0x100000 0 sh 53940 164104 14564 0 3 0x100002 0x88 sigsusp sh 66080 77250 62947 -1 2 0x10 0 syz-executor 66080 281112 62947 -1 3 0x10 0x4000080 msgwait syz-executor 36058 44684 18270 -1 3 0x10 0x80 nanoslp syz-executor 36058 501078 18270 -1 3 0x10 0x4000080 kqsel syz-executor 36058 487520 18270 -1 3 0x10 0x4000080 fsleep syz-executor 40924 444800 38676 0 2 0 0 syz-executor 14564 136137 77004 0 3 0x2 0x80 wait syz-executor 38676 95846 77004 0 3 0x2 0x80 nanoslp syz-executor 62947 424488 77004 0 3 0x2 0x80 nanoslp syz-executor 57931 35200 0 0 3 0x14000 0x200 acct acct 18340 75575 77004 0 3 0x2 0x80 nanoslp syz-executor 10520 445328 77004 0 3 0x2 0x80 nanoslp syz-executor 95813 109542 77004 0 3 0x2 0 biowait syz-executor 93826 13143 77004 0 3 0x2 0 biowait syz-executor 18270 389576 77004 0 3 0x2 0x80 nanoslp syz-executor 77004 308937 5590 0 3 0x2 0x80 kqread syz-executor 5590 322872 37997 0 3 0x100002 0x88 sigsusp ksh 37997 408888 76475 0 3 0x10 0x88 kqread sshd-session 76475 226560 71963 0 3 0x12 0x80 kqread sshd-session 61139 464645 1 0 3 0x100003 0x80 ttyin getty 71963 270914 1 0 3 0 0x88 kqread sshd 93657 462645 33897 73 3 0x1100010 0x80 kqread syslogd 33897 344766 1 0 3 0x100002 0x80 sbwait syslogd-parent 98220 396942 1 0 3 0x100000 0x80 kqread resolvd 47388 25679 93712 77 3 0x100012 0x80 kqread dhcpleased 26476 478832 93712 77 3 0x100012 0x80 kqread dhcpleased 93712 169811 1 0 3 0 0x80 kqread dhcpleased 89631 306220 0 0 3 0x14000 0x200 bored smr 86262 35254 0 0 2 0x14000 0x200 zerothread 12708 428819 0 0 3 0x14000 0x200 aiodoned aiodoned 4500 375242 0 0 3 0x14000 0x200 syncer update 72603 263023 0 0 3 0x14000 0x200 cleaner cleaner 33112 350181 0 0 3 0x14000 0x200 reaper reaper 11678 50020 0 0 3 0x14000 0x200 pgdaemon pagedaemon 99312 42311 0 0 3 0x14000 0x200 bored viomb 79551 350818 0 0 3 0x14000 0x40000200 acpi0 acpi0 4909 339687 0 0 3 0x14000 0x200 bored softnet0 7508 510761 0 0 3 0x14000 0x200 bored systqmp 20692 497540 0 0 3 0x14000 0x200 bored systq 70588 133272 0 0 3 0x14000 0x40000200 tmoslp softclock 24796 466947 0 0 3 0x14000 0x40000200 idle0 1 302656 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 11034 12169K 12250K 166960K 12335 0 pcb 17 13K 17K 166960K 262 0 rtable 212 6K 9K 166960K 952 0 pf 30 12K 16K 166960K 99 0 ifaddr 40 7K 8K 166960K 132 0 ifgroup 50 2K 2K 166960K 154 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 62 0 ioctlops 0 0K 4K 166960K 89 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1303 82K 82K 166960K 1723 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 15 0K 0K 166960K 146 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 85K 166960K 594 0 sigio 0 0K 0K 166960K 2 0 proc 61 59K 83K 166960K 1040 0 subproc 73 4K 4K 166960K 244 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 21 0 in_multi 92 6K 7K 166960K 309 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 663 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 206 159K 168K 166960K 5985 0 UVM aobj 5 2K 6K 166960K 9 0 pinsyscall 38 76K 90K 166960K 2176 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 13 0K 2K 166960K 91 0 temp 42 9115K 9179K 166960K 11598 0 kqueue 14 22K 26K 166960K 68 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 83 0 80 1 0 1 1 0 8 0 rtentry 136 318 0 228 4 0 4 4 0 8 0 unpcb 144 383 0 366 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 46 0 41 1 0 1 1 0 8 0 arp 96 56 0 40 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 36 0 34 1 0 1 1 0 8 0 inpcb 328 522 0 513 7 0 7 7 0 8 6 ip6q 80 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 79 0 57 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 6 0 6 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 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 pfrule 1360 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1319 0 893 33 0 33 33 0 8 3 art_table 40 1320 0 893 6 0 6 6 0 8 0 art_node 32 318 0 237 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semapl 72 144 0 131 1 0 1 1 0 8 0 shmpl 120 4 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1963 0 450 95 0 95 95 0 8 0 ffsino 256 1963 0 450 95 0 95 95 0 8 0 nchpl 144 2417 0 647 66 0 66 66 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2308 0 0 129 0 129 129 0 8 0 namei 1024 10626 0 10626 3 0 3 3 0 8 3 vcpupl 3968 32 0 32 4 0 4 4 0 8 4 vmpool 808 2 0 2 1 0 1 1 0 8 1 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 77 0 54 2 0 2 2 0 8 0 scxspl 216 8751 0 8749 8 0 8 8 1 8 7 plimitpl 152 298 0 282 1 0 1 1 0 8 0 sigapl 424 847 0 804 6 0 6 6 0 8 0 knotepl 120 9096 0 9048 10 0 10 10 0 8 8 kqueuepl 184 88 0 78 1 0 1 1 0 8 0 pipepl 304 186 0 159 3 0 3 3 0 8 0 fdescpl 448 833 0 804 4 0 4 4 0 8 0 filepl 120 3659 0 3448 11 0 11 11 0 8 2 lockfpl 104 333 0 326 1 0 1 1 0 8 0 lockfspl 48 33 0 30 1 0 1 1 0 8 0 sessionpl 144 46 0 37 1 0 1 1 0 8 0 pgrppl 48 140 0 123 1 0 1 1 0 8 0 ucredpl 104 360 0 346 1 0 1 1 0 8 0 zombiepl 144 804 0 804 1 0 1 1 0 8 1 processpl 1160 847 0 804 4 0 4 4 0 8 0 procpl 664 1162 0 1111 6 0 6 6 0 8 1 sosppl 176 4 0 4 1 0 1 1 0 8 1 sockpl 552 1031 0 1002 8 0 8 8 0 8 5 mcl64k 65536 45 0 43 1 0 1 1 0 8 0 mcl8k 8192 14 0 14 1 0 1 1 0 8 1 mcl4k 4096 2787 0 2736 13 0 13 13 0 8 5 mcl2k 2048 585 0 582 1 0 1 1 0 8 0 mextrefs 64 153 0 152 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 7487 0 7339 12 0 12 12 0 8 0 bufpl 272 2867 0 87 186 0 186 186 0 8 0 anonpl 24 120280 0 117258 43 0 43 43 0 187 14 amapchunkpl 152 16993 0 16588 26 0 26 26 0 158 7 amappl16 200 1617 0 1598 13 1 12 13 0 8 8 amappl15 192 27 0 27 1 0 1 1 0 8 1 amappl14 184 639 0 637 1 0 1 1 0 8 0 amappl13 176 145 0 135 1 0 1 1 0 8 0 amappl12 168 1139 0 1113 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 58 0 50 1 0 1 1 0 8 0 amappl9 144 299 0 298 1 0 1 1 0 8 0 amappl8 136 161 0 160 1 0 1 1 0 8 0 amappl7 128 178 0 167 1 0 1 1 0 8 0 amappl6 120 223 0 221 1 0 1 1 0 8 0 amappl5 112 201 0 193 1 0 1 1 0 8 0 amappl4 104 335 0 321 1 0 1 1 0 8 0 amappl3 96 3466 0 3368 4 0 4 4 0 8 0 amappl2 88 586 0 534 2 0 2 2 0 8 0 amappl1 80 13161 0 12619 13 0 13 13 0 8 1 amappl 88 4982 0 4839 4 0 4 4 0 92 0 uvmvnodes 80 108 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 8 0 4 1 0 1 1 0 8 0 uaddrrnd 24 833 0 804 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 833 0 804 1 0 1 1 0 8 0 vmmpekpl 168 8000 0 7954 3 0 3 3 0 8 0 vmmpepl 168 62191 0 60501 88 0 88 88 0 357 10 vmsppl 368 832 0 804 4 0 4 4 0 8 1 rwobjpl 40 19735 0 18806 12 0 12 12 0 8 1 pdppl 4096 1676 0 1612 94 26 68 76 0 8 4 pvpl 32 344837 0 336719 100 0 100 100 0 265 19 pmappl 216 834 0 806 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 554 0 26 16 0 16 16 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:293 spec_open_clone(ffff80002c8b2fb8) at spec_open_clone+0x333 sys/kern/spec_vnops.c:-1 spec_open(ffff80002c8b2fb8) at spec_open+0x316 sys/kern/spec_vnops.c:148 VOP_OPEN(fffff4006b3d77f0,10487,fffff40007ffd750,ffff80002a726008) at VOP_OPEN+0x82 sys/kern/vfs_vops.c:138 vn_open(ffff80002c8b31f8,10687,8) at vn_open+0x75f sys/kern/vfs_vnops.c:183 doopenat(ffff80002a726008,ffffff9c,2000000003c0,10686,8,0,3ccdb06c5450abf6) at doopenat+0x35e sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a726008,ffff80002c8b34a0,ffff80002c8b33f0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff80002c8b34a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8b34a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x46901669dd0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:293 spec_open_clone(ffff80002c8b2fb8) at spec_open_clone+0x333 sys/kern/spec_vnops.c:-1 spec_open(ffff80002c8b2fb8) at spec_open+0x316 sys/kern/spec_vnops.c:148 VOP_OPEN(fffff4006b3d77f0,10487,fffff40007ffd750,ffff80002a726008) at VOP_OPEN+0x82 sys/kern/vfs_vops.c:138 vn_open(ffff80002c8b31f8,10687,8) at vn_open+0x75f sys/kern/vfs_vnops.c:183 doopenat(ffff80002a726008,ffffff9c,2000000003c0,10686,8,0,3ccdb06c5450abf6) at doopenat+0x35e sys/kern/vfs_syscalls.c:1163 sys_open(ffff80002a726008,ffff80002c8b34a0,ffff80002c8b33f0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff80002c8b34a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8b34a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x46901669dd0, count: -9