panic: receive 1: so 0xfffffd805da89af8, so_type 2, sb_cc 167 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *235267 49398 73 0x100010 0 0 syslogd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a3d3e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805da89af8,ffff80001d3b6230,ffff80001d3b61f8,0,0,ffff80001d3b6324) at soreceive+0x16ac sys/kern/uipc_socket.c:823 recvit(ffff80001d3b8ae0,8,ffff80001d3b62f8,7f7ffffd0df4,ffff80001d3b63e0) at recvit+0x32c sys/kern/uipc_syscalls.c:817 sys_recvfrom(ffff80001d3b8ae0,ffff80001d3b6390,ffff80001d3b63e0) at sys_recvfrom+0xd0 sys/kern/uipc_syscalls.c:717 syscall(ffff80001d3b6460) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, count: 8 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 receive 1: so 0xfffffd805da89af8, so_type 2, sb_cc 167 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a3d3e) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805da89af8,ffff80001d3b6230,ffff80001d3b61f8,0,0,ffff80001d3b6324) at soreceive+0x16ac sys/kern/uipc_socket.c:823 recvit(ffff80001d3b8ae0,8,ffff80001d3b62f8,7f7ffffd0df4,ffff80001d3b63e0) at recvit+0x32c sys/kern/uipc_syscalls.c:817 sys_recvfrom(ffff80001d3b8ae0,ffff80001d3b6390,ffff80001d3b63e0) at sys_recvfrom+0xd0 sys/kern/uipc_syscalls.c:717 syscall(ffff80001d3b6460) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0d70, count: -7 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3b6040 rbx 0xffff80001d3b60f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3b6000 r9 0x1 r10 0 r11 0xcfbde64ac4ed5950 r12 0x3000000008 r13 0xffff80001d3b6050 r14 0x100 r15 0x1 rip 0xffffffff81e30268 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3b6030 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syslogd) pid=235267 stat=onproc flags process=100010 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34aad8,0xffff80001d3b7500 process=0xffff8000ffffd888 user=0xffff80001d3b1000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=3, pctcpu=0.9 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 22213 139954 73419 0 2 0 syz-executor.0 22213 371844 73419 0 3 0x4000080 poll syz-executor.0 47941 61191 28263 0 2 0 syz-executor.1 47941 136568 28263 0 3 0x4000080 kqread syz-executor.1 47941 355119 28263 0 3 0x4000080 pipewr syz-executor.1 47941 505167 28263 0 3 0x4000080 fsleep syz-executor.1 73419 343189 87682 0 3 0x82 nanosleep syz-executor.0 28263 168484 87682 0 2 0x482 syz-executor.1 87682 230581 51447 0 3 0x82 thrsleep syz-fuzzer 87682 304308 51447 0 3 0x4000082 thrsleep syz-fuzzer 87682 155803 51447 0 3 0x4000082 thrsleep syz-fuzzer 87682 256716 51447 0 3 0x4000082 thrsleep syz-fuzzer 87682 32563 51447 0 3 0x4000082 thrsleep syz-fuzzer 87682 175251 51447 0 3 0x4000082 kqread syz-fuzzer 87682 178525 51447 0 3 0x4000082 thrsleep syz-fuzzer 87682 75027 51447 0 3 0x4000082 thrsleep syz-fuzzer 51447 373887 20592 0 3 0x10008a pause ksh 20592 156192 28955 0 3 0x92 select sshd 48084 518727 1 0 3 0x100083 ttyin getty 28955 522460 1 0 3 0x80 select sshd *49398 235267 66840 73 7 0x100010 syslogd 66840 342154 1 0 3 0x100082 netio syslogd 27382 13913 1 77 3 0x100090 poll dhclient 31924 457441 1 0 3 0x80 poll dhclient 71424 350261 0 0 2 0x14200 zerothread 10943 266554 0 0 3 0x14200 aiodoned aiodoned 54612 158959 0 0 3 0x14200 syncer update 93126 491473 0 0 3 0x14200 cleaner cleaner 31539 222844 0 0 3 0x14200 reaper reaper 37072 212310 0 0 3 0x14200 pgdaemon pagedaemon 68126 252038 0 0 3 0x14200 bored crynlk 51213 492860 0 0 3 0x14200 bored crypto 86488 265188 0 0 3 0x40014200 acpi0 acpi0 13628 342556 0 0 3 0x14200 bored softnet 37082 465938 0 0 3 0x14200 bored systqmp 92468 348688 0 0 3 0x14200 bored systq 6627 138375 0 0 3 0x40014200 bored softclock 82148 179748 0 0 3 0x40014200 idle0 56069 423759 0 0 3 0x14200 bored smr 1 347218 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9484 6340K 6582K 78643K 10659 0 pcb 13 8K 8K 78643K 35 0 rtable 110 3K 3K 78643K 289 0 ifaddr 52 12K 12K 78643K 70 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 2K 78643K 25 0 iov 0 0K 16K 78643K 14 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1292 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 36 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 121 0 sigio 0 0K 0K 78643K 4 0 proc 48 38K 54K 78643K 449 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 206 0 in_multi 47 2K 2K 78643K 72 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 157 705K 705K 78643K 157 0 exec 0 0K 1K 78643K 211 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 110 21K 23K 78643K 1160 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 7 0K 0K 78643K 17 0 temp 73 3004K 3084K 78643K 5452 0 kqueue 8 14K 14K 78643K 17 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 4 1 0 1 1 0 8 0 rtpcb 80 28 0 26 1 0 1 1 0 8 0 rtentry 112 68 0 23 2 0 2 2 0 8 0 unpcb 120 170 0 159 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 130 0 130 1 1 0 1 0 8 0 tcpcb 544 138 0 133 3 1 2 2 0 8 1 inpcb 280 226 0 218 5 2 3 3 0 8 2 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 308 0 90 14 0 14 14 0 8 0 art_table 32 310 0 90 2 0 2 2 0 8 0 art_node 16 67 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 34 0 24 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1504 0 105 46 0 46 46 0 8 0 ffsino 240 1504 0 105 83 0 83 83 0 8 0 nchpl 144 1823 0 224 60 0 60 60 0 8 0 uvmvnodes 72 1608 0 0 30 0 30 30 0 8 0 vnodes 208 1608 0 0 85 0 85 85 0 8 0 namei 1024 4861 0 4861 2 1 1 1 0 8 1 vmpool 528 2 0 2 1 0 1 1 0 8 1 scxspl 192 9704 0 9704 1 0 1 1 0 8 1 plimitpl 152 24 0 17 1 0 1 1 0 8 0 sigapl 432 286 0 272 2 0 2 2 0 8 0 futexpl 56 2203 0 2202 3 2 1 1 0 8 0 knotepl 112 92 0 68 1 0 1 1 0 8 0 kqueuepl 104 37 0 28 1 0 1 1 0 8 0 pipelkpl 16 92 0 81 1 0 1 1 0 8 0 pipepl 120 184 0 163 1 0 1 1 0 8 0 fdescpl 432 287 0 272 2 0 2 2 0 8 0 filepl 120 1899 0 1788 9 2 7 7 0 8 3 lockfpl 104 37 0 36 1 0 1 1 0 8 0 lockfspl 48 13 0 12 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 190 0 183 1 0 1 1 0 8 0 zombiepl 144 272 0 272 1 0 1 1 0 8 1 processpl 896 301 0 272 4 0 4 4 0 8 0 procpl 624 389 0 349 5 1 4 4 0 8 0 sockpl 400 424 0 403 11 4 7 7 0 8 4 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 2 1 1 1 0 8 1 mcl4k 4096 21 0 21 3 2 1 1 0 8 1 mcl2k 2048 63888 0 63850 16 10 6 15 0 8 0 mtagpl 80 8 0 4 2 1 1 1 0 8 0 mbufpl 256 101818 0 101729 11 1 10 10 0 8 3 bufpl 280 5342 0 181 369 0 369 369 0 8 0 anonpl 16 47710 0 32468 79 1 78 78 0 107 16 amapchunkpl 152 1843 0 1701 16 0 16 16 0 158 9 amappl16 192 1156 0 301 44 1 43 43 0 8 0 amappl15 184 54 0 50 1 0 1 1 0 8 0 amappl14 176 60 0 56 1 0 1 1 0 8 0 amappl13 168 24 0 22 1 0 1 1 0 8 0 amappl12 160 9 0 7 1 0 1 1 0 8 0 amappl11 152 67 0 56 1 0 1 1 0 8 0 amappl10 144 9 0 8 1 0 1 1 0 8 0 amappl9 136 592 0 588 1 0 1 1 0 8 0 amappl8 128 132 0 111 1 0 1 1 0 8 0 amappl7 120 104 0 92 1 0 1 1 0 8 0 amappl6 112 67 0 61 1 0 1 1 0 8 0 amappl5 104 155 0 145 1 0 1 1 0 8 0 amappl4 96 523 0 493 1 0 1 1 0 8 0 amappl3 88 138 0 129 1 0 1 1 0 8 0 amappl2 80 1374 0 1296 3 1 2 3 0 8 0 amappl1 72 15246 0 14792 26 16 10 20 0 8 0 amappl 80 638 0 592 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 289 0 274 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 289 0 274 1 0 1 1 0 8 0 vmmpekpl 168 6155 0 6129 2 0 2 2 0 8 0 vmmpepl 168 43320 0 41253 134 22 112 113 0 357 22 vmsppl 272 288 0 274 3 1 2 2 0 8 1 pdppl 4096 584 0 548 6 1 5 6 0 8 0 pvpl 32 186756 0 168299 289 19 270 289 0 265 121 pmappl 200 288 0 274 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 169 0 26 5 0 5 5 0 8 0