panic: receive 1a: so 0xfffffd805f532640, so_type 3, m 0xfffffd8058009800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 3073 84838 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d85fd) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805f532640,0,ffff80001d6e5198,0,0,ffff80001d6e50a4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f3708,ffff80001d6e5198,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5198,0,ffff80001d6e5280) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5230,ffff80001d6e5280) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5300) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7dc0, 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 0xfffffd805f532640, so_type 3, m 0xfffffd8058009800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d85fd) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805f532640,0,ffff80001d6e5198,0,0,ffff80001d6e50a4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f3708,ffff80001d6e5198,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5198,0,ffff80001d6e5280) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5230,ffff80001d6e5280) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5300) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7dc0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4ee0 rbx 0xffff80001d6e4f90 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e4ea0 r9 0xffffffff8203e52f kprintf+0x15f r10 0x1 r11 0x73771de69dfd043a r12 0x3000000008 r13 0xffff80001d6e4ef0 r14 0x100 r15 0x1 rip 0xffffffff81989c28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4ed0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=3073 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9ea8,0xffff80001d6a9c48 process=0xffff80001d6c4af0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a550 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38143 385763 92075 0 3 0x80 fsleep syz-executor.0 38143 70768 92075 0 2 0x4000000 syz-executor.0 82544 311829 59473 60928 3 0x90 fsleep syz-executor.1 82544 453189 59473 60928 3 0x4000090 fsleep syz-executor.1 82544 194461 59473 60928 3 0x4000090 lockf syz-executor.1 19102 230180 0 0 3 0x14200 acct acct 92075 478807 39019 0 2 0x482 syz-executor.0 59473 402099 39019 0 2 0x482 syz-executor.1 39019 33061 57439 0 3 0x82 thrsleep syz-fuzzer 39019 435324 57439 0 2 0x4000482 syz-fuzzer 39019 369540 57439 0 3 0x4000082 thrsleep syz-fuzzer 39019 311422 57439 0 3 0x4000082 kqread syz-fuzzer 39019 452428 57439 0 3 0x4000082 thrsleep syz-fuzzer 39019 337644 57439 0 3 0x4000082 thrsleep syz-fuzzer 57439 175643 70427 0 3 0x10008a pause ksh 70427 58235 53861 0 3 0x92 select sshd 68908 144669 1 0 3 0x100083 ttyin getty 53861 130863 1 0 3 0x80 select sshd 86852 287235 86349 73 3 0x100090 kqread syslogd 86349 143082 1 0 3 0x100082 netio syslogd 94016 169083 1 77 2 0x100010 dhclient *84838 3073 1 0 7 0 dhclient 52896 421078 0 0 3 0x14200 bored smr 8333 498912 0 0 3 0x14200 pgzero zerothread 85810 272987 0 0 3 0x14200 aiodoned aiodoned 3219 251479 0 0 3 0x14200 syncer update 17795 125191 0 0 3 0x14200 cleaner cleaner 62785 437557 0 0 3 0x14200 reaper reaper 13046 345792 0 0 3 0x14200 pgdaemon pagedaemon 49850 518284 0 0 3 0x14200 bored crynlk 55477 218254 0 0 3 0x14200 bored crypto 43445 130747 0 0 3 0x40014200 acpi0 acpi0 9402 221514 0 0 3 0x14200 bored softnet 36946 438193 0 0 3 0x14200 bored systqmp 47317 205071 0 0 3 0x14200 bored systq 68690 331438 0 0 3 0x40014200 bored softclock 48810 346914 0 0 3 0x40014200 idle0 1 158689 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 9474 6584K 6969K 78643K 11067 0 pcb 13 8K 8K 78643K 37 0 rtable 110 4K 8K 78643K 296 0 ifaddr 45 11K 11K 78643K 83 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 30 0 iov 0 0K 16K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1354 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 26 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 158 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 63K 78643K 399 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 8 0 in_multi 33 2K 2K 78643K 83 0 ether_multi 1 0K 0K 78643K 7 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 198 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 135 55K 55K 78643K 1266 0 UVM aobj 7 2K 3K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 6 0K 0K 78643K 18 0 temp 68 3850K 3914K 78643K 2461 0 kqueue 3 4K 10K 78643K 9 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 22 0 20 1 0 1 1 0 8 0 rtentry 112 63 0 20 2 0 2 2 0 8 0 unpcb 120 53 0 45 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 56 0 56 1 1 0 1 0 8 0 tcpcb 544 42 0 38 1 0 1 1 0 8 0 inpcb 296 132 0 125 1 0 1 1 0 8 0 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 14 0 9 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 21 0 20 1 0 1 1 0 8 0 pftag 88 6 0 6 2 1 1 1 0 8 1 pfrule 1360 10 0 5 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 232 0 44 12 0 12 12 0 8 0 art_table 32 233 0 44 2 0 2 2 0 8 0 art_node 16 62 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 6 0 6 1 0 1 1 0 8 1 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1576 0 175 88 0 88 88 0 8 0 ffsino 240 1576 0 175 83 0 83 83 0 8 0 nchpl 144 1981 0 390 60 0 60 60 0 8 0 uvmvnodes 72 1745 0 0 32 0 32 32 0 8 0 vnodes 208 1745 0 0 92 0 92 92 0 8 0 namei 1024 5145 0 5145 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 6 1 1 0 1 0 8 0 scxspl 192 6008 0 6008 1 0 1 1 0 8 1 plimitpl 152 19 0 12 1 0 1 1 0 8 0 sigapl 424 342 0 312 4 0 4 4 0 8 0 futexpl 56 2333 0 2330 1 0 1 1 0 8 0 knotepl 112 85 0 65 1 0 1 1 0 8 0 kqueuepl 144 17 0 12 1 0 1 1 0 8 0 pipepl 272 87 0 76 2 1 1 2 0 8 0 fdescpl 432 327 0 312 2 0 2 2 0 8 0 filepl 120 1706 0 1605 4 0 4 4 0 8 0 lockfpl 104 124 0 121 1 0 1 1 0 8 0 lockfspl 48 44 0 42 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 92 0 84 1 0 1 1 0 8 0 zombiepl 144 312 0 312 1 0 1 1 0 8 1 processpl 928 342 0 312 4 0 4 4 0 8 0 procpl 624 529 0 491 3 0 3 3 0 8 0 sockpl 400 207 0 190 3 0 3 3 0 8 1 mcl64k 65536 8 0 8 1 1 0 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 3 2 1 1 0 8 1 mcl4k 4096 17 0 17 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 88944 0 88896 16 9 7 14 0 8 0 mtagpl 96 92 0 7 4 1 3 3 0 8 0 mbufpl 256 141619 0 141281 25 0 25 25 0 8 0 bufpl 280 3744 0 115 260 0 260 260 0 8 0 anonpl 16 49912 0 33194 73 2 71 71 0 107 0 amapchunkpl 152 1654 0 1441 11 2 9 11 0 158 0 amappl16 192 1399 0 488 46 0 46 46 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 72 0 68 1 0 1 1 0 8 0 amappl13 168 72 0 67 1 0 1 1 0 8 0 amappl12 160 70 0 65 1 0 1 1 0 8 0 amappl11 152 116 0 105 1 0 1 1 0 8 0 amappl10 144 10 0 7 1 0 1 1 0 8 0 amappl9 136 356 0 354 1 0 1 1 0 8 0 amappl8 128 316 0 287 1 0 1 1 0 8 0 amappl7 120 109 0 98 1 0 1 1 0 8 0 amappl6 112 95 0 89 1 0 1 1 0 8 0 amappl5 104 146 0 136 1 0 1 1 0 8 0 amappl4 96 546 0 514 1 0 1 1 0 8 0 amappl3 88 161 0 150 1 0 1 1 0 8 0 amappl2 80 1726 0 1650 2 0 2 2 0 8 0 amappl1 72 17164 0 16715 23 14 9 17 0 8 0 amappl 80 777 0 719 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 8 0 2 1 0 1 1 0 8 0 uaddrrnd 24 331 0 312 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 331 0 312 1 0 1 1 0 8 0 vmmpekpl 168 6361 0 6333 2 0 2 2 0 8 0 vmmpepl 168 48551 0 46389 133 20 113 127 0 357 19 vmsppl 272 330 0 312 2 0 2 2 0 8 0 pdppl 4096 668 0 628 7 1 6 6 0 8 1 pvpl 32 160196 0 140686 165 2 163 165 0 265 0 pmappl 200 330 0 312 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 258 0 19 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d85fd) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805f532640,0,ffff80001d6e5198,0,0,ffff80001d6e50a4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f3708,ffff80001d6e5198,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5198,0,ffff80001d6e5280) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5230,ffff80001d6e5280) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5300) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7dc0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d85fd) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805f532640,0,ffff80001d6e5198,0,0,ffff80001d6e50a4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f3708,ffff80001d6e5198,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5198,0,ffff80001d6e5280) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5230,ffff80001d6e5280) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5300) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7dc0, count: -8