panic: receive 3: so 0xfffffd805e56c000, so_type 3, m 0xfffffd8058544c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *165148 79420 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b0a71) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d3728b8,0,0,ffff80001d3727c4) at soreceive+0x16e7 soo_read(fffffd805eb12528,ffff80001d3728b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3728b8,0,ffff80001d3729a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372950,ffff80001d3729a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a20) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb8d0, 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 0xfffffd805e56c000, so_type 3, m 0xfffffd8058544c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b0a71) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d3728b8,0,0,ffff80001d3727c4) at soreceive+0x16e7 soo_read(fffffd805eb12528,ffff80001d3728b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3728b8,0,ffff80001d3729a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372950,ffff80001d3729a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a20) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb8d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372600 rbx 0xffff80001d3726b0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3725c0 r9 0x1 r10 0 r11 0xf914820412586483 r12 0x3000000008 r13 0xffff80001d372610 r14 0x100 r15 0x1 rip 0xffffffff810a1b18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3725f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=165148 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d3394f8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a880 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 1479 182590 69146 0 2 0 syz-executor.1 52570 196764 17755 0 2 0 syz-executor.0 52570 519992 17755 0 2 0x4000000 syz-executor.0 16645 151324 0 0 3 0x14200 bored sosplice 69146 60858 58894 0 3 0x82 nanosleep syz-executor.1 17755 518480 58894 0 3 0x82 nanosleep syz-executor.0 58894 86736 96010 0 3 0x82 thrsleep syz-fuzzer 58894 280189 96010 0 3 0x4000082 nanosleep syz-fuzzer 58894 202364 96010 0 3 0x4000082 thrsleep syz-fuzzer 58894 124481 96010 0 3 0x4000082 thrsleep syz-fuzzer 58894 400570 96010 0 3 0x4000082 kqread syz-fuzzer 58894 210831 96010 0 3 0x4000082 thrsleep syz-fuzzer 58894 354018 96010 0 3 0x4000082 thrsleep syz-fuzzer 96010 316353 32318 0 3 0x10008a pause ksh 32318 28354 98207 0 3 0x92 select sshd 7801 463538 1 0 3 0x100083 ttyin getty 98207 101536 1 0 3 0x80 select sshd 16607 225853 61181 73 3 0x100090 kqread syslogd 61181 239293 1 0 3 0x100082 netio syslogd 87814 11826 1 77 2 0x100010 dhclient *79420 165148 1 0 7 0 dhclient 74940 1788 0 0 2 0x14200 zerothread 32417 415221 0 0 3 0x14200 aiodoned aiodoned 7550 287781 0 0 3 0x14200 syncer update 34307 46729 0 0 3 0x14200 cleaner cleaner 79889 90163 0 0 3 0x14200 reaper reaper 54844 207914 0 0 3 0x14200 pgdaemon pagedaemon 45779 339776 0 0 3 0x14200 bored crynlk 12086 326771 0 0 3 0x14200 bored crypto 49338 203875 0 0 3 0x40014200 acpi0 acpi0 34208 469673 0 0 3 0x14200 bored softnet 88942 248796 0 0 3 0x14200 bored systqmp 85412 272481 0 0 3 0x14200 bored systq 21814 100718 0 0 3 0x40014200 bored softclock 9422 197628 0 0 3 0x40014200 idle0 16660 483914 0 0 3 0x14200 bored smr 1 357510 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 9492 6341K 7111K 78643K 10879 0 pcb 13 8K 8K 78643K 56 0 rtable 88 3K 4K 78643K 262 0 ifaddr 65 12K 13K 78643K 92 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 27 0 iov 0 0K 16K 78643K 27 0 mount 1 1K 1K 78643K 1 0 vnodes 1228 77K 77K 78643K 1319 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 1K 1K 78643K 29 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 185 0 sigio 0 0K 0K 78643K 6 0 proc 48 38K 63K 78643K 378 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 182 0 in_multi 33 2K 2K 78643K 177 0 ether_multi 1 0K 0K 78643K 10 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 204 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 105 38K 38K 78643K 1290 0 UVM aobj 11 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 44 0 NDP 12 0K 0K 78643K 21 0 temp 124 3018K 3082K 78643K 2293 0 kqueue 3 4K 8K 78643K 11 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 7 0 0 1 0 1 1 0 8 0 rtpcb 80 37 0 35 1 0 1 1 0 8 0 rtentry 112 60 0 26 2 0 2 2 0 8 0 unpcb 120 141 0 133 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 274 0 274 1 1 0 1 0 8 0 tcpcb 544 290 0 286 2 0 2 2 0 8 1 ipq 40 3 0 3 1 0 1 1 0 8 1 ipqe 40 92 0 92 1 0 1 1 0 8 1 inpcb 280 438 0 430 2 0 2 2 0 8 1 nd6 48 11 0 6 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 ppxss 1128 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 271 0 138 13 0 13 13 0 8 3 art_table 32 272 0 138 2 0 2 2 0 8 0 art_node 16 59 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 48 0 38 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 21 0 11 1 0 1 1 0 8 0 shmpl 112 13 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1659 0 260 46 0 46 46 0 8 0 ffsino 240 1659 0 260 83 0 83 83 0 8 0 nchpl 144 2135 0 532 60 0 60 60 0 8 0 uvmvnodes 72 1769 0 0 33 0 33 33 0 8 0 vnodes 208 1769 0 0 94 0 94 94 0 8 0 namei 1024 5611 0 5611 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 1 0 0 1 0 1 1 0 8 0 scxspl 192 6293 0 6293 1 0 1 1 0 8 1 plimitpl 152 35 0 28 1 0 1 1 0 8 0 sigapl 424 372 0 342 4 0 4 4 0 8 0 futexpl 56 4722 0 4722 1 0 1 1 0 8 1 knotepl 112 62 0 43 1 0 1 1 0 8 0 kqueuepl 144 30 0 28 1 0 1 1 0 8 0 pipelkpl 16 105 0 95 1 0 1 1 0 8 0 pipepl 120 210 0 191 1 0 1 1 0 8 0 fdescpl 432 357 0 342 2 0 2 2 0 8 0 filepl 120 2457 0 2361 4 0 4 4 0 8 1 lockfpl 104 58 0 57 1 0 1 1 0 8 0 lockfspl 48 18 0 17 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 251 0 244 1 0 1 1 0 8 0 zombiepl 144 342 0 342 1 0 1 1 0 8 1 processpl 896 372 0 342 4 0 4 4 0 8 0 procpl 624 594 0 557 4 0 4 4 0 8 1 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 620 0 603 4 0 4 4 0 8 2 mcl64k 65536 23 0 23 1 0 1 1 0 8 1 mcl16k 16384 7 0 7 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 37 0 37 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 64422 0 64367 19 10 9 16 0 8 1 mtagpl 80 25 0 2 2 1 1 1 0 8 0 mbufpl 256 104294 0 104069 27 8 19 24 0 8 2 bufpl 280 4346 0 162 299 0 299 299 0 8 0 anonpl 16 51789 0 35768 82 1 81 81 0 107 15 amapchunkpl 152 1631 0 1498 8 2 6 8 0 158 0 amappl16 192 1976 0 1088 57 0 57 57 0 8 12 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 76 0 73 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 86 0 83 1 0 1 1 0 8 0 amappl11 152 67 0 54 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 391 0 387 1 0 1 1 0 8 0 amappl8 128 272 0 253 1 0 1 1 0 8 0 amappl7 120 106 0 95 1 0 1 1 0 8 0 amappl6 112 21 0 17 2 1 1 1 0 8 0 amappl5 104 363 0 350 1 0 1 1 0 8 0 amappl4 96 432 0 406 1 0 1 1 0 8 0 amappl3 88 180 0 173 1 0 1 1 0 8 0 amappl2 80 2058 0 1990 3 1 2 3 0 8 0 amappl1 72 16021 0 15610 28 20 8 20 0 8 0 amappl 80 827 0 784 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 14 0 4 1 0 1 1 0 8 0 uaddrrnd 24 358 0 342 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 358 0 342 1 0 1 1 0 8 0 vmmpekpl 168 6326 0 6295 2 0 2 2 0 8 0 vmmpepl 168 49970 0 47956 117 15 102 108 0 357 14 vmsppl 272 357 0 342 2 0 2 2 0 8 1 pdppl 4096 722 0 685 6 1 5 6 0 8 0 pvpl 32 161250 0 142208 192 0 192 192 0 265 38 pmappl 200 357 0 342 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 172 0 22 5 0 5 5 0 8 0