panic: receive 1a: so 0xfffffd806b7084b0, so_type 3, m 0xfffffd805c634700, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 72739 89810 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5dc) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b7084b0,0,ffff80001d6e55d8,0,0,ffff80001d6e54e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80633f8708,ffff80001d6e55d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e55d8,0,ffff80001d6e56c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5670,ffff80001d6e56c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7150, count: 7 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 1a: so 0xfffffd806b7084b0, so_type 3, m 0xfffffd805c634700, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5dc) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b7084b0,0,ffff80001d6e55d8,0,0,ffff80001d6e54e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80633f8708,ffff80001d6e55d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e55d8,0,ffff80001d6e56c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5670,ffff80001d6e56c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7150, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5320 rbx 0xffff80001d6e53d0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81c7cd1f kprintf+0x15f r9 0x1 r10 0x2 r11 0xf6ab85284fff134 r12 0x3000000008 r13 0xffff80001d6e5330 r14 0x100 r15 0x1 rip 0xffffffff811a2f98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5310 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=72739 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9288 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a220 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5125 169212 98090 0 2 0 syz-executor.1 5125 494756 98090 0 2 0x4000000 syz-executor.1 1561 175798 0 0 3 0x14200 bored sosplice 98090 464428 55152 0 2 0x482 syz-executor.1 44740 363677 55152 0 2 0x482 syz-executor.0 55152 352755 23897 0 3 0x82 kqread syz-fuzzer 55152 365067 23897 0 3 0x4000082 thrsleep syz-fuzzer 55152 89819 23897 0 3 0x4000082 thrsleep syz-fuzzer 55152 350602 23897 0 3 0x4000082 thrsleep syz-fuzzer 55152 256367 23897 0 3 0x4000082 thrsleep syz-fuzzer 55152 324994 23897 0 3 0x4000082 thrsleep syz-fuzzer 55152 234872 23897 0 3 0x4000082 thrsleep syz-fuzzer 23897 106925 54501 0 3 0x10008a pause ksh 54501 99226 75681 0 3 0x92 select sshd 99333 24461 1 0 3 0x100083 ttyin getty 75681 463010 1 0 3 0x80 select sshd 59359 371270 69153 73 3 0x100090 kqread syslogd 69153 108502 1 0 3 0x100082 netio syslogd 44006 179696 1 77 2 0x100010 dhclient *89810 72739 1 0 7 0 dhclient 56426 308835 0 0 3 0x14200 bored smr 28334 21942 0 0 2 0x14200 zerothread 77931 437481 0 0 3 0x14200 aiodoned aiodoned 49642 461816 0 0 3 0x14200 syncer update 35060 299825 0 0 3 0x14200 cleaner cleaner 31109 425964 0 0 3 0x14200 reaper reaper 33664 431127 0 0 3 0x14200 pgdaemon pagedaemon 2508 64384 0 0 3 0x14200 bored crynlk 80682 978 0 0 3 0x14200 bored crypto 55419 468846 0 0 3 0x40014200 acpi0 acpi0 28379 182567 0 0 3 0x14200 bored softnet 23021 234479 0 0 3 0x14200 bored systqmp 11200 239063 0 0 3 0x14200 bored systq 48639 175565 0 0 3 0x40014200 bored softclock 76959 419774 0 0 3 0x40014200 idle0 1 5041 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 9460 6334K 6589K 78643K 10600 0 pcb 13 8K 8K 78643K 19 0 rtable 110 4K 7K 78643K 270 0 ifaddr 47 11K 12K 78643K 67 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 25 0 iov 0 0K 12K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1233 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 4 0K 0K 78643K 4 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 70 0 proc 49 38K 54K 78643K 369 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1 0 in_multi 40 2K 2K 78643K 50 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 181 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 120 22K 38K 78643K 1003 0 UVM aobj 3 2K 2K 78643K 3 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 6 0K 0K 78643K 12 0 temp 68 3850K 3913K 78643K 1889 0 kqueue 3 4K 4K 78643K 3 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 66 0 63 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 33 0 25 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 715 0 715 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 296 60 0 53 1 0 1 1 0 8 0 nd6 48 8 0 2 1 0 1 1 0 8 0 pfrktable 1344 23 0 21 1 0 1 1 0 8 0 pftag 88 6 0 6 1 0 1 1 0 8 1 pfrule 1360 8 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 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 1464 0 65 88 0 88 88 0 8 0 ffsino 240 1464 0 65 83 0 83 83 0 8 0 nchpl 144 1741 0 136 60 0 60 60 0 8 0 uvmvnodes 72 1518 0 0 28 0 28 28 0 8 0 vnodes 208 1518 0 0 80 0 80 80 0 8 0 namei 1024 4343 0 4343 2 1 1 1 0 8 1 pfiaddrpl 120 10 0 8 1 0 1 1 0 8 0 scxspl 192 5217 0 5217 2 1 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 257 0 228 4 0 4 4 0 8 0 futexpl 56 800 0 800 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 10 0 8 1 0 1 1 0 8 0 pipepl 272 78 0 68 2 0 2 2 0 8 1 fdescpl 432 242 0 228 2 0 2 2 0 8 0 filepl 120 1255 0 1158 4 0 4 4 0 8 0 lockfpl 104 12 0 11 1 0 1 1 0 8 0 lockfspl 48 6 0 5 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 65 0 58 1 0 1 1 0 8 0 zombiepl 144 228 0 227 2 1 1 1 0 8 0 processpl 928 257 0 227 4 0 4 4 0 8 0 procpl 624 307 0 270 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 159 0 141 3 0 3 3 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 8 0 8 1 1 0 1 0 8 0 mcl2k 2048 77666 0 77602 35 18 17 26 0 8 8 mtagpl 96 5 0 2 2 1 1 1 0 8 0 mbufpl 256 123447 0 123286 20 4 16 16 0 8 1 bufpl 280 3378 0 126 233 0 233 233 0 8 0 anonpl 16 37618 0 23103 62 2 60 60 0 107 0 amapchunkpl 152 1818 0 1690 19 0 19 19 0 158 13 amappl16 192 1042 0 254 41 0 41 41 0 8 1 amappl15 184 23 0 21 1 0 1 1 0 8 0 amappl14 176 23 0 18 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 28 0 22 1 0 1 1 0 8 0 amappl11 152 58 0 47 1 0 1 1 0 8 0 amappl10 144 10 0 8 1 0 1 1 0 8 0 amappl9 136 373 0 372 1 0 1 1 0 8 0 amappl8 128 329 0 288 2 0 2 2 0 8 0 amappl7 120 108 0 95 1 0 1 1 0 8 0 amappl6 112 23 0 19 1 0 1 1 0 8 0 amappl5 104 190 0 179 1 0 1 1 0 8 0 amappl4 96 416 0 391 1 0 1 1 0 8 0 amappl3 88 107 0 99 1 0 1 1 0 8 0 amappl2 80 1119 0 1056 2 0 2 2 0 8 0 amappl1 72 14142 0 13735 24 14 10 17 0 8 1 amappl 80 529 0 490 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 242 0 228 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 242 0 228 1 0 1 1 0 8 0 vmmpekpl 168 5781 0 5755 2 0 2 2 0 8 0 vmmpepl 168 36614 0 34743 118 12 106 106 0 357 24 vmsppl 272 241 0 228 2 0 2 2 0 8 1 pdppl 4096 490 0 456 6 0 6 6 0 8 1 pvpl 32 130101 0 112620 149 3 146 146 0 265 4 pmappl 200 241 0 228 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 267 0 26 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5dc) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b7084b0,0,ffff80001d6e55d8,0,0,ffff80001d6e54e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80633f8708,ffff80001d6e55d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e55d8,0,ffff80001d6e56c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5670,ffff80001d6e56c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7150, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5dc) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b7084b0,0,ffff80001d6e55d8,0,0,ffff80001d6e54e4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80633f8708,ffff80001d6e55d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e55d8,0,ffff80001d6e56c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5670,ffff80001d6e56c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5740) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7150, count: -8