panic: receive 3: so 0xfffffd806093f4b0, so_type 3, m 0xfffffd805c777b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 15816 48069 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806093f4b0,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x16e7 soo_read(fffffd8060bf78e8,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0860, 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 3: so 0xfffffd806093f4b0, so_type 3, m 0xfffffd805c777b00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806093f4b0,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x16e7 soo_read(fffffd8060bf78e8,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0860, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4f20 rbx 0xffff80001d6e4fd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8138bf7f kprintf+0x15f r9 0x1 r10 0x2 r11 0x1594a525a52e27f9 r12 0x3000000008 r13 0xffff80001d6e4f30 r14 0x100 r15 0x1 rip 0xffffffff813ac878 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4f10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=15816 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9288 process=0xffff80001d6c4af0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 13473 385838 29354 0 3 0x80 fsleep syz-executor.1 13473 304871 29354 0 2 0x4000000 syz-executor.1 26958 176169 43053 0 3 0x80 fsleep syz-executor.0 26958 248651 43053 0 3 0x4000080 poll syz-executor.0 69957 314693 0 0 3 0x14280 nfsidl nfsio 35485 378986 0 0 3 0x14280 nfsidl nfsio 60006 352370 0 0 3 0x14280 nfsidl nfsio 14264 410763 0 0 3 0x14280 nfsidl nfsio 79006 418225 0 0 3 0x14280 nfsidl nfsio 25262 228350 0 0 3 0x14280 nfsidl nfsio 60945 417010 0 0 3 0x14280 nfsidl nfsio 2531 300129 0 0 3 0x14280 nfsidl nfsio 61529 286130 0 0 3 0x14280 nfsidl nfsio 37085 41041 0 0 3 0x14280 nfsidl nfsio 91846 48933 0 0 3 0x14280 nfsidl nfsio 84519 52382 0 0 3 0x14280 nfsidl nfsio 71602 164300 0 0 3 0x14280 nfsidl nfsio 10353 243629 0 0 3 0x14280 nfsidl nfsio 75193 397219 0 0 3 0x14280 nfsidl nfsio 61603 418773 0 0 3 0x14280 nfsidl nfsio 59147 438171 0 0 3 0x14280 nfsidl nfsio 71046 497971 0 0 3 0x14280 nfsidl nfsio 94365 104779 0 0 3 0x14280 nfsidl nfsio 37215 44095 0 0 3 0x14280 nfsidl nfsio 29354 315446 5643 0 2 0x482 syz-executor.1 43053 84986 5643 0 2 0x482 syz-executor.0 5643 122490 73021 0 3 0x82 thrsleep syz-fuzzer 5643 315458 73021 0 2 0x4000482 syz-fuzzer 5643 409186 73021 0 3 0x4000082 kqread syz-fuzzer 5643 12466 73021 0 3 0x4000082 thrsleep syz-fuzzer 5643 46506 73021 0 3 0x4000082 thrsleep syz-fuzzer 5643 322753 73021 0 3 0x4000082 thrsleep syz-fuzzer 5643 352451 73021 0 3 0x4000082 thrsleep syz-fuzzer 5643 90591 73021 0 3 0x4000082 thrsleep syz-fuzzer 73021 107169 38618 0 3 0x10008a pause ksh 38618 341811 51528 0 3 0x92 select sshd 63323 32670 1 0 3 0x100083 ttyin getty 51528 452979 1 0 3 0x80 select sshd 63873 141357 81374 73 3 0x100090 kqread syslogd 81374 356824 1 0 3 0x100082 netio syslogd 45900 13126 1 77 2 0x100010 dhclient *48069 15816 1 0 7 0 dhclient 22508 190419 0 0 3 0x14200 bored smr 72530 128488 0 0 3 0x14200 pgzero zerothread 4434 388119 0 0 3 0x14200 aiodoned aiodoned 55979 337953 0 0 3 0x14200 syncer update 76500 436980 0 0 3 0x14200 cleaner cleaner 4490 334480 0 0 3 0x14200 reaper reaper 56803 130805 0 0 3 0x14200 pgdaemon pagedaemon 76656 402290 0 0 3 0x14200 bored crynlk 94606 98028 0 0 3 0x14200 bored crypto 22482 159517 0 0 3 0x40014200 acpi0 acpi0 37847 84893 0 0 3 0x14200 bored softnet 30573 431731 0 0 3 0x14200 bored systqmp 78621 127995 0 0 3 0x14200 bored systq 14418 41466 0 0 3 0x40014200 bored softclock 50960 292544 0 0 3 0x40014200 idle0 1 236241 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 9469 6331K 6782K 78643K 10765 0 pcb 13 8K 8K 78643K 39 0 rtable 96 5K 7K 78643K 279 0 ifaddr 56 12K 12K 78643K 83 0 counters 22 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 46 0 iov 0 0K 12K 78643K 7 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1276 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 70 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 208 0 proc 49 38K 54K 78643K 364 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 7 0 in_multi 43 2K 2K 78643K 64 0 ether_multi 1 0K 0K 78643K 4 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 197 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 128 39K 39K 78643K 1425 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 21 0 NDP 8 0K 0K 78643K 13 0 temp 83 3852K 3916K 78643K 4363 0 kqueue 3 4K 8K 78643K 14 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 20 0 18 1 0 1 1 0 8 0 rtentry 112 56 0 22 2 0 2 2 0 8 0 unpcb 120 73 0 65 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 60 0 60 1 1 0 1 0 8 0 tcpcb 544 60 0 56 1 0 1 1 0 8 0 inpcb 296 413 0 406 3 1 2 2 0 8 1 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 48 9 0 3 1 0 1 1 0 8 0 ppxss 1136 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 21 0 17 1 0 1 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfrule 1360 9 0 5 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 203 0 47 12 1 11 12 0 8 0 art_table 32 205 0 47 2 0 2 2 0 8 0 art_node 16 55 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 66 0 56 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1646 0 247 88 0 88 88 0 8 0 ffsino 240 1646 0 247 83 0 83 83 0 8 0 nchpl 144 2120 0 526 60 0 60 60 0 8 0 uvmvnodes 72 1729 0 0 32 0 32 32 0 8 0 vnodes 208 1729 0 0 91 0 91 91 0 8 0 namei 1024 5384 0 5384 2 1 1 1 0 8 1 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 6 0 2 1 0 1 1 0 8 0 scxspl 192 6117 0 6117 2 1 1 1 0 8 1 plimitpl 152 29 0 22 1 0 1 1 0 8 0 sigapl 424 416 0 367 6 0 6 6 0 8 0 futexpl 56 3795 0 3793 2 1 1 1 0 8 0 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 144 27 0 25 1 0 1 1 0 8 0 pipepl 272 98 0 87 2 1 1 2 0 8 0 fdescpl 432 380 0 365 2 0 2 2 0 8 0 filepl 120 2049 0 1951 4 0 4 4 0 8 1 lockfpl 104 20 0 19 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 141 0 134 1 0 1 1 0 8 0 zombiepl 144 367 0 367 1 0 1 1 0 8 1 processpl 928 416 0 367 7 0 7 7 0 8 0 procpl 624 728 0 670 5 0 5 5 0 8 0 sockpl 400 506 0 489 4 1 3 3 0 8 1 mcl64k 65536 262 0 262 32 29 3 32 0 8 3 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 5 4 1 1 0 8 1 mcl9k 9216 3 0 3 2 2 0 1 0 8 0 mcl8k 8192 7 0 7 3 3 0 1 0 8 0 mcl4k 4096 27 0 27 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 88222 0 88175 19 12 7 15 0 8 0 mtagpl 96 12 0 4 2 1 1 1 0 8 0 mbufpl 256 140904 0 140782 24 13 11 22 0 8 0 bufpl 280 3589 0 126 248 0 248 248 0 8 0 anonpl 16 62355 0 45520 95 17 78 92 0 107 2 amapchunkpl 152 1867 0 1730 8 1 7 8 0 158 0 amappl16 192 2350 0 1331 70 11 59 63 0 8 8 amappl15 184 95 0 91 1 0 1 1 0 8 0 amappl14 176 32 0 27 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 49 0 39 1 0 1 1 0 8 0 amappl10 144 15 0 10 1 0 1 1 0 8 0 amappl9 136 453 0 450 1 0 1 1 0 8 0 amappl8 128 426 0 382 2 0 2 2 0 8 0 amappl7 120 107 0 94 1 0 1 1 0 8 0 amappl6 112 27 0 20 1 0 1 1 0 8 0 amappl5 104 325 0 313 1 0 1 1 0 8 0 amappl4 96 424 0 396 1 0 1 1 0 8 0 amappl3 88 110 0 105 1 0 1 1 0 8 0 amappl2 80 2313 0 2235 2 0 2 2 0 8 0 amappl1 72 18476 0 18028 24 14 10 17 0 8 0 amappl 80 951 0 906 2 0 2 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 382 0 365 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 382 0 365 1 0 1 1 0 8 0 vmmpekpl 168 6625 0 6592 2 0 2 2 0 8 0 vmmpepl 168 55307 0 53054 136 31 105 123 0 357 7 vmsppl 272 381 0 365 3 1 2 2 0 8 0 pdppl 4096 770 0 732 6 1 5 6 0 8 0 pvpl 32 179850 0 159839 214 25 189 214 0 265 14 pmappl 200 381 0 365 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 297 0 68 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806093f4b0,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x16e7 soo_read(fffffd8060bf78e8,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0860, 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806093f4b0,0,ffff80001d6e51d8,0,0,ffff80001d6e50e4) at soreceive+0x16e7 soo_read(fffffd8060bf78e8,ffff80001d6e51d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e51d8,0,ffff80001d6e52c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5270,ffff80001d6e52c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5340) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0860, count: -8