panic: receive 3: so 0xfffffd805e5724b0, so_type 3, m 0xfffffd8057a25600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *419271 58102 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af82d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5724b0,0,ffff80001d3722d8,0,0,ffff80001d3721e4) at soreceive+0x16e7 soo_read(fffffd8064802690,ffff80001d3722d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3722d8,0,ffff80001d3723c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372370,ffff80001d3723c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372440) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffa4d0, 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 0xfffffd805e5724b0, so_type 3, m 0xfffffd8057a25600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821af82d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5724b0,0,ffff80001d3722d8,0,0,ffff80001d3721e4) at soreceive+0x16e7 soo_read(fffffd8064802690,ffff80001d3722d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3722d8,0,ffff80001d3723c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372370,ffff80001d3723c0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372440) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffa4d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372020 rbx 0xffff80001d3720d0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371fe0 r9 0x1 r10 0 r11 0xd3cb7aa04642a751 r12 0x3000000008 r13 0xffff80001d372030 r14 0x100 r15 0x1 rip 0xffffffff8176b428 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372010 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=419271 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d3399d8 process=0xffff8000ffffae10 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 59291 516736 56397 0 2 0 syz-executor.0 59291 186506 56397 0 2 0x4000000 syz-executor.0 56397 280582 53203 0 2 0x482 syz-executor.0 64205 316405 53203 0 2 0x2 syz-executor.1 53203 74194 86601 0 3 0x82 thrsleep syz-fuzzer 53203 289954 86601 0 3 0x4000082 nanosleep syz-fuzzer 53203 392822 86601 0 3 0x4000082 thrsleep syz-fuzzer 53203 442028 86601 0 3 0x4000082 thrsleep syz-fuzzer 53203 479057 86601 0 3 0x4000082 thrsleep syz-fuzzer 53203 271620 86601 0 3 0x4000082 thrsleep syz-fuzzer 53203 76793 86601 0 3 0x4000082 thrsleep syz-fuzzer 53203 388606 86601 0 3 0x4000082 kqread syz-fuzzer 86601 220373 15602 0 3 0x10008a pause ksh 15602 353576 75941 0 3 0x92 select sshd 41626 89612 1 0 3 0x100083 ttyin getty 75941 55454 1 0 3 0x80 select sshd 22581 354666 6823 73 3 0x100090 kqread syslogd 6823 451755 1 0 3 0x100082 netio syslogd 80812 73133 1 77 2 0x100010 dhclient *58102 419271 1 0 7 0 dhclient 44864 118284 0 0 3 0x14200 bored smr 5040 334485 0 0 2 0x14200 zerothread 49482 472535 0 0 3 0x14200 aiodoned aiodoned 40131 237337 0 0 3 0x14200 syncer update 68991 471576 0 0 3 0x14200 cleaner cleaner 91705 139600 0 0 3 0x14200 reaper reaper 59319 181283 0 0 3 0x14200 pgdaemon pagedaemon 19150 392368 0 0 3 0x14200 bored crynlk 63644 244087 0 0 3 0x14200 bored crypto 94458 20227 0 0 3 0x40014200 acpi0 acpi0 21013 250103 0 0 3 0x14200 bored softnet 68051 112330 0 0 3 0x14200 bored systqmp 71298 35179 0 0 3 0x14200 bored systq 31685 315701 0 0 3 0x40014200 bored softclock 7995 333496 0 0 3 0x40014200 idle0 1 190751 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 9460 6461K 6477K 78643K 10599 0 pcb 13 8K 8K 78643K 23 0 rtable 103 3K 3K 78643K 199 0 ifaddr 39 10K 10K 78643K 43 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 39 0 iov 0 0K 12K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1236 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 64 0 proc 50 38K 54K 78643K 361 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 2 0 in_multi 33 2K 2K 78643K 36 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 185 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 97 21K 21K 78643K 966 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2 0 NDP 5 0K 0K 78643K 9 0 temp 78 3011K 3075K 78643K 2367 0 kqueue 3 4K 4K 78643K 3 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 6 0 1 1 0 1 1 0 8 0 rtpcb 80 26 0 23 1 0 1 1 0 8 0 rtentry 112 47 0 4 2 0 2 2 0 8 0 unpcb 120 35 0 27 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpqe 32 52 0 52 1 0 1 1 0 8 1 tcpcb 544 38 0 33 1 0 1 1 0 8 0 inpcb 280 84 0 76 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 195 0 2 13 0 13 13 0 8 0 art_table 32 196 0 2 2 0 2 2 0 8 0 art_node 16 46 0 7 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1455 0 54 46 0 46 46 0 8 0 ffsino 240 1455 0 54 83 0 83 83 0 8 0 nchpl 144 1729 0 122 60 0 60 60 0 8 0 uvmvnodes 72 1510 0 0 28 0 28 28 0 8 0 vnodes 208 1510 0 0 80 0 80 80 0 8 0 namei 1024 4231 0 4231 1 0 1 1 0 8 1 scxspl 192 5109 0 5109 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 424 250 0 222 4 0 4 4 0 8 0 futexpl 56 979 0 979 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 16 75 0 65 1 0 1 1 0 8 0 pipepl 120 150 0 131 1 0 1 1 0 8 0 fdescpl 432 236 0 222 2 0 2 2 0 8 0 filepl 120 1250 0 1150 4 0 4 4 0 8 0 lockfpl 104 20 0 18 1 0 1 1 0 8 0 lockfspl 48 10 0 8 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 94 0 87 1 0 1 1 0 8 0 zombiepl 144 222 0 222 1 0 1 1 0 8 1 processpl 896 250 0 222 4 0 4 4 0 8 0 procpl 624 293 0 257 4 0 4 4 0 8 1 sockpl 400 147 0 128 4 0 4 4 0 8 1 mcl64k 65536 15 0 15 2 0 2 2 0 8 2 mcl4k 4096 17 0 17 2 1 1 1 0 8 1 mcl2k 2048 61456 0 61415 14 1 13 13 0 8 7 mtagpl 80 5 0 2 2 1 1 1 0 8 0 mbufpl 256 97637 0 97501 13 1 12 12 0 8 0 bufpl 280 4017 0 161 276 0 276 276 0 8 0 anonpl 16 37707 0 22489 63 1 62 62 0 107 0 amapchunkpl 152 1030 0 900 8 0 8 8 0 158 2 amappl16 192 1076 0 238 43 0 43 43 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 3 0 1 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 35 0 32 2 1 1 1 0 8 0 amappl11 152 67 0 54 1 0 1 1 0 8 0 amappl10 144 14 0 9 1 0 1 1 0 8 0 amappl9 136 383 0 380 1 0 1 1 0 8 0 amappl8 128 266 0 250 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 183 0 168 1 0 1 1 0 8 0 amappl4 96 434 0 404 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1103 0 1038 3 0 3 3 0 8 1 amappl1 72 13950 0 13535 27 11 16 20 0 8 7 amappl 80 518 0 477 1 0 1 1 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 236 0 222 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 236 0 222 1 0 1 1 0 8 0 vmmpekpl 168 5740 0 5716 2 0 2 2 0 8 0 vmmpepl 168 35689 0 33788 115 7 108 108 0 357 25 vmsppl 272 235 0 222 2 0 2 2 0 8 1 pdppl 4096 478 0 444 6 0 6 6 0 8 1 pvpl 32 129951 0 111783 156 0 156 156 0 265 6 pmappl 200 235 0 222 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 151 0 5 5 0 5 5 0 8 0