panic: receive 1a: so 0xfffffd805e555190, so_type 3, m 0xfffffd80696cc400, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *261435 30728 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0fa9) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e555190,0,ffff80001d382298,0,0,ffff80001d3821a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8067f3b3c0,ffff80001d382298,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3499c8,6,ffff80001d382298,0,ffff80001d382380) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3499c8,ffff80001d382330,ffff80001d382380) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382400) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf040, 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 0xfffffd805e555190, so_type 3, m 0xfffffd80696cc400, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0fa9) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e555190,0,ffff80001d382298,0,0,ffff80001d3821a4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8067f3b3c0,ffff80001d382298,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3499c8,6,ffff80001d382298,0,ffff80001d382380) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3499c8,ffff80001d382330,ffff80001d382380) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382400) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf040, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381fe0 rbx 0xffff80001d382090 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381fa0 r9 0x1 r10 0 r11 0x7f6c0b9067bb1174 r12 0x3000000008 r13 0xffff80001d381ff0 r14 0x100 r15 0x1 rip 0xffffffff816b5468 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381fd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=261435 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a388,0xffff80001d349c48 process=0xffff8000ffffaa90 user=0xffff80001d37d000, 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 89708 456985 45282 0 2 0 syz-executor.0 89708 461148 45282 0 2 0x4000000 syz-executor.0 48544 2704 1 0 3 0x100083 ttyin getty 26535 479540 0 0 3 0x14200 acct acct 45282 232246 88007 0 2 0x482 syz-executor.0 61140 290658 88007 0 2 0x482 syz-executor.1 23792 503201 0 0 3 0x14200 bored sosplice 88007 163431 41505 0 3 0x82 thrsleep syz-fuzzer 88007 40847 41505 0 2 0x4000482 syz-fuzzer 88007 519953 41505 0 3 0x4000082 thrsleep syz-fuzzer 88007 280841 41505 0 3 0x4000082 thrsleep syz-fuzzer 88007 124140 41505 0 3 0x4000082 thrsleep syz-fuzzer 88007 375957 41505 0 3 0x4000082 thrsleep syz-fuzzer 88007 111841 41505 0 3 0x4000082 thrsleep syz-fuzzer 88007 295814 41505 0 3 0x4000082 kqread syz-fuzzer 41505 463988 85117 0 3 0x10008a pause ksh 85117 246678 54037 0 3 0x92 select sshd 54037 509654 1 0 3 0x80 select sshd 14984 393693 44629 73 3 0x100090 kqread syslogd 44629 161699 1 0 3 0x100082 netio syslogd 90747 36528 1 77 2 0x100010 dhclient *30728 261435 1 0 7 0 dhclient 62425 22685 0 0 2 0x14200 zerothread 20273 65329 0 0 3 0x14200 aiodoned aiodoned 54149 246826 0 0 3 0x14200 syncer update 77948 101838 0 0 3 0x14200 cleaner cleaner 15343 378271 0 0 3 0x14200 reaper reaper 58301 187225 0 0 3 0x14200 pgdaemon pagedaemon 38099 389479 0 0 3 0x14200 bored crynlk 3664 484466 0 0 3 0x14200 bored crypto 6883 487745 0 0 3 0x40014200 acpi0 acpi0 69272 41698 0 0 2 0x14200 softnet 78497 168378 0 0 3 0x14200 bored systqmp 62518 496467 0 0 3 0x14200 bored systq 66665 155506 0 0 2 0x40014200 softclock 86004 256143 0 0 3 0x40014200 idle0 26421 466496 0 0 3 0x14200 bored smr 1 28845 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 9522 6360K 8019K 78643K 17203 0 pcb 13 8K 8K 78643K 196 0 rtable 114 3K 4K 78643K 558 0 ifaddr 98 19K 19K 78643K 271 0 counters 22 16K 17K 78643K 48 0 ioctlops 0 0K 2K 78643K 68 0 iov 0 0K 14K 78643K 159 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 2893 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 90 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 1137 0 sigio 0 0K 0K 78643K 14 0 proc 50 38K 55K 78643K 610 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 383 0 in_multi 105 5K 5K 78643K 260 0 ether_multi 1 0K 0K 78643K 34 0 mrt 0 0K 0K 78643K 5 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 320 0 pfkey data 0 0K 0K 78643K 1 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 122 71K 73K 78643K 3577 0 UVM aobj 40 2K 2K 78643K 57 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 198 0 NDP 15 0K 0K 78643K 57 0 temp 142 3014K 3083K 78643K 35612 0 kqueue 3 4K 18K 78643K 94 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 15 0 8 1 0 1 1 0 8 0 rtpcb 80 83 0 81 1 0 1 1 0 8 0 rtentry 112 110 0 63 2 0 2 2 0 8 0 unpcb 120 980 0 972 4 2 2 3 0 8 1 syncache 264 13 0 13 4 3 1 1 0 8 1 tcpqe 32 11 0 11 3 3 0 1 0 8 0 tcpcb 544 699 0 693 7 5 2 4 0 8 1 ipq 40 5 0 5 3 2 1 1 0 8 1 ipqe 40 139 0 139 3 2 1 1 0 8 1 inpcb 280 1397 0 1388 7 5 2 4 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 18 0 14 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 4 0 4 3 2 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 536 0 320 16 1 15 15 0 8 1 art_table 32 538 0 320 2 0 2 2 0 8 0 art_node 16 109 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 18 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 84 0 74 1 0 1 1 0 8 0 shmpl 112 55 0 18 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3089 0 1690 46 0 46 46 0 8 0 ffsino 240 3089 0 1690 83 0 83 83 0 8 0 nchpl 144 4843 0 3243 60 0 60 60 0 8 0 uvmvnodes 72 4631 0 0 85 0 85 85 0 8 0 vnodes 208 4631 0 0 244 0 244 244 0 8 0 namei 1024 15851 0 15851 2 1 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 1 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 19541 0 19541 1 0 1 1 0 8 1 plimitpl 152 102 0 95 1 0 1 1 0 8 0 sigapl 432 1297 0 1284 2 0 2 2 0 8 0 futexpl 56 26676 0 26676 2 1 1 1 0 8 1 knotepl 112 237 0 218 1 0 1 1 0 8 0 kqueuepl 104 345 0 343 1 0 1 1 0 8 0 pipelkpl 16 296 0 286 1 0 1 1 0 8 0 pipepl 120 592 0 573 2 1 1 2 0 8 0 fdescpl 432 1298 0 1284 2 0 2 2 0 8 0 filepl 120 10316 0 10218 9 4 5 6 0 8 2 lockfpl 104 1259 0 1257 1 0 1 1 0 8 0 lockfspl 48 601 0 599 1 0 1 1 0 8 0 sessionpl 112 22 0 12 1 0 1 1 0 8 0 pgrppl 48 28 0 18 1 0 1 1 0 8 0 ucredpl 96 1157 0 1150 1 0 1 1 0 8 0 zombiepl 144 1284 0 1283 1 0 1 1 0 8 0 processpl 896 1314 0 1283 4 0 4 4 0 8 0 procpl 624 2622 0 2583 4 0 4 4 0 8 0 sosppl 128 9 0 9 3 2 1 1 0 8 1 sockpl 400 2474 0 2455 19 12 7 10 0 8 4 mcl64k 65536 59 0 59 3 2 1 1 0 8 1 mcl16k 16384 7 0 7 3 2 1 1 0 8 1 mcl12k 12288 15 0 15 3 2 1 1 0 8 1 mcl9k 9216 9 0 9 4 3 1 1 0 8 1 mcl8k 8192 33 0 33 3 2 1 1 0 8 1 mcl4k 4096 109 0 109 3 2 1 1 0 8 1 mcl2k2 2112 17 0 17 3 2 1 1 0 8 1 mcl2k 2048 64898 0 64846 19 11 8 13 0 8 1 mtagpl 80 446 0 58 10 2 8 8 0 8 0 mbufpl 256 111466 0 110550 77 18 59 59 0 8 0 bufpl 280 8006 0 2596 387 0 387 387 0 8 0 anonpl 16 127222 0 110479 90 16 74 83 0 107 3 amapchunkpl 152 7142 0 7000 35 21 14 20 0 158 8 amappl16 192 6106 0 5196 62 14 48 58 0 8 2 amappl15 184 59 0 55 1 0 1 1 0 8 0 amappl14 176 465 0 463 1 0 1 1 0 8 0 amappl13 168 8 0 8 1 1 0 1 0 8 0 amappl12 160 552 0 549 2 1 1 1 0 8 0 amappl11 152 69 0 57 1 0 1 1 0 8 0 amappl10 144 67 0 64 1 0 1 1 0 8 0 amappl9 136 663 0 660 1 0 1 1 0 8 0 amappl8 128 188 0 164 1 0 1 1 0 8 0 amappl7 120 165 0 151 1 0 1 1 0 8 0 amappl6 112 56 0 49 1 0 1 1 0 8 0 amappl5 104 710 0 697 1 0 1 1 0 8 0 amappl4 96 587 0 559 1 0 1 1 0 8 0 amappl3 88 1498 0 1488 1 0 1 1 0 8 0 amappl2 80 9311 0 9242 3 1 2 3 0 8 0 amappl1 72 32601 0 32177 26 16 10 20 0 8 0 amappl 80 2938 0 2891 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 56 0 17 1 0 1 1 0 8 0 uaddrrnd 24 1304 0 1285 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1304 0 1285 1 0 1 1 0 8 0 vmmpekpl 168 12360 0 12328 2 0 2 2 0 8 0 vmmpepl 168 159956 0 157943 147 52 95 121 0 357 7 vmsppl 272 1303 0 1285 3 1 2 2 0 8 0 pdppl 4096 2614 0 2575 7 1 6 6 0 8 0 pvpl 32 427837 0 407999 276 53 223 276 0 265 60 pmappl 200 1303 0 1285 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 256 0 60 6 0 6 6 0 8 0