panic: receive 3: so 0xfffffd806b6b2190, so_type 3, m 0xfffffd805a0e5f00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *180451 90115 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7d07) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b6b2190,0,ffff80001d6e15f8,0,0,ffff80001d6e1504) at soreceive+0x16e7 soo_read(fffffd8064bf2168,ffff80001d6e15f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8280,6,ffff80001d6e15f8,0,ffff80001d6e16e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8280,ffff80001d6e1690,ffff80001d6e16e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff66e0, 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 0xfffffd806b6b2190, so_type 3, m 0xfffffd805a0e5f00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7d07) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b6b2190,0,ffff80001d6e15f8,0,0,ffff80001d6e1504) at soreceive+0x16e7 soo_read(fffffd8064bf2168,ffff80001d6e15f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8280,6,ffff80001d6e15f8,0,ffff80001d6e16e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8280,ffff80001d6e1690,ffff80001d6e16e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff66e0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e1340 rbx 0xffff80001d6e13f0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e1300 r9 0xffffffff81de213f kprintf+0x15f r10 0x1 r11 0x9d4a43c922df5038 r12 0x3000000008 r13 0xffff80001d6e1350 r14 0x100 r15 0x1 rip 0xffffffff81da82d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e1330 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=180451 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff93c8,0xffff8000ffff8018 process=0xffff80001d6c0770 user=0xffff80001d6dc000, 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 26747 88294 79446 0 2 0 syz-executor.1 26747 356379 79446 0 2 0x4000000 syz-executor.1 79446 111839 60913 0 3 0x82 nanosleep syz-executor.1 90898 418022 60913 0 2 0x2 syz-executor.0 60913 394496 59403 0 3 0x82 thrsleep syz-fuzzer 60913 233433 59403 0 2 0x4000482 syz-fuzzer 60913 354879 59403 0 3 0x4000082 kqread syz-fuzzer 60913 292813 59403 0 3 0x4000082 thrsleep syz-fuzzer 60913 187140 59403 0 3 0x4000082 thrsleep syz-fuzzer 60913 311688 59403 0 3 0x4000082 thrsleep syz-fuzzer 60913 307710 59403 0 3 0x4000082 thrsleep syz-fuzzer 59403 290723 88663 0 3 0x10008a pause ksh 88663 132188 1564 0 3 0x92 select sshd 1442 487101 1 0 3 0x100083 ttyin getty 1564 171931 1 0 3 0x80 select sshd 95268 480519 62402 73 3 0x100090 kqread syslogd 62402 128597 1 0 3 0x100082 netio syslogd 11494 55591 1 77 2 0x100010 dhclient *90115 180451 1 0 7 0 dhclient 36089 160498 0 0 3 0x14200 bored smr 22326 257069 0 0 2 0x14200 zerothread 81462 98746 0 0 3 0x14200 aiodoned aiodoned 89191 478669 0 0 3 0x14200 syncer update 19147 250250 0 0 3 0x14200 cleaner cleaner 87811 208627 0 0 3 0x14200 reaper reaper 80688 500110 0 0 3 0x14200 pgdaemon pagedaemon 10122 445613 0 0 3 0x14200 bored crynlk 42710 403406 0 0 3 0x14200 bored crypto 56775 235717 0 0 3 0x40014200 acpi0 acpi0 80180 162739 0 0 3 0x14200 bored softnet 78584 112051 0 0 3 0x14200 bored systqmp 40078 281133 0 0 3 0x14200 bored systq 57566 83123 0 0 3 0x40014200 bored softclock 37303 37911 0 0 3 0x40014200 idle0 1 357054 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 9463 6329K 6471K 78643K 10619 0 pcb 13 8K 8K 78643K 31 0 rtable 106 3K 3K 78643K 212 0 ifaddr 52 12K 12K 78643K 58 0 sysctl 1 1K 1K 78643K 1 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 29 0 iov 0 0K 2K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1236 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 97 0 proc 47 38K 63K 78643K 358 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 2 0 in_multi 46 2K 2K 78643K 57 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 6 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 187 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 127 38K 39K 78643K 1077 0 UVM aobj 14 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 7 0K 0K 78643K 13 0 temp 74 3852K 3916K 78643K 3116 0 kqueue 3 4K 8K 78643K 7 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 88 21 0 19 1 0 1 1 0 8 0 rtentry 112 50 0 6 2 0 2 2 0 8 0 unpcb 120 51 0 43 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 684 0 684 1 1 0 1 0 8 0 tcpcb 592 22 0 18 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 296 237 0 229 2 0 2 2 0 8 1 rttmr 72 3 0 3 2 1 1 1 0 8 1 nd6 48 8 0 2 1 0 1 1 0 8 0 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfrule 1360 4 0 4 2 1 1 1 0 8 1 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 49 0 9 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 3 1 0 1 1 0 8 0 shmpl 112 16 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1493 0 96 88 0 88 88 0 8 0 ffsino 240 1493 0 96 83 0 83 83 0 8 0 nchpl 144 1805 0 214 60 0 60 60 0 8 0 uvmvnodes 72 1546 0 0 29 0 29 29 0 8 0 vnodes 208 1546 0 0 82 0 82 82 0 8 0 namei 1024 4475 0 4475 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 scxspl 200 5192 0 5192 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 1493 0 1493 1 0 1 1 0 8 1 knotepl 112 68 0 48 1 0 1 1 0 8 0 kqueuepl 152 12 0 10 1 0 1 1 0 8 0 pipepl 272 75 0 64 1 0 1 1 0 8 0 fdescpl 432 269 0 255 2 0 2 2 0 8 0 filepl 120 1460 0 1361 4 0 4 4 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 7 0 6 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 99 0 92 1 0 1 1 0 8 0 zombiepl 144 255 0 255 2 1 1 1 0 8 1 processpl 944 283 0 255 4 0 4 4 0 8 0 procpl 632 375 0 340 4 0 4 4 0 8 0 sockpl 400 309 0 291 4 0 4 4 0 8 2 mcl64k 65536 6 0 6 1 1 0 1 0 8 0 mcl8k 8192 2 0 2 2 1 1 1 0 8 1 mcl4k 4096 16 0 16 3 2 1 1 0 8 1 mcl2k 2048 95242 0 95187 26 18 8 21 0 8 0 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 150643 0 150499 13 2 11 12 0 8 1 bufpl 280 3305 0 116 228 0 228 228 0 8 0 anonpl 16 49992 0 32933 88 2 86 86 0 107 16 amapchunkpl 152 1413 0 1217 12 2 10 12 0 158 1 amappl16 192 1668 0 786 57 0 57 57 0 8 12 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 0 1 0 1 1 0 8 0 amappl13 168 91 0 85 1 0 1 1 0 8 0 amappl12 160 23 0 20 1 0 1 1 0 8 0 amappl11 152 47 0 37 1 0 1 1 0 8 0 amappl10 144 26 0 20 1 0 1 1 0 8 0 amappl9 136 355 0 354 1 0 1 1 0 8 0 amappl8 128 287 0 258 2 1 1 2 0 8 0 amappl7 120 104 0 92 1 0 1 1 0 8 0 amappl6 112 26 0 21 1 0 1 1 0 8 0 amappl5 104 197 0 185 1 0 1 1 0 8 0 amappl4 96 483 0 458 1 0 1 1 0 8 0 amappl3 88 116 0 108 1 0 1 1 0 8 0 amappl2 80 1304 0 1239 2 0 2 2 0 8 0 amappl1 72 15181 0 14777 23 14 9 17 0 8 0 amappl 80 618 0 562 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 18 0 5 1 0 1 1 0 8 0 uaddrrnd 24 273 0 257 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 273 0 257 1 0 1 1 0 8 0 vmmpekpl 168 5976 0 5951 2 0 2 2 0 8 0 vmmpepl 168 40781 0 38809 124 17 107 114 0 357 16 vmsppl 272 272 0 257 2 0 2 2 0 8 0 pdppl 4096 552 0 516 6 1 5 6 0 8 0 pvpl 32 152768 0 132751 200 0 200 200 0 265 37 pmappl 200 272 0 257 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 252 0 30 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(ffffffff823c7d07) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b6b2190,0,ffff80001d6e15f8,0,0,ffff80001d6e1504) at soreceive+0x16e7 soo_read(fffffd8064bf2168,ffff80001d6e15f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8280,6,ffff80001d6e15f8,0,ffff80001d6e16e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8280,ffff80001d6e1690,ffff80001d6e16e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff66e0, 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(ffffffff823c7d07) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b6b2190,0,ffff80001d6e15f8,0,0,ffff80001d6e1504) at soreceive+0x16e7 soo_read(fffffd8064bf2168,ffff80001d6e15f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8280,6,ffff80001d6e15f8,0,ffff80001d6e16e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff8280,ffff80001d6e1690,ffff80001d6e16e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1760) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff66e0, count: -8