panic: receive 1a: so 0xfffffd806623f640, so_type 3, m 0xfffffd805aa2ce00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *363666 79692 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8533) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806623f640,0,ffff80001d3728c8,0,0,ffff80001d3727d4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb123c0,ffff80001d3728c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3728c8,0,ffff80001d3729b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372960,ffff80001d3729b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9970, 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 0xfffffd806623f640, so_type 3, m 0xfffffd805aa2ce00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b8533) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806623f640,0,ffff80001d3728c8,0,0,ffff80001d3727d4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb123c0,ffff80001d3728c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3728c8,0,ffff80001d3729b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372960,ffff80001d3729b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9970, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372610 rbx 0xffff80001d3726c0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3725d0 r9 0x1 r10 0 r11 0x926f943926df6fc7 r12 0x3000000008 r13 0xffff80001d372620 r14 0x100 r15 0x1 rip 0xffffffff82195b58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372600 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=363666 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d339c48 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 31255 237472 94478 0 2 0 syz-executor.1 31255 300690 94478 0 3 0x4000080 ttyopn syz-executor.1 94478 369073 92232 0 3 0x82 nanosleep syz-executor.1 75524 63596 0 0 3 0x14200 bored sosplice 92232 216013 33658 0 3 0x82 thrsleep syz-fuzzer 92232 83793 33658 0 3 0x4000082 thrsleep syz-fuzzer 92232 252698 33658 0 3 0x4000082 thrsleep syz-fuzzer 92232 368862 33658 0 3 0x4000082 thrsleep syz-fuzzer 92232 349844 33658 0 3 0x4000082 thrsleep syz-fuzzer 92232 163472 33658 0 3 0x4000082 kqread syz-fuzzer 92232 247892 33658 0 3 0x4000082 thrsleep syz-fuzzer 92232 199497 33658 0 3 0x4000082 thrsleep syz-fuzzer 33658 414434 93171 0 3 0x10008a pause ksh 93171 56832 29965 0 3 0x92 select sshd 27178 353422 1 0 3 0x100083 ttyin getty 29965 366754 1 0 3 0x80 select sshd 91821 452864 72078 73 3 0x100090 kqread syslogd 72078 205223 1 0 3 0x100082 netio syslogd 21239 198706 1 77 2 0x100010 dhclient *79692 363666 1 0 7 0 dhclient 65268 425916 0 0 3 0x14200 bored smr 16861 266438 0 0 2 0x14200 zerothread 62544 287044 0 0 3 0x14200 aiodoned aiodoned 28662 188089 0 0 3 0x14200 syncer update 37295 288782 0 0 3 0x14200 cleaner cleaner 78094 21874 0 0 3 0x14200 reaper reaper 34828 299519 0 0 3 0x14200 pgdaemon pagedaemon 42140 160293 0 0 3 0x14200 bored crynlk 60283 459218 0 0 3 0x14200 bored crypto 67361 473674 0 0 3 0x40014200 acpi0 acpi0 89869 430189 0 0 2 0x14200 softnet 4258 308020 0 0 2 0x14200 systqmp 98131 367535 0 0 3 0x14200 bored systq 49720 313170 0 0 3 0x40014200 bored softclock 99887 165316 0 0 3 0x40014200 idle0 1 103754 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 9514 6351K 6861K 78643K 11693 0 pcb 13 8K 8K 78643K 115 0 rtable 94 7K 8K 78643K 495 0 ifaddr 70 13K 14K 78643K 157 0 counters 20 16K 17K 78643K 32 0 ioctlops 0 0K 2K 78643K 49 0 iov 0 0K 12K 78643K 94 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1596 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 0K 1K 78643K 118 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 487 0 sigio 0 0K 0K 78643K 8 0 proc 50 38K 63K 78643K 454 0 subproc 23 1K 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 71 0 in_multi 43 2K 3K 78643K 150 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 14 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 270 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 109 54K 56K 78643K 2047 0 UVM aobj 12 2K 3K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 91 0 NDP 13 0K 0K 78643K 38 0 temp 133 3018K 3082K 78643K 10699 0 kqueue 3 4K 14K 78643K 57 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 11 1 0 1 1 0 8 0 rtpcb 80 70 0 68 1 0 1 1 0 8 0 rtentry 112 109 0 75 2 0 2 2 0 8 0 unpcb 120 501 0 493 1 0 1 1 0 8 0 syncache 264 17 0 17 2 2 0 1 0 8 0 tcpqe 32 360 0 360 2 2 0 1 0 8 0 tcpcb 544 199 0 195 1 0 1 1 0 8 0 ipq 40 6 0 6 3 2 1 1 0 8 1 ipqe 40 268 0 268 3 2 1 1 0 8 1 inpcb 280 1969 0 1961 3 1 2 3 0 8 1 rttmr 72 6 0 6 1 1 0 1 0 8 0 nd6 48 17 0 14 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 465 0 281 16 4 12 13 0 8 0 art_table 32 467 0 281 2 0 2 2 0 8 0 art_node 16 108 0 69 1 0 1 1 0 8 0 sysvmsgpl 40 92 0 57 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 116 0 106 1 0 1 1 0 8 0 shmpl 112 20 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2071 0 677 46 0 46 46 0 8 0 ffsino 240 2071 0 677 83 0 83 83 0 8 0 nchpl 144 2966 0 1375 60 0 60 60 0 8 0 uvmvnodes 72 2397 0 0 44 0 44 44 0 8 0 vnodes 208 2397 0 0 127 0 127 127 0 8 0 namei 1024 8221 0 8221 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 0 1 0 1 1 0 8 0 scxspl 192 9364 0 9364 1 0 1 1 0 8 1 plimitpl 152 49 0 42 1 0 1 1 0 8 0 sigapl 424 668 0 639 4 0 4 4 0 8 0 futexpl 56 14309 0 14309 1 0 1 1 0 8 1 knotepl 112 132 0 115 1 0 1 1 0 8 0 kqueuepl 144 141 0 139 1 0 1 1 0 8 0 pipelkpl 16 217 0 208 1 0 1 1 0 8 0 pipepl 120 434 0 417 2 1 1 2 0 8 0 fdescpl 432 653 0 639 2 0 2 2 0 8 0 filepl 120 5798 0 5711 5 1 4 5 0 8 1 lockfpl 104 114 0 113 1 0 1 1 0 8 0 lockfspl 48 43 0 42 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 446 0 439 1 0 1 1 0 8 0 zombiepl 144 640 0 639 1 0 1 1 0 8 0 processpl 896 668 0 639 4 0 4 4 0 8 0 procpl 624 1257 0 1220 4 0 4 4 0 8 1 sosppl 128 12 0 12 2 2 0 1 0 8 0 sockpl 400 2582 0 2564 6 2 4 5 0 8 2 mcl64k 65536 87 0 87 1 0 1 1 0 8 1 mcl16k 16384 9 0 9 2 2 0 1 0 8 0 mcl12k 12288 15 0 15 2 1 1 1 0 8 1 mcl9k 9216 13 0 13 1 0 1 1 0 8 1 mcl8k 8192 20 0 20 1 1 0 1 0 8 0 mcl4k 4096 64 0 64 2 1 1 1 0 8 1 mcl2k2 2112 7 0 7 2 1 1 1 0 8 1 mcl2k 2048 63714 0 63659 19 11 8 17 0 8 0 mtagpl 80 43 0 43 2 1 1 1 0 8 1 mbufpl 256 108566 0 108436 53 35 18 34 0 8 6 bufpl 280 5358 0 166 371 0 371 371 0 8 0 anonpl 16 74503 0 61748 80 6 74 74 0 107 7 amapchunkpl 152 3443 0 3308 17 5 12 13 0 158 6 amappl16 192 2933 0 2043 47 1 46 46 0 8 0 amappl15 184 97 0 94 1 0 1 1 0 8 0 amappl14 176 117 0 116 2 1 1 1 0 8 0 amappl13 168 35 0 34 1 0 1 1 0 8 0 amappl12 160 18 0 17 1 0 1 1 0 8 0 amappl11 152 278 0 266 1 0 1 1 0 8 0 amappl10 144 17 0 11 1 0 1 1 0 8 0 amappl9 136 390 0 384 1 0 1 1 0 8 0 amappl8 128 336 0 309 1 0 1 1 0 8 0 amappl7 120 121 0 109 1 0 1 1 0 8 0 amappl6 112 234 0 229 2 1 1 1 0 8 0 amappl5 104 577 0 566 1 0 1 1 0 8 0 amappl4 96 471 0 439 1 0 1 1 0 8 0 amappl3 88 149 0 143 1 0 1 1 0 8 0 amappl2 80 4383 0 4319 3 1 2 3 0 8 0 amappl1 72 21447 0 21045 27 18 9 20 0 8 0 amappl 80 1523 0 1478 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 21 0 10 1 0 1 1 0 8 0 uaddrrnd 24 656 0 639 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 656 0 639 1 0 1 1 0 8 0 vmmpekpl 168 8263 0 8235 2 0 2 2 0 8 0 vmmpepl 168 84165 0 82216 148 29 119 119 0 357 32 vmsppl 272 655 0 639 3 1 2 2 0 8 0 pdppl 4096 1318 0 1281 7 2 5 6 0 8 0 pvpl 32 232692 0 216947 189 13 176 176 0 265 18 pmappl 200 655 0 639 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 206 0 61 5 0 5 5 0 8 0