panic: receive 1a: so 0xfffffd806434f000, so_type 3, m 0xfffffd805e41d800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 47794 39651 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806434f000,0,ffff80001d6e5a88,0,0,ffff80001d6e5994) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f8690,ffff80001d6e5a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5a88,0,ffff80001d6e5b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5b20,ffff80001d6e5b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd450, 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 0xfffffd806434f000, so_type 3, m 0xfffffd805e41d800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806434f000,0,ffff80001d6e5a88,0,0,ffff80001d6e5994) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f8690,ffff80001d6e5a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5a88,0,ffff80001d6e5b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5b20,ffff80001d6e5b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd450, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e57d0 rbx 0xffff80001d6e5880 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81f9c19f kprintf+0x15f r9 0x1 r10 0x2 r11 0xe95dc64a758784d4 r12 0x3000000008 r13 0xffff80001d6e57e0 r14 0x100 r15 0x1 rip 0xffffffff820d2968 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e57c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=47794 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a99d8 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a330 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37714 389007 55076 0 2 0 syz-executor.1 37714 150039 55076 0 3 0x4000000 smrbar syz-executor.1 55076 217811 52499 0 3 0x82 nanosleep syz-executor.1 9422 221224 1 0 3 0x100083 ttyopn getty 15252 379047 0 0 3 0x14200 bored sosplice 19654 31542 52499 0 3 0x82 piperd syz-executor.0 52499 48185 19458 0 3 0x82 thrsleep syz-fuzzer 52499 333859 19458 0 3 0x4000082 nanosleep syz-fuzzer 52499 109933 19458 0 3 0x4000082 thrsleep syz-fuzzer 52499 358607 19458 0 3 0x4000082 thrsleep syz-fuzzer 52499 339804 19458 0 2 0x4000002 syz-fuzzer 52499 206019 19458 0 3 0x4000082 thrsleep syz-fuzzer 52499 26158 19458 0 3 0x4000082 thrsleep syz-fuzzer 52499 411748 19458 0 3 0x4000082 thrsleep syz-fuzzer 19458 345030 97190 0 3 0x10008a pause ksh 97190 400974 3570 0 3 0x92 select sshd 3570 334987 1 0 3 0x80 select sshd 5730 515923 14963 73 3 0x100090 kqread syslogd 14963 253818 1 0 3 0x100082 netio syslogd 47955 487352 1 77 2 0x100010 dhclient *39651 47794 1 0 7 0 dhclient 17981 470708 0 0 3 0x14200 bored smr 78972 349390 0 0 2 0x14200 zerothread 93421 21078 0 0 3 0x14200 aiodoned aiodoned 29228 460088 0 0 3 0x14200 syncer update 97227 48477 0 0 3 0x14200 cleaner cleaner 49910 218826 0 0 3 0x14200 reaper reaper 21617 26109 0 0 3 0x14200 pgdaemon pagedaemon 60287 238589 0 0 3 0x14200 bored crynlk 92385 49596 0 0 3 0x14200 bored crypto 91551 517224 0 0 3 0x40014200 acpi0 acpi0 56082 5552 0 0 2 0x14200 softnet 30482 437266 0 0 3 0x14200 bored systqmp 13265 21710 0 0 3 0x14200 bored systq 12476 213697 0 0 3 0x40014200 bored softclock 60517 103865 0 0 3 0x40014200 idle0 1 145835 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 9499 6342K 6841K 78643K 10947 0 pcb 13 8K 8K 78643K 67 0 rtable 94 2K 7K 78643K 408 0 ifaddr 74 14K 15K 78643K 146 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 4K 78643K 47 0 iov 0 0K 12K 78643K 23 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1353 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 263 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 55K 78643K 421 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 34 0 in_multi 47 2K 3K 78643K 116 0 ether_multi 1 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 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 127 23K 23K 78643K 1494 0 UVM aobj 19 4K 4K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 28 0 NDP 12 0K 0K 78643K 30 0 temp 99 3854K 3918K 78643K 6499 0 kqueue 3 4K 14K 78643K 21 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 71 0 33 2 0 2 2 0 8 0 unpcb 120 184 0 176 1 0 1 1 0 8 0 syncache 264 10 0 10 3 2 1 1 0 8 1 tcpqe 32 438 0 438 1 1 0 1 0 8 0 tcpcb 544 118 0 114 1 0 1 1 0 8 0 inpcb 296 345 0 337 3 1 2 2 0 8 1 nd6 48 20 0 12 1 0 1 1 0 8 0 pkpcb 40 171 0 171 4 3 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 52 0 52 2 2 0 1 0 8 0 pftag 88 14 0 14 2 2 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 18 0 18 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 241 0 54 13 1 12 12 0 8 0 art_table 32 242 0 54 2 0 2 2 0 8 0 art_node 16 70 0 38 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 19 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1726 0 329 88 0 88 88 0 8 0 ffsino 240 1726 0 329 83 0 83 83 0 8 0 nchpl 144 2349 0 759 60 0 60 60 0 8 0 uvmvnodes 72 1869 0 0 34 0 34 34 0 8 0 vnodes 208 1869 0 0 99 0 99 99 0 8 0 namei 1024 6170 0 6170 3 2 1 1 0 8 1 pfiaddrpl 120 14 0 14 2 2 0 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6676 0 6676 7 6 1 1 0 8 1 plimitpl 152 25 0 18 1 0 1 1 0 8 0 sigapl 424 448 0 419 4 0 4 4 0 8 0 futexpl 56 4854 0 4854 3 2 1 1 0 8 1 knotepl 112 97 0 78 1 0 1 1 0 8 0 kqueuepl 144 47 0 44 1 0 1 1 0 8 0 pipepl 272 117 0 107 2 0 2 2 0 8 1 fdescpl 432 433 0 419 2 0 2 2 0 8 0 filepl 120 2797 0 2702 4 0 4 4 0 8 0 lockfpl 104 36 0 35 1 0 1 1 0 8 0 lockfspl 48 14 0 13 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 15 1 0 1 1 0 8 0 ucredpl 96 260 0 253 1 0 1 1 0 8 0 zombiepl 144 419 0 419 2 1 1 1 0 8 1 processpl 928 448 0 419 4 0 4 4 0 8 0 procpl 624 717 0 680 5 1 4 4 0 8 0 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 400 754 0 737 7 4 3 4 0 8 1 mcl64k 65536 269 0 269 34 34 0 33 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 6 0 6 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 2 0 1 0 8 0 mcl8k 8192 4 0 4 3 3 0 1 0 8 0 mcl4k 4096 27 0 27 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 77786 0 77728 27 19 8 19 0 8 0 mtagpl 96 25 0 10 2 1 1 1 0 8 0 mbufpl 256 125316 0 125128 28 12 16 23 0 8 0 bufpl 280 3816 0 126 264 0 264 264 0 8 0 anonpl 16 63473 0 47683 79 5 74 77 0 107 0 amapchunkpl 152 2018 0 1875 7 0 7 7 0 158 0 amappl16 192 2295 0 1283 54 2 52 53 0 8 1 amappl15 184 92 0 90 1 0 1 1 0 8 0 amappl14 176 68 0 61 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 91 0 80 1 0 1 1 0 8 0 amappl10 144 16 0 10 1 0 1 1 0 8 0 amappl9 136 462 0 460 1 0 1 1 0 8 0 amappl8 128 368 0 323 2 0 2 2 0 8 0 amappl7 120 113 0 100 1 0 1 1 0 8 0 amappl6 112 75 0 65 1 0 1 1 0 8 0 amappl5 104 319 0 308 1 0 1 1 0 8 0 amappl4 96 481 0 452 1 0 1 1 0 8 0 amappl3 88 107 0 101 1 0 1 1 0 8 0 amappl2 80 2653 0 2588 2 0 2 2 0 8 0 amappl1 72 17492 0 17076 24 15 9 17 0 8 0 amappl 80 984 0 942 2 1 1 2 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 21 0 3 1 0 1 1 0 8 0 uaddrrnd 24 433 0 419 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 433 0 419 1 0 1 1 0 8 0 vmmpekpl 168 6973 0 6946 2 0 2 2 0 8 0 vmmpepl 168 59851 0 57730 194 67 127 148 0 357 33 vmsppl 272 432 0 419 2 1 1 2 0 8 0 pdppl 4096 872 0 838 6 1 5 6 0 8 0 pvpl 32 186693 0 167892 200 29 171 196 0 265 0 pmappl 200 432 0 419 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 316 0 87 8 0 8 8 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(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806434f000,0,ffff80001d6e5a88,0,0,ffff80001d6e5994) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f8690,ffff80001d6e5a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5a88,0,ffff80001d6e5b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5b20,ffff80001d6e5b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd450, 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(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806434f000,0,ffff80001d6e5a88,0,0,ffff80001d6e5994) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f8690,ffff80001d6e5a88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5a88,0,ffff80001d6e5b70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5b20,ffff80001d6e5b70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbd450, count: -8