panic: receive 1a: so 0xfffffd8065236320, so_type 3, m 0xfffffd805281fc00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *337694 94719 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219eda4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065236320,0,ffff80001d382b88,0,0,ffff80001d382a94) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd806521c780,ffff80001d382b88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382b88,0,ffff80001d382c70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382c20,ffff80001d382c70) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382cf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc40e0, 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 0xfffffd8065236320, so_type 3, m 0xfffffd805281fc00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219eda4) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065236320,0,ffff80001d382b88,0,0,ffff80001d382a94) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd806521c780,ffff80001d382b88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349008,6,ffff80001d382b88,0,ffff80001d382c70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349008,ffff80001d382c20,ffff80001d382c70) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382cf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc40e0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3828d0 rbx 0xffff80001d382980 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d382890 r9 0x1 r10 0 r11 0x94c9f6d11794526f r12 0x3000000008 r13 0xffff80001d3828e0 r14 0x100 r15 0x1 rip 0xffffffff81a5d788 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3828c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=337694 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d349ea8,0xffff80001d349288 process=0xffff8000ffffaa90 user=0xffff80001d37d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21192 273514 17211 0 2 0 syz-executor.1 21192 211950 17211 0 2 0x4000000 syz-executor.1 85278 207724 53987 0 3 0x80 nanosleep syz-executor.0 85278 337535 53987 0 3 0x4000080 bell syz-executor.0 85278 252260 53987 0 3 0x4000080 fsleep syz-executor.0 87711 352910 0 0 3 0x14200 acct acct 17211 66783 44800 0 3 0x82 nanosleep syz-executor.1 53987 127380 44800 0 3 0x82 nanosleep syz-executor.0 44800 149187 8218 0 3 0x82 thrsleep syz-fuzzer 44800 279611 8218 0 3 0x4000082 thrsleep syz-fuzzer 44800 128289 8218 0 3 0x4000082 thrsleep syz-fuzzer 44800 129646 8218 0 3 0x4000082 thrsleep syz-fuzzer 44800 145600 8218 0 3 0x4000082 kqread syz-fuzzer 44800 9562 8218 0 3 0x4000082 thrsleep syz-fuzzer 44800 31849 8218 0 3 0x4000082 thrsleep syz-fuzzer 8218 206979 80473 0 3 0x10008a pause ksh 80473 131573 89634 0 3 0x92 select sshd 85282 121814 1 0 3 0x100083 ttyin getty 89634 166317 1 0 3 0x80 select sshd 53332 471852 67241 73 3 0x100090 kqread syslogd 67241 251876 1 0 3 0x100082 netio syslogd 45996 222345 1 77 2 0x100010 dhclient *94719 337694 1 0 7 0 dhclient 34630 450945 0 0 2 0x14200 zerothread 79786 94722 0 0 3 0x14200 aiodoned aiodoned 82392 25004 0 0 3 0x14200 syncer update 31725 309578 0 0 3 0x14200 cleaner cleaner 72758 188880 0 0 3 0x14200 reaper reaper 67278 211645 0 0 3 0x14200 pgdaemon pagedaemon 37582 159707 0 0 3 0x14200 bored crynlk 82071 209889 0 0 3 0x14200 bored crypto 92259 343556 0 0 3 0x40014200 acpi0 acpi0 56852 519169 0 0 3 0x14200 bored softnet 39180 397849 0 0 3 0x14200 bored systqmp 32927 14806 0 0 3 0x14200 bored systq 97953 74497 0 0 3 0x40014200 bored softclock 74293 194642 0 0 3 0x40014200 idle0 97853 60618 0 0 3 0x14200 bored smr 1 57759 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 9509 6347K 6994K 78643K 11358 0 pcb 13 8K 8K 78643K 76 0 rtable 115 4K 5K 78643K 387 0 ifaddr 78 15K 15K 78643K 120 0 counters 21 16K 16K 78643K 27 0 ioctlops 0 0K 2K 78643K 31 0 iov 0 0K 18K 78643K 188 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 76K 77K 78643K 1441 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 290 0 sigio 0 0K 0K 78643K 4 0 proc 51 38K 63K 78643K 395 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 29 0 in_multi 49 2K 2K 78643K 102 0 ether_multi 1 0K 0K 78643K 10 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 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 237 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 107 21K 37K 78643K 1568 0 UVM aobj 16 4K 4K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 13 0K 0K 78643K 26 0 temp 121 3014K 3092K 78643K 11632 0 kqueue 3 4K 14K 78643K 29 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 55 0 53 1 0 1 1 0 8 0 rtentry 112 63 0 17 2 0 2 2 0 8 0 unpcb 120 188 0 180 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 325 0 325 1 1 0 1 0 8 0 tcpcb 544 104 0 100 1 0 1 1 0 8 0 ipq 40 3 0 3 2 1 1 1 0 8 1 ipqe 40 6 0 6 2 1 1 1 0 8 1 inpcb 280 630 0 622 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 0 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 7 0 4 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 299 0 87 15 0 15 15 0 8 0 art_table 32 301 0 87 2 0 2 2 0 8 0 art_node 16 62 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 14 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1816 0 418 46 0 46 46 0 8 0 ffsino 240 1816 0 418 83 0 83 83 0 8 0 nchpl 144 2486 0 876 60 0 60 60 0 8 0 uvmvnodes 72 2031 0 0 37 0 37 37 0 8 0 vnodes 208 2031 0 0 107 0 107 107 0 8 0 namei 1024 6561 0 6561 1 0 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 scxspl 192 8015 0 8015 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 432 461 0 447 2 0 2 2 0 8 0 futexpl 56 7401 0 7400 1 0 1 1 0 8 0 knotepl 112 96 0 77 1 0 1 1 0 8 0 kqueuepl 104 54 0 52 1 0 1 1 0 8 0 pipelkpl 16 139 0 129 1 0 1 1 0 8 0 pipepl 120 278 0 259 1 0 1 1 0 8 0 fdescpl 432 462 0 447 2 0 2 2 0 8 0 filepl 120 3255 0 3158 4 0 4 4 0 8 1 lockfpl 104 82 0 81 1 0 1 1 0 8 0 lockfspl 48 31 0 30 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 269 0 262 1 0 1 1 0 8 0 zombiepl 144 447 0 447 1 0 1 1 0 8 1 processpl 896 477 0 447 4 0 4 4 0 8 0 procpl 624 830 0 791 4 0 4 4 0 8 0 sockpl 400 906 0 888 4 0 4 4 0 8 2 mcl64k 65536 38 0 38 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 7 0 7 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 40 0 40 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 2 2 0 1 0 8 0 mcl2k 2048 63881 0 63825 22 14 8 17 0 8 0 mtagpl 80 60 0 4 3 1 2 2 0 8 0 mbufpl 256 103840 0 103600 20 1 19 19 0 8 0 bufpl 280 5305 0 179 367 0 367 367 0 8 0 anonpl 16 62729 0 46229 84 1 83 83 0 107 13 amapchunkpl 152 3132 0 2987 21 2 19 20 0 158 12 amappl16 192 2496 0 1594 54 0 54 54 0 8 8 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 24 0 23 1 0 1 1 0 8 0 amappl12 160 14 0 11 1 0 1 1 0 8 0 amappl11 152 48 0 37 1 0 1 1 0 8 0 amappl10 144 137 0 134 1 0 1 1 0 8 0 amappl9 136 565 0 562 1 0 1 1 0 8 0 amappl8 128 103 0 83 1 0 1 1 0 8 0 amappl7 120 215 0 204 1 0 1 1 0 8 0 amappl6 112 63 0 55 1 0 1 1 0 8 0 amappl5 104 128 0 119 1 0 1 1 0 8 0 amappl4 96 674 0 644 1 0 1 1 0 8 0 amappl3 88 129 0 122 1 0 1 1 0 8 0 amappl2 80 2926 0 2849 3 1 2 3 0 8 0 amappl1 72 17842 0 17392 26 16 10 20 0 8 0 amappl 80 1081 0 1036 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 15 0 0 1 0 1 1 0 8 0 uaddrrnd 24 464 0 449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 464 0 449 1 0 1 1 0 8 0 vmmpekpl 168 7010 0 6988 2 0 2 2 0 8 0 vmmpepl 168 61709 0 59601 116 17 99 109 0 357 7 vmsppl 272 463 0 449 2 1 1 2 0 8 0 pdppl 4096 934 0 898 6 1 5 6 0 8 0 pvpl 32 187602 0 168060 195 0 195 195 0 265 36 pmappl 200 463 0 449 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 22 5 0 5 5 0 8 0