panic: receive 1a: so 0xfffffd8064ade190, so_type 3, m 0xfffffd805c8e8100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *482333 51041 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c874c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064ade190,0,ffff80001d6e4fc8,0,0,ffff80001d6e4ed4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f6690,ffff80001d6e4fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4fc8,0,ffff80001d6e50b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5060,ffff80001d6e50b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1ca0, 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 0xfffffd8064ade190, so_type 3, m 0xfffffd805c8e8100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c874c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064ade190,0,ffff80001d6e4fc8,0,0,ffff80001d6e4ed4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f6690,ffff80001d6e4fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4fc8,0,ffff80001d6e50b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5060,ffff80001d6e50b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1ca0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4d10 rbx 0xffff80001d6e4dc0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff810c775f kprintf+0x15f r9 0x1 r10 0x2 r11 0xc648500e2cc7eb5f r12 0x3000000008 r13 0xffff80001d6e4d20 r14 0x100 r15 0x1 rip 0xffffffff8211f228 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4d00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=482333 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9288 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09110 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 9543 237510 78155 0 2 0 syz-executor.1 9543 349193 78155 0 2 0x4000000 syz-executor.1 88488 387320 85297 0 2 0x2 syz-executor.0 24891 206121 0 0 3 0x14200 bored sosplice 78155 301697 85297 0 3 0x82 nanosleep syz-executor.1 85297 111633 72688 0 3 0x82 thrsleep syz-fuzzer 85297 254122 72688 0 3 0x4000082 thrsleep syz-fuzzer 85297 259458 72688 0 3 0x4000082 kqread syz-fuzzer 85297 368438 72688 0 3 0x4000082 thrsleep syz-fuzzer 85297 204055 72688 0 3 0x4000082 thrsleep syz-fuzzer 85297 443199 72688 0 3 0x4000082 thrsleep syz-fuzzer 85297 465473 72688 0 3 0x4000082 thrsleep syz-fuzzer 85297 258975 72688 0 3 0x4000082 thrsleep syz-fuzzer 72688 428868 89673 0 3 0x10008a pause ksh 89673 170584 25345 0 3 0x92 select sshd 78143 75907 1 0 3 0x100083 ttyin getty 25345 279482 1 0 3 0x80 select sshd 31068 393051 57994 73 3 0x100090 kqread syslogd 57994 197074 1 0 3 0x100082 netio syslogd 18263 39054 1 77 2 0x100010 dhclient *51041 482333 1 0 7 0 dhclient 53276 434962 0 0 3 0x14200 bored smr 90661 173872 0 0 2 0x14200 zerothread 69090 441802 0 0 3 0x14200 aiodoned aiodoned 63819 291636 0 0 3 0x14200 syncer update 53288 33751 0 0 3 0x14200 cleaner cleaner 29966 519610 0 0 3 0x14200 reaper reaper 39257 138334 0 0 3 0x14200 pgdaemon pagedaemon 45491 391190 0 0 3 0x14200 bored crynlk 46765 177841 0 0 3 0x14200 bored crypto 11271 353842 0 0 3 0x40014200 acpi0 acpi0 54837 119341 0 0 2 0x14200 softnet 28725 301103 0 0 3 0x14200 bored systqmp 26063 2159 0 0 3 0x14200 bored systq 35316 273655 0 0 3 0x40014200 bored softclock 56722 291872 0 0 3 0x40014200 idle0 1 104897 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 9489 6339K 6788K 78643K 10948 0 pcb 13 8K 8K 78643K 213 0 rtable 116 4K 8K 78643K 346 0 ifaddr 71 15K 15K 78643K 110 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 24 0 ioctlops 0 0K 4K 78643K 56 0 iov 0 0K 12K 78643K 28 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1370 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 44 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 228 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 63K 78643K 425 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 19 0 in_multi 46 2K 2K 78643K 105 0 ether_multi 1 0K 0K 78643K 7 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 207 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 137 40K 55K 78643K 1389 0 UVM aobj 7 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 10 0K 0K 78643K 23 0 temp 90 3855K 3919K 78643K 13646 0 kqueue 3 4K 8K 78643K 5 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 26 0 24 1 0 1 1 0 8 0 rtentry 112 72 0 26 2 0 2 2 0 8 0 unpcb 120 85 0 77 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 219 0 219 1 1 0 1 0 8 0 tcpcb 544 72 0 68 1 0 1 1 0 8 0 inpcb 296 388 0 381 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 16 0 10 1 0 1 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 31 0 28 1 0 1 1 0 8 0 pftag 88 5 0 4 1 0 1 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 10 0 6 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 274 0 74 14 1 13 13 0 8 0 art_table 32 276 0 74 2 0 2 2 0 8 0 art_node 16 71 0 29 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1712 0 316 88 0 88 88 0 8 0 ffsino 240 1712 0 316 83 0 83 83 0 8 0 nchpl 144 2234 0 650 60 0 60 60 0 8 0 uvmvnodes 72 1849 0 0 34 0 34 34 0 8 0 vnodes 208 1849 0 0 98 0 98 98 0 8 0 namei 1024 5950 0 5949 2 1 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 12 0 8 1 0 1 1 0 8 0 scxspl 192 6583 0 6583 2 1 1 1 0 8 1 plimitpl 152 23 0 16 1 0 1 1 0 8 0 sigapl 424 412 0 383 4 0 4 4 0 8 0 futexpl 56 4250 0 4250 2 1 1 1 0 8 1 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 19 0 17 1 0 1 1 0 8 0 pipepl 272 100 0 90 1 0 1 1 0 8 0 fdescpl 432 397 0 383 2 0 2 2 0 8 0 filepl 120 2400 0 2304 4 0 4 4 0 8 1 lockfpl 104 54 0 53 1 0 1 1 0 8 0 lockfspl 48 23 0 22 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 278 0 271 1 0 1 1 0 8 0 zombiepl 144 383 0 383 1 0 1 1 0 8 1 processpl 928 412 0 383 4 0 4 4 0 8 0 procpl 624 635 0 598 4 0 4 4 0 8 1 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 504 0 486 5 2 3 4 0 8 0 mcl64k 65536 14 0 14 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 9 0 9 2 1 1 1 0 8 1 mcl9k 9216 7 0 7 3 2 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 21 0 21 3 2 1 1 0 8 1 mcl2k 2048 76161 0 76108 18 10 8 16 0 8 0 mtagpl 96 47 0 23 2 1 1 1 0 8 0 mbufpl 256 122275 0 122065 21 5 16 16 0 8 0 bufpl 280 3850 0 126 266 0 266 266 0 8 0 anonpl 16 55992 0 39411 76 8 68 72 0 107 0 amapchunkpl 152 2150 0 2017 24 5 19 19 0 158 13 amappl16 192 1885 0 958 49 1 48 48 0 8 1 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 18 1 0 1 1 0 8 0 amappl13 168 131 0 125 1 0 1 1 0 8 0 amappl12 160 20 0 19 3 2 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 30 0 23 1 0 1 1 0 8 0 amappl9 136 346 0 344 1 0 1 1 0 8 0 amappl8 128 348 0 304 2 0 2 2 0 8 0 amappl7 120 121 0 108 1 0 1 1 0 8 0 amappl6 112 25 0 18 1 0 1 1 0 8 0 amappl5 104 373 0 362 1 0 1 1 0 8 0 amappl4 96 532 0 503 1 0 1 1 0 8 0 amappl3 88 122 0 115 1 0 1 1 0 8 0 amappl2 80 2283 0 2215 2 0 2 2 0 8 0 amappl1 72 16795 0 16393 24 15 9 17 0 8 0 amappl 80 872 0 830 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 8 0 2 1 0 1 1 0 8 0 uaddrrnd 24 399 0 383 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 399 0 383 1 0 1 1 0 8 0 vmmpekpl 168 6626 0 6599 2 0 2 2 0 8 0 vmmpepl 168 55189 0 53165 152 27 125 125 0 357 36 vmsppl 272 398 0 383 3 1 2 2 0 8 0 pdppl 4096 804 0 768 6 1 5 6 0 8 0 pvpl 32 176445 0 156886 177 12 165 172 0 265 5 pmappl 200 398 0 383 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 262 0 28 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(ffffffff823c874c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064ade190,0,ffff80001d6e4fc8,0,0,ffff80001d6e4ed4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f6690,ffff80001d6e4fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4fc8,0,ffff80001d6e50b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5060,ffff80001d6e50b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1ca0, 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(ffffffff823c874c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064ade190,0,ffff80001d6e4fc8,0,0,ffff80001d6e4ed4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80645f6690,ffff80001d6e4fc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e4fc8,0,ffff80001d6e50b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5060,ffff80001d6e50b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5130) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1ca0, count: -8