panic: receive 1a: so 0xfffffd805e55f190, so_type 3, m 0xfffffd805c9d7400, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *402477 93350 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b762a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55f190,0,ffff80001d372588,0,0,ffff80001d372494) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064bf0258,ffff80001d372588,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372588,0,ffff80001d372670) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372620,ffff80001d372670) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3726f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffced70, 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 0xfffffd805e55f190, so_type 3, m 0xfffffd805c9d7400, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b762a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55f190,0,ffff80001d372588,0,0,ffff80001d372494) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064bf0258,ffff80001d372588,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372588,0,ffff80001d372670) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372620,ffff80001d372670) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3726f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffced70, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3722d0 rbx 0xffff80001d372380 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372290 r9 0x1 r10 0 r11 0xaa0840b3d652795d r12 0x3000000008 r13 0xffff80001d3722e0 r14 0x100 r15 0x1 rip 0xffffffff81704528 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3722c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=402477 stat=onproc flags process=0 proc=0 pri=50, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339288 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09880 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86681 502389 84495 0 2 0 syz-executor.0 86681 503218 84495 0 3 0x4000000 smrbar syz-executor.0 91888 203555 52347 0 2 0x2 syz-executor.1 7907 234485 0 0 3 0x14200 bored sosplice 84495 162036 52347 0 3 0x82 nanosleep syz-executor.0 52347 312881 14135 0 3 0x82 thrsleep syz-fuzzer 52347 131483 14135 0 3 0x4000082 nanosleep syz-fuzzer 52347 157838 14135 0 3 0x4000082 kqread syz-fuzzer 52347 307014 14135 0 3 0x4000082 thrsleep syz-fuzzer 52347 486615 14135 0 3 0x4000082 thrsleep syz-fuzzer 52347 230962 14135 0 3 0x4000082 thrsleep syz-fuzzer 52347 379032 14135 0 3 0x4000082 thrsleep syz-fuzzer 52347 519041 14135 0 3 0x4000082 thrsleep syz-fuzzer 14135 382301 37987 0 3 0x10008a pause ksh 37987 247669 47180 0 3 0x92 select sshd 42526 455961 1 0 3 0x100083 ttyin getty 47180 142868 1 0 3 0x80 select sshd 15395 447663 99511 73 3 0x100090 kqread syslogd 99511 224600 1 0 3 0x100082 netio syslogd 32546 432430 1 77 3 0x100090 poll dhclient *93350 402477 1 0 7 0 dhclient 9810 395137 0 0 2 0x14200 zerothread 52556 250190 0 0 3 0x14200 aiodoned aiodoned 97978 41817 0 0 3 0x14200 syncer update 82604 273750 0 0 3 0x14200 cleaner cleaner 12774 94415 0 0 3 0x14200 reaper reaper 89161 80425 0 0 3 0x14200 pgdaemon pagedaemon 14720 469620 0 0 3 0x14200 bored crynlk 6757 315117 0 0 3 0x14200 bored crypto 68794 92678 0 0 3 0x40014200 acpi0 acpi0 35830 118530 0 0 3 0x14200 bored softnet 66962 254362 0 0 3 0x14200 bored systqmp 82099 274053 0 0 3 0x14200 bored systq 49184 445346 0 0 3 0x40014200 bored softclock 20526 523496 0 0 3 0x40014200 idle0 27808 48506 0 0 3 0x14200 bored smr 1 432344 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 9479 6336K 6784K 78643K 10855 0 pcb 13 8K 8K 78643K 67 0 rtable 108 3K 4K 78643K 286 0 ifaddr 62 13K 13K 78643K 93 0 counters 22 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 26 0 iov 0 0K 16K 78643K 46 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1352 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 53 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 168 0 proc 48 38K 54K 78643K 411 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 17 0 in_multi 55 3K 3K 78643K 93 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 208 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 103 54K 54K 78643K 1252 0 UVM aobj 12 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 11 0K 0K 78643K 20 0 temp 97 3024K 3088K 78643K 5728 0 kqueue 3 4K 9K 78643K 20 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 9 0 3 1 0 1 1 0 8 0 rtpcb 80 37 0 35 1 0 1 1 0 8 0 rtentry 112 64 0 20 2 0 2 2 0 8 0 unpcb 120 169 0 161 1 0 1 1 0 8 0 syncache 264 8 0 8 3 2 1 1 0 8 1 tcpqe 32 87 0 87 1 1 0 1 0 8 0 tcpcb 544 87 0 83 1 0 1 1 0 8 0 inpcb 280 223 0 216 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 10 0 4 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 263 0 70 13 0 13 13 0 8 0 art_table 32 265 0 70 2 0 2 2 0 8 0 art_node 16 63 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 47 0 37 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1652 0 253 46 0 46 46 0 8 0 ffsino 240 1652 0 253 83 0 83 83 0 8 0 nchpl 144 2072 0 475 60 0 60 60 0 8 0 uvmvnodes 72 1776 0 0 33 0 33 33 0 8 0 vnodes 208 1776 0 0 94 0 94 94 0 8 0 namei 1024 6063 0 6063 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 2 1 0 1 1 0 8 0 scxspl 192 6078 0 6078 1 0 1 1 0 8 1 plimitpl 152 25 0 18 1 0 1 1 0 8 0 sigapl 432 336 0 323 2 0 2 2 0 8 0 futexpl 56 3689 0 3689 1 0 1 1 0 8 1 knotepl 112 85 0 66 1 0 1 1 0 8 0 kqueuepl 144 34 0 32 1 0 1 1 0 8 0 pipelkpl 16 103 0 93 1 0 1 1 0 8 0 pipepl 120 206 0 187 1 0 1 1 0 8 0 fdescpl 432 337 0 323 2 0 2 2 0 8 0 filepl 120 2375 0 2280 6 1 5 5 0 8 2 lockfpl 104 51 0 50 1 0 1 1 0 8 0 lockfspl 48 20 0 19 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 277 0 270 1 0 1 1 0 8 0 zombiepl 144 323 0 323 1 0 1 1 0 8 1 processpl 896 352 0 323 4 0 4 4 0 8 0 procpl 624 530 0 493 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 437 0 420 5 1 4 4 0 8 2 mcl64k 65536 23 0 23 2 1 1 1 0 8 1 mcl16k 16384 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 24 0 24 2 1 1 1 0 8 1 mcl2k 2048 64125 0 64073 18 10 8 16 0 8 1 mtagpl 80 12 0 6 2 1 1 1 0 8 0 mbufpl 256 103056 0 102925 20 6 14 16 0 8 4 bufpl 280 4276 0 160 294 0 294 294 0 8 0 anonpl 16 47396 0 33501 71 2 69 69 0 107 1 amapchunkpl 152 1593 0 1449 8 1 7 8 0 158 0 amappl16 192 1568 0 645 48 0 48 48 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 12 0 10 2 1 1 1 0 8 0 amappl13 168 35 0 33 1 0 1 1 0 8 0 amappl12 160 68 0 65 2 1 1 1 0 8 0 amappl11 152 71 0 58 1 0 1 1 0 8 0 amappl10 144 22 0 17 1 0 1 1 0 8 0 amappl9 136 437 0 433 1 0 1 1 0 8 0 amappl8 128 334 0 316 1 0 1 1 0 8 0 amappl7 120 112 0 101 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 325 0 313 1 0 1 1 0 8 0 amappl4 96 463 0 433 1 0 1 1 0 8 0 amappl3 88 111 0 105 1 0 1 1 0 8 0 amappl2 80 1835 0 1770 3 1 2 3 0 8 0 amappl1 72 15888 0 15487 27 18 9 20 0 8 0 amappl 80 766 0 721 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 343 0 325 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 343 0 325 1 0 1 1 0 8 0 vmmpekpl 168 6324 0 6295 2 0 2 2 0 8 0 vmmpepl 168 48349 0 46361 140 18 122 122 0 357 34 vmsppl 272 342 0 325 2 0 2 2 0 8 0 pdppl 4096 692 0 654 7 1 6 6 0 8 1 pvpl 32 158582 0 141947 168 0 168 168 0 265 10 pmappl 200 342 0 325 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 167 0 22 5 0 5 5 0 8 0