panic: receive 3: so 0xfffffd805ed04190, so_type 3, m 0xfffffd805b9f2300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *422119 8796 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821aafc7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805ed04190,0,ffff80001d372548,0,0,ffff80001d372454) at soreceive+0x16e7 soo_read(fffffd805edf2438,ffff80001d372548,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372548,0,ffff80001d372630) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d3725e0,ffff80001d372630) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3726b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff05f0, 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 0xfffffd805ed04190, so_type 3, m 0xfffffd805b9f2300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821aafc7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805ed04190,0,ffff80001d372548,0,0,ffff80001d372454) at soreceive+0x16e7 soo_read(fffffd805edf2438,ffff80001d372548,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372548,0,ffff80001d372630) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d3725e0,ffff80001d372630) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3726b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff05f0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372290 rbx 0xffff80001d372340 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372250 r9 0x1 r10 0 r11 0x1497d1e070bda4f2 r12 0x3000000008 r13 0xffff80001d3722a0 r14 0x100 r15 0x1 rip 0xffffffff8198e138 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372280 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=422119 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339018 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71596 31506 32214 0 2 0 syz-executor.0 71596 342517 32214 0 2 0x4000000 syz-executor.0 39538 402252 8632 0 2 0x2 syz-executor.1 32214 462737 8632 0 2 0x482 syz-executor.0 8632 279923 50445 0 3 0x82 thrsleep syz-fuzzer 8632 169936 50445 0 2 0x4000482 syz-fuzzer 8632 365399 50445 0 3 0x4000082 thrsleep syz-fuzzer 8632 246351 50445 0 3 0x4000082 thrsleep syz-fuzzer 8632 18372 50445 0 3 0x4000082 kqread syz-fuzzer 8632 67987 50445 0 2 0x4000482 syz-fuzzer 8632 376935 50445 0 3 0x4000082 thrsleep syz-fuzzer 50445 310351 94273 0 3 0x10008a pause ksh 94273 394162 66488 0 3 0x92 select sshd 68271 371714 1 0 3 0x100083 ttyin getty 66488 309675 1 0 3 0x80 select sshd 47929 306829 35960 73 3 0x100090 kqread syslogd 35960 167675 1 0 3 0x100082 netio syslogd 38589 42093 1 77 2 0x100010 dhclient * 8796 422119 1 0 7 0 dhclient 70630 137041 0 0 2 0x14200 zerothread 69323 462077 0 0 3 0x14200 aiodoned aiodoned 97690 81675 0 0 3 0x14200 syncer update 40576 421691 0 0 3 0x14200 cleaner cleaner 37552 353853 0 0 3 0x14200 reaper reaper 75257 7059 0 0 3 0x14200 pgdaemon pagedaemon 76968 437498 0 0 3 0x14200 bored crynlk 27134 137242 0 0 3 0x14200 bored crypto 13826 312483 0 0 3 0x40014200 acpi0 acpi0 35692 44383 0 0 3 0x14200 bored softnet 90090 388948 0 0 3 0x14200 bored systqmp 69164 458803 0 0 3 0x14200 bored systq 41937 212782 0 0 3 0x40014200 bored softclock 32548 235708 0 0 3 0x40014200 idle0 45925 232114 0 0 3 0x14200 bored smr 1 365185 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 9513 6849K 6849K 78643K 10756 0 pcb 13 8K 8K 78643K 51 0 rtable 105 3K 4K 78643K 216 0 ifaddr 52 11K 11K 78643K 59 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 12K 78643K 10 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1274 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 11 0K 0K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 97 0 sigio 0 0K 0K 78643K 6 0 proc 49 38K 63K 78643K 360 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 7 0 in_multi 33 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 4 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 181 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 102 21K 22K 78643K 1051 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 26 0 NDP 8 0K 0K 78643K 13 0 temp 75 3008K 3072K 78643K 2601 0 kqueue 3 4K 8K 78643K 15 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 0 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 67 0 59 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 10 0 10 1 1 0 1 0 8 0 tcpcb 544 142 0 138 3 0 3 3 0 8 2 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 90 0 90 1 0 1 1 0 8 1 inpcb 280 238 0 231 4 0 4 4 0 8 3 rttmr 72 2 0 2 1 0 1 1 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 28 0 19 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1510 0 111 46 0 46 46 0 8 0 ffsino 240 1510 0 111 83 0 83 83 0 8 0 nchpl 144 1837 0 223 60 0 60 60 0 8 0 uvmvnodes 72 1593 0 0 29 0 29 29 0 8 0 vnodes 208 1593 0 0 84 0 84 84 0 8 0 namei 1024 4487 0 4487 1 0 1 1 0 8 1 scxspl 192 5298 0 5298 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 283 0 255 4 0 4 4 0 8 0 futexpl 56 1880 0 1880 1 0 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 26 0 24 1 0 1 1 0 8 0 pipelkpl 16 79 0 69 1 0 1 1 0 8 0 pipepl 120 158 0 139 1 0 1 1 0 8 0 fdescpl 432 269 0 255 2 0 2 2 0 8 0 filepl 120 1600 0 1504 5 0 5 5 0 8 2 lockfpl 104 21 0 20 1 0 1 1 0 8 0 lockfspl 48 8 0 7 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 81 0 74 1 0 1 1 0 8 0 zombiepl 144 255 0 255 1 0 1 1 0 8 1 processpl 896 283 0 255 4 0 4 4 0 8 0 procpl 624 364 0 329 4 0 4 4 0 8 1 sockpl 400 336 0 319 7 0 7 7 0 8 5 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 19 0 19 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 64870 0 64826 16 3 13 14 0 8 6 mtagpl 80 20 0 2 2 1 1 1 0 8 0 mbufpl 256 103321 0 103189 17 2 15 16 0 8 6 bufpl 280 4053 0 157 279 0 279 279 0 8 0 anonpl 16 46501 0 30205 85 2 83 83 0 107 17 amapchunkpl 152 1403 0 1259 10 0 10 10 0 158 2 amappl16 192 1470 0 586 53 0 53 53 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 54 0 51 1 0 1 1 0 8 0 amappl12 160 9 0 6 1 0 1 1 0 8 0 amappl11 152 96 0 83 1 0 1 1 0 8 0 amappl10 144 26 0 19 1 0 1 1 0 8 0 amappl9 136 379 0 376 1 0 1 1 0 8 0 amappl8 128 278 0 258 1 0 1 1 0 8 0 amappl7 120 107 0 96 1 0 1 1 0 8 0 amappl6 112 59 0 53 1 0 1 1 0 8 0 amappl5 104 169 0 157 1 0 1 1 0 8 0 amappl4 96 497 0 465 1 0 1 1 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 1328 0 1263 3 1 2 3 0 8 0 amappl1 72 14461 0 14050 26 13 13 20 0 8 4 amappl 80 599 0 555 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 269 0 255 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 269 0 255 1 0 1 1 0 8 0 vmmpekpl 168 5921 0 5896 2 0 2 2 0 8 0 vmmpepl 168 39622 0 37678 154 6 148 148 0 357 63 vmsppl 272 268 0 255 2 0 2 2 0 8 1 pdppl 4096 544 0 510 6 0 6 6 0 8 1 pvpl 32 144276 0 125025 198 0 198 198 0 265 42 pmappl 200 268 0 255 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 161 0 8 5 0 5 5 0 8 0