panic: receive 1a: so 0xfffffd806272b000, so_type 3, m 0xfffffd805981f200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *232590 88261 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806272b000,0,ffff80001d6e5518,0,0,ffff80001d6e5424) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f79d8,ffff80001d6e5518,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5518,0,ffff80001d6e5600) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e55b0,ffff80001d6e5600) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe620, 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 0xfffffd806272b000, so_type 3, m 0xfffffd805981f200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806272b000,0,ffff80001d6e5518,0,0,ffff80001d6e5424) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f79d8,ffff80001d6e5518,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5518,0,ffff80001d6e5600) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e55b0,ffff80001d6e5600) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe620, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5260 rbx 0xffff80001d6e5310 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81bba10f kprintf+0x15f r9 0x1 r10 0x2 r11 0xc30fcec0074b8c21 r12 0x3000000008 r13 0xffff80001d6e5270 r14 0x100 r15 0x1 rip 0xffffffff816f9b08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5250 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=232590 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9c38,0xffff80001d6a9eb8 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09440 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74836 125909 56353 0 2 0 syz-executor.1 74836 286323 56353 0 2 0x4000000 syz-executor.1 38014 229158 0 0 3 0x14280 nfsidl nfsio 59935 77274 0 0 3 0x14280 nfsidl nfsio 95388 232750 0 0 3 0x14280 nfsidl nfsio 18064 181521 0 0 3 0x14280 nfsidl nfsio 40801 332407 0 0 3 0x14280 nfsidl nfsio 26582 118689 0 0 3 0x14280 nfsidl nfsio 70277 95844 0 0 3 0x14280 nfsidl nfsio 99753 447244 0 0 3 0x14280 nfsidl nfsio 42453 155116 0 0 3 0x14280 nfsidl nfsio 36521 80034 0 0 3 0x14280 nfsidl nfsio 64781 417685 0 0 3 0x14280 nfsidl nfsio 48511 241264 0 0 3 0x14280 nfsidl nfsio 66352 411755 0 0 3 0x14280 nfsidl nfsio 1616 2117 0 0 3 0x14280 nfsidl nfsio 91811 448984 0 0 3 0x14280 nfsidl nfsio 5606 33061 0 0 3 0x14280 nfsidl nfsio 8754 394803 0 0 3 0x14280 nfsidl nfsio 59636 220347 0 0 3 0x14280 nfsidl nfsio 35194 149683 0 0 3 0x14280 nfsidl nfsio 69563 129379 0 0 3 0x14280 nfsidl nfsio 35161 381803 0 0 3 0x14200 acct acct 33272 494423 0 0 3 0x14200 bored sosplice 45552 510412 35132 0 3 0x82 piperd syz-executor.0 56353 244687 35132 0 2 0x482 syz-executor.1 35132 200698 38192 0 3 0x82 thrsleep syz-fuzzer 35132 394811 38192 0 2 0x4000482 syz-fuzzer 35132 518563 38192 0 3 0x4000082 thrsleep syz-fuzzer 35132 31267 38192 0 3 0x4000082 thrsleep syz-fuzzer 35132 518917 38192 0 3 0x4000082 thrsleep syz-fuzzer 35132 188649 38192 0 2 0x4000002 syz-fuzzer 35132 306618 38192 0 3 0x4000082 thrsleep syz-fuzzer 38192 54617 70607 0 3 0x10008a pause ksh 70607 490269 95586 0 3 0x92 select sshd 25771 353316 1 0 3 0x100083 ttyin getty 95586 27701 1 0 3 0x80 select sshd 42677 200107 24086 73 3 0x100090 kqread syslogd 24086 219442 1 0 3 0x100082 netio syslogd 2852 199090 1 77 2 0x100010 dhclient *88261 232590 1 0 7 0 dhclient 85359 214089 0 0 3 0x14200 bored smr 88355 284237 0 0 2 0x14200 zerothread 94921 161036 0 0 3 0x14200 aiodoned aiodoned 38776 510698 0 0 3 0x14200 syncer update 36652 405571 0 0 3 0x14200 cleaner cleaner 59527 383294 0 0 3 0x14200 reaper reaper 31303 175578 0 0 3 0x14200 pgdaemon pagedaemon 5690 337486 0 0 3 0x14200 bored crynlk 7027 479795 0 0 3 0x14200 bored crypto 41446 387356 0 0 3 0x40014200 acpi0 acpi0 99506 255021 0 0 3 0x14200 bored softnet 16032 191689 0 0 3 0x14200 bored systqmp 26208 264366 0 0 3 0x14200 bored systq 12723 402152 0 0 2 0x40014200 softclock 5174 421531 0 0 3 0x40014200 idle0 1 189740 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 6350K 6736K 78643K 11298 0 pcb 13 8K 8K 78643K 121 0 rtable 110 4K 8K 78643K 584 0 ifaddr 84 17K 18K 78643K 215 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 31 0 ioctlops 0 0K 4K 78643K 143 0 iov 0 0K 12K 78643K 60 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1433 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 154 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 855 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 54K 78643K 406 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 63 0 in_multi 77 3K 3K 78643K 172 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 10 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 245 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 131 71K 75K 78643K 2756 0 UVM aobj 16 4K 4K 78643K 42 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 74 0 NDP 12 0K 0K 78643K 31 0 temp 126 3875K 3939K 78643K 27314 0 kqueue 3 4K 22K 78643K 39 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 4 1 0 1 1 0 8 0 rtpcb 80 61 0 59 1 0 1 1 0 8 0 rtentry 112 85 0 42 2 0 2 2 0 8 0 unpcb 120 485 0 477 1 0 1 1 0 8 0 syncache 264 13 0 13 6 6 0 1 0 8 0 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 583 0 583 2 2 0 1 0 8 0 tcpcb 544 180 0 176 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 135 0 135 2 2 0 1 0 8 0 inpcb 296 550 0 541 8 6 2 2 0 8 1 rttmr 72 5 0 5 3 3 0 1 0 8 0 nd6 48 23 0 15 1 0 1 1 0 8 0 ppxss 1136 1 0 0 1 0 1 1 0 8 0 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pfosfp 40 2 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 110 0 108 3 2 1 1 0 8 0 pftag 88 12 0 12 4 4 0 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 36 0 28 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 409 0 158 19 1 18 19 0 8 0 art_table 32 411 0 158 3 0 3 3 0 8 0 art_node 16 84 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 32 0 14 2 1 1 1 0 8 0 semapl 112 152 0 142 1 0 1 1 0 8 0 shmpl 112 39 0 26 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2762 0 1363 88 0 88 88 0 8 0 ffsino 240 2762 0 1363 83 0 83 83 0 8 0 nchpl 144 4386 0 2792 60 0 60 60 0 8 0 uvmvnodes 72 2967 0 0 54 0 54 54 0 8 0 vnodes 208 2967 0 0 157 0 157 157 0 8 0 namei 1024 11651 0 11651 2 1 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 10 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 38 0 36 3 2 1 1 0 8 0 scxspl 192 12413 0 12413 1 0 1 1 0 8 1 plimitpl 152 52 0 45 1 0 1 1 0 8 0 sigapl 424 1063 0 1013 6 0 6 6 0 8 0 futexpl 56 16038 0 16038 2 1 1 1 0 8 1 knotepl 112 159 0 140 2 1 1 2 0 8 0 kqueuepl 144 80 0 78 1 0 1 1 0 8 0 pipepl 272 180 0 170 2 1 1 2 0 8 0 fdescpl 432 1027 0 1013 2 0 2 2 0 8 0 filepl 120 5762 0 5666 4 0 4 4 0 8 1 lockfpl 104 120 0 119 1 0 1 1 0 8 0 lockfspl 48 45 0 44 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 436 0 429 1 0 1 1 0 8 0 zombiepl 144 1013 0 1013 1 0 1 1 0 8 1 processpl 928 1063 0 1013 7 0 7 7 0 8 0 procpl 624 2054 0 1997 7 2 5 5 0 8 0 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 400 1100 0 1083 9 6 3 4 0 8 1 mcl64k 65536 32 0 32 6 6 0 1 0 8 0 mcl16k 16384 7 0 7 6 6 0 1 0 8 0 mcl12k 12288 13 0 13 7 6 1 1 0 8 1 mcl9k 9216 13 0 13 6 5 1 1 0 8 1 mcl8k 8192 27 0 27 9 9 0 1 0 8 0 mcl4k 4096 51 0 51 10 9 1 1 0 8 1 mcl2k2 2112 3 0 3 2 2 0 1 0 8 0 mcl2k 2048 94192 0 94128 32 23 9 24 0 8 0 mtagpl 96 59 0 39 2 1 1 1 0 8 0 mbufpl 256 154472 0 154220 46 25 21 25 0 8 0 bufpl 280 5338 0 126 373 0 373 373 0 8 0 anonpl 16 120838 0 103793 110 32 78 87 0 107 0 amapchunkpl 152 4866 0 4715 33 26 7 21 0 158 0 amappl16 192 5967 0 4911 83 26 57 65 0 8 4 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 96 0 89 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 10 0 6 1 0 1 1 0 8 0 amappl11 152 44 0 33 1 0 1 1 0 8 0 amappl10 144 13 0 8 1 0 1 1 0 8 0 amappl9 136 382 0 380 1 0 1 1 0 8 0 amappl8 128 327 0 286 2 0 2 2 0 8 0 amappl7 120 114 0 102 1 0 1 1 0 8 0 amappl6 112 23 0 18 1 0 1 1 0 8 0 amappl5 104 975 0 962 1 0 1 1 0 8 0 amappl4 96 426 0 400 1 0 1 1 0 8 0 amappl3 88 201 0 196 1 0 1 1 0 8 0 amappl2 80 7405 0 7334 2 0 2 2 0 8 0 amappl1 72 32038 0 31627 24 15 9 17 0 8 0 amappl 80 2269 0 2223 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 41 0 26 1 0 1 1 0 8 0 uaddrrnd 24 1037 0 1018 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1037 0 1018 1 0 1 1 0 8 0 vmmpekpl 168 9608 0 9577 2 0 2 2 0 8 0 vmmpepl 168 130113 0 127929 150 51 99 112 0 357 4 vmsppl 272 1036 0 1018 4 2 2 2 0 8 0 pdppl 4096 2080 0 2041 7 1 6 6 0 8 1 pvpl 32 318937 0 299059 261 83 178 202 0 265 0 pmappl 200 1036 0 1018 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 339 0 94 9 1 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(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806272b000,0,ffff80001d6e5518,0,0,ffff80001d6e5424) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f79d8,ffff80001d6e5518,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5518,0,ffff80001d6e5600) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e55b0,ffff80001d6e5600) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe620, 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(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806272b000,0,ffff80001d6e5518,0,0,ffff80001d6e5424) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80629f79d8,ffff80001d6e5518,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5518,0,ffff80001d6e5600) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e55b0,ffff80001d6e5600) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5680) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe620, count: -8