panic: receive 1: so 0xfffffd806876d7d0, so_type 3, sb_cc 192 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 8722 76413 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d419c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806876d7d0,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8708,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc03d0, 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 1: so 0xfffffd806876d7d0, so_type 3, sb_cc 192 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d419c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806876d7d0,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8708,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc03d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4ed0 rbx 0xffff80001d6e4f80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff815362cf kprintf+0x15f r9 0x1 r10 0x2 r11 0x9f07a28d7c45212b r12 0x3000000008 r13 0xffff80001d6e4ee0 r14 0x100 r15 0x1 rip 0xffffffff81565448 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4ec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=8722 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a99c8,0xffff80001d6aa128 process=0xffff80001d6c4010 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 18 461155 30005 0 2 0 syz-executor.1 18 89837 30005 0 2 0x4000000 syz-executor.1 30005 72766 84883 0 2 0x482 syz-executor.1 76709 443643 0 0 3 0x14280 nfsidl nfsio 86861 23575 0 0 3 0x14280 nfsidl nfsio 3907 117589 0 0 3 0x14280 nfsidl nfsio 91257 126273 0 0 3 0x14280 nfsidl nfsio 55149 450483 0 0 3 0x14280 nfsidl nfsio 21885 395574 0 0 3 0x14280 nfsidl nfsio 95587 477979 0 0 3 0x14280 nfsidl nfsio 53790 221220 0 0 3 0x14280 nfsidl nfsio 785 391571 0 0 3 0x14280 nfsidl nfsio 8123 204126 0 0 3 0x14280 nfsidl nfsio 82649 63660 0 0 3 0x14280 nfsidl nfsio 83784 228906 0 0 3 0x14280 nfsidl nfsio 71294 85652 0 0 3 0x14280 nfsidl nfsio 96560 464178 0 0 3 0x14280 nfsidl nfsio 52079 210144 0 0 3 0x14280 nfsidl nfsio 73027 232681 0 0 3 0x14280 nfsidl nfsio 79865 485597 0 0 3 0x14280 nfsidl nfsio 73756 14157 0 0 3 0x14280 nfsidl nfsio 64419 50563 0 0 3 0x14280 nfsidl nfsio 21186 252499 0 0 3 0x14280 nfsidl nfsio 61107 511796 0 0 3 0x14200 bored sosplice 36517 469934 0 0 3 0x14200 acct acct 96037 27347 84883 0 2 0x2 syz-executor.0 84883 324483 62919 0 3 0x82 thrsleep syz-fuzzer 84883 93974 62919 0 3 0x4000082 nanosleep syz-fuzzer 84883 67296 62919 0 3 0x4000082 thrsleep syz-fuzzer 84883 176712 62919 0 3 0x4000082 thrsleep syz-fuzzer 84883 352173 62919 0 3 0x4000082 thrsleep syz-fuzzer 84883 306522 62919 0 3 0x4000082 thrsleep syz-fuzzer 84883 209699 62919 0 3 0x4000082 thrsleep syz-fuzzer 84883 238525 62919 0 3 0x4000082 kqread syz-fuzzer 62919 473742 11711 0 3 0x10008a pause ksh 11711 111455 84697 0 3 0x92 select sshd 85055 493068 1 0 3 0x100083 ttyin getty 84697 221002 1 0 3 0x80 select sshd 51151 208654 72343 73 3 0x100090 kqread syslogd 72343 510649 1 0 3 0x100082 netio syslogd 25732 225458 1 77 2 0x100010 dhclient *76413 8722 1 0 7 0 dhclient 84757 326273 0 0 3 0x14200 bored smr 82150 181956 0 0 2 0x14200 zerothread 56665 283049 0 0 3 0x14200 aiodoned aiodoned 88184 274129 0 0 3 0x14200 syncer update 27687 338321 0 0 3 0x14200 cleaner cleaner 70848 121789 0 0 3 0x14200 reaper reaper 13819 502216 0 0 3 0x14200 pgdaemon pagedaemon 90166 62236 0 0 3 0x14200 bored crynlk 19091 67926 0 0 3 0x14200 bored crypto 44238 63017 0 0 3 0x40014200 acpi0 acpi0 67931 33528 0 0 2 0x14200 softnet 46807 48114 0 0 3 0x14200 bored systqmp 14781 262294 0 0 3 0x14200 bored systq 93064 52353 0 0 2 0x40014200 softclock 66447 202024 0 0 3 0x40014200 idle0 1 194801 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 9520 6362K 6807K 78643K 11932 0 pcb 13 8K 8K 78643K 125 0 rtable 130 12K 13K 78643K 1167 0 ifaddr 102 21K 22K 78643K 290 0 sysctl 1 1K 1K 78643K 1 0 counters 22 16K 17K 78643K 42 0 ioctlops 0 0K 4K 78643K 177 0 iov 0 0K 16K 78643K 152 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1970 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 144 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 1627 0 sigio 0 0K 0K 78643K 6 0 proc 51 38K 55K 78643K 551 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 57 0 in_multi 80 4K 4K 78643K 164 0 ether_multi 1 0K 0K 78643K 20 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 307 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 153 97K 97K 78643K 4489 0 UVM aobj 47 6K 6K 78643K 69 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 97 0 NDP 14 0K 0K 78643K 43 0 temp 126 3866K 3934K 78643K 25348 0 kqueue 3 4K 12K 78643K 65 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 17 0 8 1 0 1 1 0 8 0 rtpcb 80 356 0 353 1 0 1 1 0 8 0 rtentry 112 103 0 66 2 0 2 2 0 8 0 unpcb 120 672 0 664 1 0 1 1 0 8 0 syncache 264 20 0 20 5 5 0 1 0 8 0 tcpqe 32 240 0 240 2 2 0 1 0 8 0 tcpcb 544 320 0 316 1 0 1 1 0 8 0 ipq 40 4 0 4 2 2 0 1 0 8 0 ipqe 40 8 0 8 2 2 0 1 0 8 0 inpcb 296 857 0 849 6 4 2 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 ppxss 1128 3 0 3 3 3 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 1 0 1 1 1 0 1 0 8 0 pfosfpen 112 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 138 0 120 3 1 2 2 0 8 0 pftag 88 15 0 10 1 0 1 1 0 8 0 pfstkey 112 8 0 8 2 2 0 1 0 8 0 pfstate 328 4 0 4 2 2 0 1 0 8 0 pfrule 1360 56 0 28 3 0 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 438 0 259 15 3 12 12 0 8 0 art_table 32 440 0 259 2 0 2 2 0 8 0 art_node 16 91 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 136 0 126 1 0 1 1 0 8 0 shmpl 112 66 0 22 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3880 0 2483 88 0 88 88 0 8 0 ffsino 240 3880 0 2483 83 0 83 83 0 8 0 nchpl 144 6965 0 5381 60 0 60 60 0 8 0 uvmvnodes 72 4249 0 0 78 0 78 78 0 8 0 vnodes 208 4249 0 0 224 0 224 224 0 8 0 namei 1024 20870 0 20869 2 1 1 1 0 8 0 vcpupl 1984 8 0 1 1 0 1 1 0 8 0 vmpool 528 16 0 9 1 0 1 1 0 8 0 pfiaddrpl 120 66 0 46 1 0 1 1 0 8 0 scsiplug 64 108 0 108 3 3 0 1 0 8 0 scxspl 192 18304 0 18304 2 1 1 1 0 8 1 plimitpl 152 100 0 93 1 0 1 1 0 8 0 sigapl 424 1829 0 1779 6 0 6 6 0 8 0 futexpl 56 26182 0 26182 2 1 1 1 0 8 1 knotepl 112 158 0 139 1 0 1 1 0 8 0 kqueuepl 144 157 0 155 1 0 1 1 0 8 0 pipepl 272 242 0 232 2 1 1 2 0 8 0 fdescpl 432 1793 0 1779 2 0 2 2 0 8 0 filepl 120 10236 0 10138 5 1 4 5 0 8 1 lockfpl 104 250 0 249 1 0 1 1 0 8 0 lockfspl 48 93 0 92 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 31 0 21 1 0 1 1 0 8 0 ucredpl 96 781 0 774 1 0 1 1 0 8 0 zombiepl 144 1779 0 1779 1 0 1 1 0 8 1 processpl 928 1829 0 1779 7 0 7 7 0 8 0 procpl 624 3618 0 3560 5 0 5 5 0 8 0 sosppl 128 16 0 16 2 2 0 1 0 8 0 sockpl 400 1893 0 1874 6 3 3 4 0 8 1 mcl64k 65536 582 0 582 69 69 0 65 0 8 0 mcl16k 16384 9 0 9 5 4 1 1 0 8 1 mcl12k 12288 38 0 38 3 2 1 1 0 8 1 mcl9k 9216 21 0 21 4 3 1 1 0 8 1 mcl8k 8192 29 0 29 4 3 1 1 0 8 1 mcl4k 4096 83 0 83 4 3 1 1 0 8 1 mcl2k2 2112 8 0 8 5 4 1 1 0 8 1 mcl2k 2048 79534 0 79473 22 13 9 17 0 8 0 mtagpl 96 139 0 69 4 1 3 3 0 8 0 mbufpl 256 136279 0 136027 76 52 24 41 0 8 1 bufpl 280 6485 0 1133 383 0 383 383 0 8 0 anonpl 16 174015 0 156497 104 30 74 84 0 107 0 amapchunkpl 152 8806 0 8641 30 22 8 21 0 158 1 amappl16 192 9419 0 8415 80 29 51 60 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 26 0 22 1 0 1 1 0 8 0 amappl13 168 483 0 479 1 0 1 1 0 8 0 amappl12 160 100 0 97 2 1 1 1 0 8 0 amappl11 152 59 0 50 1 0 1 1 0 8 0 amappl10 144 233 0 226 1 0 1 1 0 8 0 amappl9 136 1203 0 1200 1 0 1 1 0 8 0 amappl8 128 1229 0 1174 2 0 2 2 0 8 0 amappl7 120 329 0 313 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 1816 0 1804 1 0 1 1 0 8 0 amappl4 96 893 0 865 1 0 1 1 0 8 0 amappl3 88 165 0 159 1 0 1 1 0 8 0 amappl2 80 13445 0 13375 2 0 2 2 0 8 0 amappl1 72 37476 0 37069 23 13 10 17 0 8 0 amappl 80 3902 0 3855 4 2 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 68 0 22 1 0 1 1 0 8 0 uaddrrnd 24 1809 0 1788 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1809 0 1788 1 0 1 1 0 8 0 vmmpekpl 168 13130 0 13096 2 0 2 2 0 8 0 vmmpepl 168 213915 0 211778 170 39 131 131 0 357 37 vmsppl 272 1808 0 1788 2 0 2 2 0 8 0 pdppl 4096 3624 0 3583 7 1 6 6 0 8 0 pvpl 32 463710 0 443859 226 61 165 192 0 265 0 pmappl 200 1808 0 1788 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 401 0 155 10 1 9 10 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(ffffffff823d419c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806876d7d0,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8708,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc03d0, 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(ffffffff823d419c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806876d7d0,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8708,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc03d0, count: -8