panic: receive 3: so 0xfffffd805e562640, so_type 3, m 0xfffffd80570d6700, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *103391 54268 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e562640,0,ffff80001d372c18,0,0,ffff80001d372b24) at soreceive+0x16e7 soo_read(fffffd8065b014b0,ffff80001d372c18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372c18,0,ffff80001d372d00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372cb0,ffff80001d372d00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372d80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed3b0, 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 0xfffffd805e562640, so_type 3, m 0xfffffd80570d6700, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e562640,0,ffff80001d372c18,0,0,ffff80001d372b24) at soreceive+0x16e7 soo_read(fffffd8065b014b0,ffff80001d372c18,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372c18,0,ffff80001d372d00) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372cb0,ffff80001d372d00) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372d80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffed3b0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372960 rbx 0xffff80001d372a10 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372920 r9 0x1 r10 0 r11 0xa9ee17df31c96efb r12 0x3000000008 r13 0xffff80001d372970 r14 0x100 r15 0x1 rip 0xffffffff81bf3908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372950 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=103391 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d3399d8 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc09660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80825 262960 49698 0 2 0 syz-executor.0 80825 336517 49698 0 2 0x4000000 syz-executor.0 91332 83881 81646 0 3 0x80 nanosleep syz-executor.1 91332 424091 81646 0 3 0x4000080 poll syz-executor.1 91332 100950 81646 0 3 0x4000080 fsleep syz-executor.1 81646 418959 63521 0 3 0x82 nanosleep syz-executor.1 49698 284495 63521 0 3 0x82 nanosleep syz-executor.0 43997 332248 0 0 3 0x14200 bored sosplice 63521 272194 95831 0 3 0x82 thrsleep syz-fuzzer 63521 185957 95831 0 3 0x4000082 thrsleep syz-fuzzer 63521 510670 95831 0 3 0x4000082 kqread syz-fuzzer 63521 142580 95831 0 3 0x4000082 thrsleep syz-fuzzer 63521 318662 95831 0 3 0x4000082 thrsleep syz-fuzzer 63521 224001 95831 0 3 0x4000082 thrsleep syz-fuzzer 63521 27144 95831 0 3 0x4000082 thrsleep syz-fuzzer 63521 407727 95831 0 3 0x4000082 thrsleep syz-fuzzer 95831 318679 91484 0 3 0x10008a pause ksh 91484 371924 39821 0 3 0x92 select sshd 87800 468902 1 0 3 0x100083 ttyin getty 39821 82494 1 0 3 0x80 select sshd 78928 361139 55160 73 3 0x100090 kqread syslogd 55160 292089 1 0 3 0x100082 netio syslogd 19954 264513 1 77 2 0x100010 dhclient *54268 103391 1 0 7 0 dhclient 81687 216338 0 0 3 0x14200 bored smr 64759 343818 0 0 2 0x14200 zerothread 82151 329468 0 0 3 0x14200 aiodoned aiodoned 31918 179975 0 0 3 0x14200 syncer update 90330 305609 0 0 3 0x14200 cleaner cleaner 11176 12104 0 0 3 0x14200 reaper reaper 52659 228210 0 0 3 0x14200 pgdaemon pagedaemon 23144 520743 0 0 3 0x14200 bored crynlk 68438 64542 0 0 3 0x14200 bored crypto 16540 190068 0 0 3 0x40014200 acpi0 acpi0 28406 247710 0 0 3 0x14200 bored softnet 83127 313737 0 0 2 0x14200 systqmp 49936 140300 0 0 3 0x14200 bored systq 42990 256333 0 0 3 0x40014200 bored softclock 7373 410758 0 0 3 0x40014200 idle0 1 244097 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 9480 6335K 6788K 78643K 10899 0 pcb 13 8K 8K 78643K 53 0 rtable 102 3K 3K 78643K 332 0 ifaddr 57 12K 12K 78643K 93 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 23 0 iov 0 0K 32K 78643K 21 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1351 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 40 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 186 0 sigio 0 0K 0K 78643K 6 0 proc 51 38K 55K 78643K 464 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 30 0 in_multi 45 2K 3K 78643K 94 0 ether_multi 1 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 215 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 111 38K 40K 78643K 1317 0 UVM aobj 11 4K 4K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 1K 78643K 91 0 NDP 9 0K 0K 78643K 22 0 temp 107 3015K 3093K 78643K 10084 0 kqueue 3 4K 8K 78643K 18 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 12 0 6 1 0 1 1 0 8 0 rtpcb 80 48 0 45 1 0 1 1 0 8 0 rtentry 112 74 0 33 2 0 2 2 0 8 0 unpcb 120 261 0 253 2 1 1 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 80 0 80 1 1 0 1 0 8 0 tcpcb 544 140 0 136 2 1 1 2 0 8 0 ipq 40 10 0 10 2 1 1 1 0 8 1 ipqe 40 364 0 364 2 1 1 1 0 8 1 inpcb 280 396 0 383 3 1 2 2 0 8 1 nd6 48 14 0 10 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 297 0 111 13 0 13 13 0 8 0 art_table 32 299 0 111 2 0 2 2 0 8 0 art_node 16 73 0 32 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 38 0 28 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1609 0 209 46 0 46 46 0 8 0 ffsino 240 1609 0 209 83 0 83 83 0 8 0 nchpl 144 2014 0 416 60 0 60 60 0 8 0 uvmvnodes 72 1756 0 0 32 0 32 32 0 8 0 vnodes 208 1756 0 0 93 0 93 93 0 8 0 namei 1024 5308 0 5308 2 1 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 10232 0 10232 1 0 1 1 0 8 1 plimitpl 152 24 0 17 1 0 1 1 0 8 0 sigapl 424 367 0 337 4 0 4 4 0 8 0 futexpl 56 3780 0 3779 2 1 1 1 0 8 0 knotepl 112 98 0 79 1 0 1 1 0 8 0 kqueuepl 144 30 0 28 1 0 1 1 0 8 0 pipelkpl 16 121 0 111 1 0 1 1 0 8 0 pipepl 120 242 0 223 1 0 1 1 0 8 0 fdescpl 432 352 0 337 2 0 2 2 0 8 0 filepl 120 2370 0 2266 6 2 4 5 0 8 0 lockfpl 104 56 0 55 1 0 1 1 0 8 0 lockfspl 48 14 0 13 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 159 0 152 1 0 1 1 0 8 0 zombiepl 144 337 0 337 1 0 1 1 0 8 1 processpl 896 367 0 337 4 0 4 4 0 8 0 procpl 624 525 0 485 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 705 0 681 9 5 4 7 0 8 1 mcl64k 65536 27 0 27 2 1 1 1 0 8 1 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 30 0 30 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 64395 0 64356 19 13 6 17 0 8 0 mtagpl 80 12 0 6 2 1 1 1 0 8 0 mbufpl 256 104792 0 104627 27 11 16 17 0 8 4 bufpl 280 5541 0 161 385 0 385 385 0 8 0 anonpl 16 59477 0 44080 85 1 84 84 0 107 16 amapchunkpl 152 2183 0 2042 16 0 16 16 0 158 9 amappl16 192 1839 0 929 58 4 54 58 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 5 0 3 2 1 1 1 0 8 0 amappl13 168 35 0 34 1 0 1 1 0 8 0 amappl12 160 104 0 98 1 0 1 1 0 8 0 amappl11 152 131 0 117 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 381 0 378 1 0 1 1 0 8 0 amappl8 128 317 0 297 1 0 1 1 0 8 0 amappl7 120 117 0 106 1 0 1 1 0 8 0 amappl6 112 60 0 56 1 0 1 1 0 8 0 amappl5 104 353 0 339 1 0 1 1 0 8 0 amappl4 96 464 0 434 1 0 1 1 0 8 0 amappl3 88 118 0 112 1 0 1 1 0 8 0 amappl2 80 1840 0 1770 3 1 2 3 0 8 0 amappl1 72 16155 0 15719 27 18 9 20 0 8 0 amappl 80 808 0 762 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 353 0 337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 353 0 337 1 0 1 1 0 8 0 vmmpekpl 168 6475 0 6446 2 0 2 2 0 8 0 vmmpepl 168 50828 0 48741 157 27 130 151 0 357 39 vmsppl 272 352 0 337 2 0 2 2 0 8 0 pdppl 4096 712 0 675 6 1 5 6 0 8 0 pvpl 32 209394 0 190352 304 18 286 304 0 265 123 pmappl 200 352 0 337 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 181 0 38 5 0 5 5 0 8 0