panic: receive 3: so 0xfffffd8064569320, so_type 3, m 0xfffffd805c89fa00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *217459 59191 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abe2f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064569320,0,ffff80001d372638,0,0,ffff80001d372544) at soreceive+0x16e7 soo_read(fffffd805eb12690,ffff80001d372638,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372638,0,ffff80001d372720) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d3726d0,ffff80001d372720) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3727a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9220, 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 0xfffffd8064569320, so_type 3, m 0xfffffd805c89fa00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abe2f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064569320,0,ffff80001d372638,0,0,ffff80001d372544) at soreceive+0x16e7 soo_read(fffffd805eb12690,ffff80001d372638,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d372638,0,ffff80001d372720) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d3726d0,ffff80001d372720) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3727a0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9220, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372380 rbx 0xffff80001d372430 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372340 r9 0x1 r10 0 r11 0x37d758570ba14644 r12 0x3000000008 r13 0xffff80001d372390 r14 0x100 r15 0x1 rip 0xffffffff819e0b28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372370 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=217459 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d339c48 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 7216 73003 38257 0 2 0 syz-executor.0 7216 36487 38257 0 2 0x4000000 syz-executor.0 70068 339457 25631 0 2 0 syz-executor.1 97862 400966 0 0 3 0x14200 bored sosplice 38257 241464 9953 0 3 0x82 nanosleep syz-executor.0 25631 125866 9953 0 3 0x82 nanosleep syz-executor.1 9953 255719 40459 0 3 0x82 thrsleep syz-fuzzer 9953 281943 40459 0 3 0x4000082 thrsleep syz-fuzzer 9953 492124 40459 0 3 0x4000082 kqread syz-fuzzer 9953 388396 40459 0 3 0x4000082 thrsleep syz-fuzzer 9953 202296 40459 0 3 0x4000082 thrsleep syz-fuzzer 9953 396061 40459 0 3 0x4000082 thrsleep syz-fuzzer 9953 236439 40459 0 3 0x4000082 thrsleep syz-fuzzer 9953 197596 40459 0 3 0x4000082 thrsleep syz-fuzzer 40459 36757 39387 0 3 0x10008a pause ksh 39387 228901 16010 0 3 0x92 select sshd 12796 439631 1 0 3 0x100083 ttyin getty 16010 223493 1 0 3 0x80 select sshd 18553 165834 59784 73 3 0x100090 kqread syslogd 59784 199940 1 0 3 0x100082 netio syslogd 24249 283504 1 77 2 0x100010 dhclient *59191 217459 1 0 7 0 dhclient 54293 91958 0 0 2 0x14200 zerothread 21729 134423 0 0 3 0x14200 aiodoned aiodoned 92373 345785 0 0 3 0x14200 syncer update 5819 308560 0 0 3 0x14200 cleaner cleaner 24416 183849 0 0 3 0x14200 reaper reaper 59690 461934 0 0 3 0x14200 pgdaemon pagedaemon 70325 516582 0 0 3 0x14200 bored crynlk 15416 240260 0 0 3 0x14200 bored crypto 61422 326758 0 0 3 0x40014200 acpi0 acpi0 12316 484348 0 0 3 0x14200 bored softnet 91446 522418 0 0 3 0x14200 bored systqmp 652 158532 0 0 3 0x14200 bored systq 429 417993 0 0 3 0x40014200 bored softclock 68201 286312 0 0 3 0x40014200 idle0 3813 50989 0 0 3 0x14200 bored smr 1 9731 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 9461 6327K 6711K 78643K 10615 0 pcb 13 8K 8K 78643K 21 0 rtable 107 3K 3K 78643K 195 0 ifaddr 48 11K 11K 78643K 54 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 19 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1241 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 12 0K 0K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 71 0 sigio 0 0K 0K 78643K 2 0 proc 47 38K 63K 78643K 373 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 46 2K 2K 78643K 46 0 ether_multi 1 0K 0K 78643K 1 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 183 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 105 38K 38K 78643K 1014 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 5 0 NDP 6 0K 0K 78643K 10 0 temp 72 3009K 3073K 78643K 1908 0 kqueue 3 4K 8K 78643K 8 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 21 0 19 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 39 0 31 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 75 0 75 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 280 98 0 91 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 194 0 0 13 0 13 13 0 8 0 art_table 32 196 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1474 0 75 46 0 46 46 0 8 0 ffsino 240 1474 0 75 83 0 83 83 0 8 0 nchpl 144 1762 0 150 61 0 61 61 0 8 1 uvmvnodes 72 1530 0 0 28 0 28 28 0 8 0 vnodes 208 1530 0 0 81 0 81 81 0 8 0 namei 1024 4424 0 4424 1 0 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 5432 0 5432 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 432 242 0 228 2 0 2 2 0 8 0 futexpl 56 1167 0 1167 1 0 1 1 0 8 1 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 144 10 0 8 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 243 0 228 2 0 2 2 0 8 0 filepl 120 1387 0 1291 4 0 4 4 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 5 0 4 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 180 0 173 1 0 1 1 0 8 0 zombiepl 144 228 0 228 1 0 1 1 0 8 1 processpl 896 258 0 228 4 0 4 4 0 8 0 procpl 624 316 0 278 4 0 4 4 0 8 1 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 400 158 0 141 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k 2048 61568 0 61522 15 2 13 13 0 8 6 mtagpl 80 6 0 2 2 1 1 1 0 8 0 mbufpl 256 97776 0 97606 12 1 11 11 0 8 0 bufpl 280 4141 0 163 285 0 285 285 0 8 0 anonpl 16 41411 0 24784 69 1 68 68 0 107 0 amapchunkpl 152 1340 0 1201 8 0 8 8 0 158 2 amappl16 192 1198 0 282 47 0 47 47 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 18 0 14 2 1 1 1 0 8 0 amappl13 168 31 0 29 1 0 1 1 0 8 0 amappl12 160 7 0 6 1 0 1 1 0 8 0 amappl11 152 59 0 47 1 0 1 1 0 8 0 amappl10 144 38 0 32 1 0 1 1 0 8 0 amappl9 136 353 0 350 1 0 1 1 0 8 0 amappl8 128 268 0 250 1 0 1 1 0 8 0 amappl7 120 129 0 117 1 0 1 1 0 8 0 amappl6 112 20 0 18 2 1 1 1 0 8 0 amappl5 104 225 0 213 1 0 1 1 0 8 0 amappl4 96 432 0 404 1 0 1 1 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 1142 0 1072 3 1 2 3 0 8 0 amappl1 72 13944 0 13523 27 13 14 20 0 8 5 amappl 80 560 0 517 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 244 0 228 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 244 0 228 1 0 1 1 0 8 0 vmmpekpl 168 5765 0 5736 2 0 2 2 0 8 0 vmmpepl 168 36766 0 34727 120 8 112 112 0 357 23 vmsppl 272 243 0 228 2 0 2 2 0 8 0 pdppl 4096 494 0 457 6 0 6 6 0 8 1 pvpl 32 135143 0 115511 163 0 163 163 0 265 4 pmappl 200 243 0 228 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 151 0 6 5 0 5 5 0 8 0