uvm_fault(0xffffffff839f52e0, 0xffffe4f2dee0580d, 0, 1) -> e kernel: page fault trap, code=0 Stopped at malloc+0x855: movq 0x8(%rbx),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND *190985 39742 73 0x1100010 0 0 syslogd malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:294 dofilereadv(ffff80002a751238,a,ffff80002a7a1c88,0,ffff80002a7a1d30) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a751238,ffff80002a7a1de0,ffff80002a7a1d30) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a7a1de0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7a1de0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b15c4bcaad0, count: 10 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff839f52e0, 0xffffe4f2dee0580d, 0, 1) -> e ddb> show kasan No such command ddb> trace malloc(10,7f,1) at malloc+0x855 sys/kern/kern_malloc.c:294 dofilereadv(ffff80002a751238,a,ffff80002a7a1c88,0,ffff80002a7a1d30) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a751238,ffff80002a7a1de0,ffff80002a7a1d30) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a7a1de0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7a1de0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b15c4bcaad0, count: -5 ddb> show registers rdi 0x59f5e4f2dee02406 rsi 0xa60a000000007c03 rbp 0xffff80002a7a1bd0 rbx 0xffffe4f2dee05805 rdx 0 rcx 0x4 rax 0xffff80002a751238 r8 0xffff80002a7a1d30 r9 0 r10 0 r11 0x3dbbf92c6f09d2 r12 0xa60a000000007c03 r13 0xffffffff83ac4720 kmemstats+0x1fc0 r14 0xa30c333 __kernel_phys_end+0x670c333 r15 0x59f5e4f2dee02406 rip 0xffffffff8261b055 malloc+0x855 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80002a7a1b10 ss 0x10 malloc+0x855: movq 0x8(%rbx),%r14 ddb> show proc PROC (syslogd) tid=190985 pid=39742 tcnt=1 stat=onproc flags process=1100010 proc=0 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a750fa0,0xffff80002a7514e0 process=0xffff80002a737668 user=0xffff80002a79c000, vmspace=0xfffff2807f09db88 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 23743 369812 1436 0 3 0x2 0 clonelk ifconfig 37478 14024 245 0 3 0x2 0 clonelk ifconfig 1436 385702 16172 0 3 0x100002 0x88 sigsusp sh 245 105035 91453 0 3 0x100002 0x88 sigsusp sh 16172 349217 52444 0 3 0x2 0x80 wait syz-executor 67869 66156 93751 0 2 0 0 syz-executor 91453 275707 52444 0 3 0x2 0x80 wait syz-executor 99964 13962 0 0 3 0x14000 0x280 nfsidl nfsio 61779 419747 0 0 3 0x14000 0x280 nfsidl nfsio 33499 361421 0 0 3 0x14000 0x280 nfsidl nfsio 10972 498941 0 0 3 0x14000 0x280 nfsidl nfsio 415 90839 0 0 3 0x14000 0x280 nfsidl nfsio 14955 193484 0 0 3 0x14000 0x280 nfsidl nfsio 5343 49988 0 0 3 0x14000 0x280 nfsidl nfsio 40201 436346 0 0 3 0x14000 0x280 nfsidl nfsio 76018 149404 0 0 3 0x14000 0x280 nfsidl nfsio 32731 318391 0 0 3 0x14000 0x280 nfsidl nfsio 89213 375292 0 0 3 0x14000 0x280 nfsidl nfsio 23215 90008 0 0 3 0x14000 0x280 nfsidl nfsio 27679 25096 0 0 3 0x14000 0x280 nfsidl nfsio 89774 396823 0 0 3 0x14000 0x280 nfsidl nfsio 6398 366770 0 0 3 0x14000 0x280 nfsidl nfsio 17374 99414 0 0 3 0x14000 0x280 nfsidl nfsio 62523 40520 0 0 3 0x14000 0x280 nfsidl nfsio 91264 249974 0 0 3 0x14000 0x280 nfsidl nfsio 45625 347432 0 0 3 0x14000 0x280 nfsidl nfsio 39932 479634 0 0 3 0x14000 0x280 nfsidl nfsio 62801 37399 91241 0 2 0 0xc80 syz-executor 62801 265902 91241 0 3 0 0x4000088 kqread syz-executor 62801 171421 91241 0 3 0 0x4000088 kqread syz-executor 93751 350210 52444 0 2 0x2 0xc80 syz-executor 91241 70569 52444 0 2 0x2 0xc80 syz-executor 21661 17884 52444 0 3 0x2 0 biowait syz-executor 99471 111669 0 0 3 0x14000 0x200 acct acct 57248 273235 52444 0 3 0x2 0x80 piperd syz-executor 26223 250123 52444 0 2 0x2 0 syz-executor 52444 221421 11469 0 2 0x2 0 syz-executor 11469 54642 89785 0 3 0x100002 0x88 sigsusp ksh 89785 3589 52380 0 3 0x10 0x88 kqread sshd-session 52380 12685 55227 0 3 0x12 0x80 kqread sshd-session 37213 421966 1 0 3 0x100003 0x80 ttyin getty 55227 253630 1 0 3 0 0x88 kqread sshd *39742 190985 50990 73 7 0x1100010 0 syslogd 50990 505256 1 0 3 0x100002 0x80 sbwait syslogd 64009 347838 1 0 3 0x100000 0x80 kqread resolvd 29289 35192 51465 77 3 0x100012 0x80 kqread dhcpleased 82714 366892 51465 77 3 0x100012 0x80 kqread dhcpleased 51465 286331 1 0 3 0 0x80 kqread dhcpleased 56861 221861 0 0 3 0x14000 0x200 bored smr 88418 520843 0 0 2 0x14000 0x200 zerothread 45782 328917 0 0 3 0x14000 0x200 aiodoned aiodoned 80898 296096 0 0 3 0x14000 0x200 syncer update 72735 520019 0 0 3 0x14000 0x200 cleaner cleaner 7729 162854 0 0 3 0x14000 0x200 reaper reaper 21417 125681 0 0 3 0x14000 0x200 pgdaemon pagedaemon 32140 513261 0 0 3 0x14000 0x200 bored viomb 80394 46709 0 0 3 0x14000 0x40000200 acpi0 acpi0 44244 475370 0 0 3 0x14000 0x200 bored softnet0 11457 289625 0 0 3 0x14000 0x200 smrbar systqmp 97521 446248 0 0 3 0x14000 0x200 bored systq 29781 82936 0 0 3 0x14000 0x40000200 tmoslp softclock 40551 411873 0 0 3 0x14000 0x40000200 idle0 1 311896 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 11027 12100K 12216K 166960K 12474 0 pcb 17 13K 14K 166960K 114 0 rtable 187 7K 8K 166960K 1853 0 pf 29 13K 20K 166960K 320 0 ifaddr 31 6K 7K 166960K 250 0 ifgroup 42 1K 2K 166960K 258 0 sysctl 3 1K 9K 166960K 9 0 counters 31 17K 18K 166960K 89 0 ioctlops 0 0K 4K 166960K 249 0 iov 0 0K 12K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1290 81K 82K 166960K 2083 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 21 1K 1K 166960K 24 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 1182 0 sigio 0 0K 0K 166960K 3 0 proc 76 75K 124K 166960K 1923 0 subproc 72 4K 4K 166960K 522 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 42 0 in_multi 66 4K 6K 166960K 647 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 19 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 1008 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 178 151K 180K 166960K 9722 0 UVM aobj 11 2K 4K 166960K 15 0 pinsyscall 37 74K 96K 166960K 3538 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 13 0K 2K 166960K 178 0 temp 39 9115K 9174K 166960K 13822 0 kqueue 15 24K 32K 166960K 81 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 151 0 148 1 0 1 1 0 8 0 rtentry 136 646 0 569 4 0 4 4 0 8 0 unpcb 144 286 0 271 2 0 2 2 0 8 1 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 106 0 102 1 0 1 1 0 8 0 arp 96 115 0 103 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 17 0 11 1 0 1 1 0 8 0 inpcb 328 573 0 564 4 0 4 4 0 8 3 nd6 112 171 0 156 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 58 0 50 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pfstscr 40 6 0 6 1 0 1 1 0 8 1 pfrktable 1344 2 0 1 1 0 1 1 0 8 0 pfsrclim 320 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 9 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 6 1 0 1 1 0 8 1 pfstate 384 3 0 3 1 0 1 1 0 8 1 pfrule 1360 37 0 36 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2609 0 2233 29 2 27 29 0 8 3 art_table 40 2610 0 2233 5 0 5 5 0 8 0 art_node 32 646 0 574 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 72 22 0 3 1 0 1 1 0 8 0 shmpl 120 11 0 3 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2313 0 727 100 0 100 100 0 8 0 ffsino 256 2313 0 727 100 0 100 100 0 8 0 nchpl 144 2932 0 1030 71 0 71 71 0 8 0 vnodes 216 2958 0 0 165 0 165 165 0 8 0 namei 1024 15435 0 15434 3 0 3 3 0 8 2 vcpupl 3968 16 0 16 2 0 2 2 0 8 2 vmpool 808 1 0 1 1 0 1 1 0 8 1 kstatmem 264 133 0 114 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 11733 0 11732 8 0 8 8 1 8 7 plimitpl 152 137 0 121 1 0 1 1 0 8 0 sigapl 424 1398 0 1336 8 0 8 8 0 8 0 knotepl 120 12114 0 12066 9 0 9 9 0 8 6 kqueuepl 184 144 0 133 3 0 3 3 0 8 2 pipepl 304 297 0 267 3 0 3 3 0 8 0 fdescpl 448 1364 0 1336 5 0 5 5 0 8 1 filepl 120 5080 0 4870 9 0 9 9 0 8 0 lockfpl 104 122 0 120 1 0 1 1 0 8 0 lockfspl 48 57 0 55 1 0 1 1 0 8 0 sessionpl 144 81 0 73 1 0 1 1 0 8 0 pgrppl 48 141 0 125 1 0 1 1 0 8 0 ucredpl 104 491 0 480 1 0 1 1 0 8 0 zombiepl 144 1337 0 1336 1 0 1 1 0 8 0 processpl 1160 1398 0 1336 5 0 5 5 0 8 0 procpl 664 1950 0 1886 7 0 7 7 0 8 1 sockpl 552 1089 0 1062 5 0 5 5 0 8 2 mcl64k 65536 12 0 12 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2917 0 2856 13 0 13 13 0 8 4 mcl2k 2048 1245 0 1244 1 0 1 1 0 8 0 mextrefs 64 285 0 285 1 0 1 1 0 8 1 mtagpl 96 6 0 6 1 0 1 1 0 8 1 mbufpl 256 11422 0 11285 15 0 15 15 0 8 2 bufpl 272 4236 0 106 276 0 276 276 0 8 0 anonpl 24 163505 0 160589 45 0 45 45 0 187 21 amapchunkpl 152 27508 0 27186 33 0 33 33 0 158 17 amappl16 200 2184 0 2171 14 4 10 14 0 8 8 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 987 0 984 1 0 1 1 0 8 0 amappl13 176 212 0 202 1 0 1 1 0 8 0 amappl12 168 1793 0 1769 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 58 0 47 1 0 1 1 0 8 0 amappl9 144 274 0 274 1 0 1 1 0 8 1 amappl8 136 288 0 284 1 0 1 1 0 8 0 amappl7 128 356 0 344 1 0 1 1 0 8 0 amappl6 120 637 0 631 1 0 1 1 0 8 0 amappl5 112 94 0 85 1 0 1 1 0 8 0 amappl4 104 405 0 388 1 0 1 1 0 8 0 amappl3 96 5158 0 5091 3 0 3 3 0 8 0 amappl2 88 1282 0 1218 2 0 2 2 0 8 0 amappl1 80 17636 0 17096 13 0 13 13 0 8 1 amappl 88 8162 0 8048 4 0 4 4 0 92 0 uvmvnodes 80 100 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma2048 2048 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 14 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1364 0 1336 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1364 0 1336 1 0 1 1 0 8 0 vmmpekpl 168 11823 0 11774 3 0 3 3 0 8 0 vmmpepl 168 94917 0 93359 86 0 86 86 0 357 10 vmsppl 368 1363 0 1336 4 0 4 4 0 8 1 rwobjpl 40 28114 0 27195 13 0 13 13 0 8 2 pdppl 4096 2736 0 2674 128 62 66 82 0 8 4 pvpl 32 499697 0 492311 112 0 112 112 0 265 37 pmappl 216 1364 0 1337 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 688 0 64 18 0 18 18 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(ffff80002a751238,a,ffff80002a7a1c88,0,ffff80002a7a1d30) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a751238,ffff80002a7a1de0,ffff80002a7a1d30) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a7a1de0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7a1de0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b15c4bcaad0, 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(ffff80002a751238,a,ffff80002a7a1c88,0,ffff80002a7a1d30) at dofilereadv+0x1f3 sys/kern/sys_generic.c:-1 sys_read(ffff80002a751238,ffff80002a7a1de0,ffff80002a7a1d30) at sys_read+0xa2 sys/kern/sys_generic.c:172 syscall(ffff80002a7a1de0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7a1de0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b15c4bcaad0, count: -5