panic: receive 3: so 0xfffffd8064f3e000, so_type 3, m 0xfffffd805384e100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *207037 59818 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c6168) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064f3e000,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16e7 soo_read(fffffd80651f7618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd30d0, 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 0xfffffd8064f3e000, so_type 3, m 0xfffffd805384e100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c6168) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064f3e000,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16e7 soo_read(fffffd80651f7618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd30d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4ed0 rbx 0xffff80001d6e4f80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff813428af kprintf+0x15f r9 0x1 r10 0x2 r11 0x498a4e1d4e5e4e4b r12 0x3000000008 r13 0xffff80001d6e4ee0 r14 0x100 r15 0x1 rip 0xffffffff81f2faa8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4ec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=207037 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a99c8,0xffff80001d6a9eb8 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09330 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79876 414407 51383 0 2 0 syz-executor.0 79876 239947 51383 0 3 0x4000080 fsleep syz-executor.0 79876 61661 51383 0 2 0x4000000 syz-executor.0 51383 449780 84214 0 3 0x82 nanosleep syz-executor.0 22556 154842 84214 0 3 0x82 piperd syz-executor.1 84214 163870 73391 0 3 0x82 thrsleep syz-fuzzer 84214 431623 73391 0 3 0x4000082 nanosleep syz-fuzzer 84214 160157 73391 0 3 0x4000082 thrsleep syz-fuzzer 84214 135786 73391 0 3 0x4000082 thrsleep syz-fuzzer 84214 106754 73391 0 3 0x4000082 thrsleep syz-fuzzer 84214 494975 73391 0 3 0x4000082 thrsleep syz-fuzzer 84214 458076 73391 0 3 0x4000082 thrsleep syz-fuzzer 84214 179499 73391 0 2 0x4000002 syz-fuzzer 73391 133420 79006 0 3 0x10008a pause ksh 79006 350887 67301 0 3 0x92 select sshd 85235 188721 1 0 3 0x100083 ttyin getty 67301 490977 1 0 3 0x80 select sshd 61627 168638 70998 73 3 0x100090 kqread syslogd 70998 322146 1 0 3 0x100082 netio syslogd 60535 81925 1 77 2 0x100010 dhclient *59818 207037 1 0 7 0 dhclient 74010 227285 0 0 3 0x14200 bored smr 53181 451219 0 0 2 0x14200 zerothread 11346 214607 0 0 3 0x14200 aiodoned aiodoned 97632 246350 0 0 3 0x14200 syncer update 30664 311772 0 0 3 0x14200 cleaner cleaner 51842 220039 0 0 3 0x14200 reaper reaper 3211 245576 0 0 3 0x14200 pgdaemon pagedaemon 17569 188890 0 0 3 0x14200 bored crynlk 18318 17740 0 0 3 0x14200 bored crypto 44887 182744 0 0 3 0x40014200 acpi0 acpi0 79445 116551 0 0 3 0x14200 bored softnet 40044 249509 0 0 3 0x14200 bored systqmp 63113 300225 0 0 3 0x14200 bored systq 17973 394986 0 0 3 0x40014200 bored softclock 78925 371143 0 0 3 0x40014200 idle0 1 42740 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 9485 6337K 6652K 78643K 10938 0 pcb 13 8K 8K 78643K 91 0 rtable 98 3K 8K 78643K 468 0 ifaddr 65 13K 14K 78643K 148 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 56 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1351 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 12 0K 0K 78643K 41 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 341 0 sigio 0 0K 0K 78643K 32 0 proc 49 38K 63K 78643K 420 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 21 0 in_multi 32 2K 2K 78643K 106 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 3 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 207 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 121 38K 39K 78643K 1630 0 UVM aobj 18 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 42 0 NDP 10 0K 0K 78643K 29 0 temp 92 3854K 3918K 78643K 5011 0 kqueue 3 4K 14K 78643K 26 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 35 0 33 1 0 1 1 0 8 0 rtentry 112 82 0 44 2 0 2 2 0 8 0 unpcb 120 155 0 147 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 507 0 507 2 2 0 1 0 8 0 tcpcb 544 584 0 580 3 2 1 2 0 8 0 inpcb 296 805 0 798 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 20 0 18 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 69 0 68 2 1 1 1 0 8 0 pftag 88 14 0 14 3 3 0 1 0 8 0 pfrule 1360 14 0 12 2 1 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 356 0 200 15 3 12 14 0 8 0 art_table 32 357 0 200 2 0 2 2 0 8 0 art_node 16 81 0 45 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 39 0 29 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1794 0 394 88 0 88 88 0 8 0 ffsino 240 1794 0 394 83 0 83 83 0 8 0 nchpl 144 2416 0 830 60 0 60 60 0 8 0 uvmvnodes 72 1940 0 0 36 0 36 36 0 8 0 vnodes 208 1940 0 0 103 0 103 103 0 8 0 namei 1024 6286 0 6286 3 2 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 20 0 20 3 3 0 1 0 8 0 scxspl 192 7266 0 7266 5 4 1 1 0 8 1 plimitpl 152 37 0 30 1 0 1 1 0 8 0 sigapl 424 524 0 496 4 0 4 4 0 8 0 futexpl 56 5986 0 5985 2 1 1 1 0 8 0 knotepl 112 97 0 78 1 0 1 1 0 8 0 kqueuepl 144 42 0 39 1 0 1 1 0 8 0 pipepl 272 118 0 108 1 0 1 1 0 8 0 fdescpl 432 510 0 496 2 0 2 2 0 8 0 filepl 120 2963 0 2867 5 1 4 4 0 8 1 lockfpl 104 69 0 68 1 0 1 1 0 8 0 lockfspl 48 24 0 23 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 231 0 224 1 0 1 1 0 8 0 zombiepl 144 496 0 496 3 2 1 1 0 8 1 processpl 928 524 0 496 4 0 4 4 0 8 0 procpl 624 878 0 841 4 1 3 4 0 8 0 sockpl 400 1000 0 983 6 3 3 4 0 8 1 mcl64k 65536 266 0 266 34 9 25 33 0 8 25 mcl12k 12288 8 0 8 4 3 1 1 0 8 1 mcl9k 9216 2 0 2 2 2 0 1 0 8 0 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 20 0 20 4 3 1 1 0 8 1 mcl2k2 2112 2 0 2 2 2 0 1 0 8 0 mcl2k 2048 93822 0 93762 21 12 9 17 0 8 0 mtagpl 96 28 0 16 2 1 1 1 0 8 0 mbufpl 256 151211 0 151021 32 14 18 28 0 8 1 bufpl 280 3980 0 130 275 0 275 275 0 8 0 anonpl 16 73067 0 57042 80 10 70 77 0 107 3 amapchunkpl 152 3327 0 3196 27 21 6 19 0 158 0 amappl16 192 2579 0 1676 58 11 47 58 0 8 1 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 33 0 30 1 0 1 1 0 8 0 amappl13 168 123 0 118 1 0 1 1 0 8 0 amappl12 160 99 0 96 1 0 1 1 0 8 0 amappl11 152 129 0 119 1 0 1 1 0 8 0 amappl10 144 15 0 8 1 0 1 1 0 8 0 amappl9 136 139 0 138 1 0 1 1 0 8 0 amappl8 128 463 0 423 2 0 2 2 0 8 0 amappl7 120 114 0 99 1 0 1 1 0 8 0 amappl6 112 110 0 103 1 0 1 1 0 8 0 amappl5 104 1060 0 1050 1 0 1 1 0 8 0 amappl4 96 527 0 497 1 0 1 1 0 8 0 amappl3 88 206 0 199 1 0 1 1 0 8 0 amappl2 80 3202 0 3138 2 0 2 2 0 8 0 amappl1 72 20764 0 20333 24 15 9 17 0 8 0 amappl 80 1125 0 1082 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 512 0 496 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 512 0 496 1 0 1 1 0 8 0 vmmpekpl 168 6997 0 6969 2 0 2 2 0 8 0 vmmpepl 168 70388 0 68375 159 58 101 122 0 357 13 vmsppl 272 511 0 496 3 1 2 2 0 8 1 pdppl 4096 1030 0 994 6 1 5 6 0 8 0 pvpl 32 206918 0 187901 187 12 175 182 0 265 17 pmappl 200 511 0 496 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 313 0 55 8 0 8 8 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(ffffffff823c6168) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064f3e000,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16e7 soo_read(fffffd80651f7618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd30d0, 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(ffffffff823c6168) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8064f3e000,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16e7 soo_read(fffffd80651f7618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e5220,ffff80001d6e5270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e52f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd30d0, count: -8