panic: receive 1a: so 0xfffffd8061e3e320, so_type 3, m 0xfffffd80575ffa00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *236704 92809 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061e3e320,0,ffff80001d6e58f8,0,0,ffff80001d6e5804) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80611f84b0,ffff80001d6e58f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e58f8,0,ffff80001d6e59e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5990,ffff80001d6e59e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7d70, 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 0xfffffd8061e3e320, so_type 3, m 0xfffffd80575ffa00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061e3e320,0,ffff80001d6e58f8,0,0,ffff80001d6e5804) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80611f84b0,ffff80001d6e58f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e58f8,0,ffff80001d6e59e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5990,ffff80001d6e59e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7d70, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5640 rbx 0xffff80001d6e56f0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81f9c19f kprintf+0x15f r9 0x1 r10 0x2 r11 0xb1085407f5a8dbbc r12 0x3000000008 r13 0xffff80001d6e5650 r14 0x100 r15 0x1 rip 0xffffffff820d2968 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5630 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=236704 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa868,0xffff80001d6a9288 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70670 96294 62975 0 2 0 syz-executor.0 70670 377897 62975 0 2 0x4000000 syz-executor.0 75347 49639 73011 60928 2 0x10 syz-executor.1 75347 161319 73011 60928 3 0x4000090 ttyout syz-executor.1 75347 125379 73011 60928 2 0x4000010 syz-executor.1 75347 120568 73011 60928 2 0x4000010 syz-executor.1 62975 413191 19427 0 3 0x82 nanosleep syz-executor.0 73011 112412 19427 0 3 0x82 nanosleep syz-executor.1 19427 185347 48693 0 3 0x82 thrsleep syz-fuzzer 19427 346172 48693 0 3 0x4000082 thrsleep syz-fuzzer 19427 81696 48693 0 3 0x4000082 thrsleep syz-fuzzer 19427 443879 48693 0 3 0x4000082 thrsleep syz-fuzzer 19427 195782 48693 0 3 0x4000082 thrsleep syz-fuzzer 19427 444609 48693 0 3 0x4000082 kqread syz-fuzzer 19427 129652 48693 0 3 0x4000082 thrsleep syz-fuzzer 19427 241170 48693 0 3 0x4000082 thrsleep syz-fuzzer 48693 23378 88603 0 3 0x10008a pause ksh 88603 273270 4677 0 3 0x92 select sshd 43905 126725 1 0 3 0x100083 ttyin getty 4677 54766 1 0 3 0x80 select sshd 5387 214192 85398 73 3 0x100090 kqread syslogd 85398 355350 1 0 3 0x100082 netio syslogd 94611 183045 1 77 2 0x100010 dhclient *92809 236704 1 0 7 0 dhclient 47305 446615 0 0 3 0x14200 bored smr 56169 239444 0 0 2 0x14200 zerothread 86301 398220 0 0 3 0x14200 aiodoned aiodoned 18628 56169 0 0 3 0x14200 syncer update 42288 5352 0 0 3 0x14200 cleaner cleaner 31871 333176 0 0 3 0x14200 reaper reaper 11205 80436 0 0 3 0x14200 pgdaemon pagedaemon 94083 450119 0 0 3 0x14200 bored crynlk 16884 212177 0 0 3 0x14200 bored crypto 91997 93043 0 0 3 0x40014200 acpi0 acpi0 77710 125621 0 0 3 0x14200 bored softnet 36334 505428 0 0 3 0x14200 bored systqmp 64285 304878 0 0 3 0x14200 bored systq 12412 195596 0 0 3 0x40014200 bored softclock 10039 226846 0 0 3 0x40014200 idle0 1 64872 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 9489 6526K 6975K 78643K 10850 0 pcb 13 8K 8K 78643K 45 0 rtable 100 3K 7K 78643K 267 0 ifaddr 51 11K 12K 78643K 78 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 47 0 iov 0 0K 12K 78643K 8 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1291 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 111 0 sigio 0 0K 0K 78643K 8 0 proc 49 38K 63K 78643K 382 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 31 0 in_multi 29 1K 2K 78643K 60 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 189 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 39K 39K 78643K 1119 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 9 0K 0K 78643K 15 0 temp 86 3851K 3914K 78643K 2054 0 kqueue 3 4K 7K 78643K 13 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 43 0 41 1 0 1 1 0 8 0 rtentry 112 55 0 14 2 0 2 2 0 8 0 unpcb 120 95 0 87 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 102 0 102 1 1 0 1 0 8 0 tcpcb 544 52 0 48 1 0 1 1 0 8 0 inpcb 296 166 0 159 3 1 2 2 0 8 1 rttmr 72 4 0 4 1 0 1 1 0 8 1 nd6 48 9 0 5 1 0 1 1 0 8 0 pfrktable 1344 22 0 22 1 0 1 1 0 8 1 pftag 88 8 0 8 1 0 1 1 0 8 1 pfrule 1360 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 54 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1529 0 130 88 0 88 88 0 8 0 ffsino 240 1529 0 130 83 0 83 83 0 8 0 nchpl 144 1870 0 265 60 0 60 60 0 8 0 uvmvnodes 72 1632 0 0 30 0 30 30 0 8 0 vnodes 208 1632 0 0 86 0 86 86 0 8 0 namei 1024 4765 0 4765 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 pfiaddrpl 120 6 0 6 1 0 1 1 0 8 1 scxspl 192 5480 0 5480 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 297 0 268 4 0 4 4 0 8 0 futexpl 56 1998 0 1998 2 1 1 1 0 8 1 knotepl 112 71 0 52 1 0 1 1 0 8 0 kqueuepl 144 24 0 22 1 0 1 1 0 8 0 pipepl 272 77 0 67 1 0 1 1 0 8 0 fdescpl 432 283 0 268 2 0 2 2 0 8 0 filepl 120 1587 0 1482 4 0 4 4 0 8 0 lockfpl 104 47 0 46 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 143 0 135 1 0 1 1 0 8 0 zombiepl 144 268 0 268 1 0 1 1 0 8 1 processpl 928 297 0 268 4 0 4 4 0 8 0 procpl 624 418 0 378 5 1 4 4 0 8 0 sockpl 400 304 0 287 4 0 4 4 0 8 2 mcl64k 65536 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 2 1 1 1 0 8 1 mcl4k 4096 16 0 16 2 1 1 1 0 8 1 mcl2k 2048 77990 0 77934 18 10 8 15 0 8 0 mtagpl 96 44 0 5 2 1 1 1 0 8 0 mbufpl 256 124042 0 123855 20 4 16 16 0 8 0 bufpl 280 5029 0 126 351 0 351 351 0 8 0 anonpl 16 57796 0 41665 87 2 85 85 0 107 7 amapchunkpl 152 1770 0 1635 17 1 16 16 0 158 10 amappl16 192 1792 0 708 66 4 62 66 0 8 7 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 29 0 23 1 0 1 1 0 8 0 amappl13 168 35 0 30 1 0 1 1 0 8 0 amappl12 160 9 0 5 2 1 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 51 0 45 1 0 1 1 0 8 0 amappl9 136 355 0 353 1 0 1 1 0 8 0 amappl8 128 323 0 284 2 0 2 2 0 8 0 amappl7 120 151 0 137 1 0 1 1 0 8 0 amappl6 112 24 0 19 2 1 1 1 0 8 0 amappl5 104 256 0 245 1 0 1 1 0 8 0 amappl4 96 419 0 393 1 0 1 1 0 8 0 amappl3 88 103 0 95 1 0 1 1 0 8 0 amappl2 80 1446 0 1374 2 0 2 2 0 8 0 amappl1 72 15048 0 14626 23 13 10 17 0 8 0 amappl 80 646 0 600 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 287 0 270 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 287 0 270 1 0 1 1 0 8 0 vmmpekpl 168 5988 0 5960 2 0 2 2 0 8 0 vmmpepl 168 42129 0 39834 128 19 109 116 0 357 9 vmsppl 272 286 0 270 3 1 2 2 0 8 0 pdppl 4096 580 0 542 6 1 5 6 0 8 0 pvpl 32 198198 0 179223 255 0 255 255 0 265 73 pmappl 200 286 0 270 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 256 0 22 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(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061e3e320,0,ffff80001d6e58f8,0,0,ffff80001d6e5804) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80611f84b0,ffff80001d6e58f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e58f8,0,ffff80001d6e59e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5990,ffff80001d6e59e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7d70, 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(ffffffff823c8eb2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061e3e320,0,ffff80001d6e58f8,0,0,ffff80001d6e5804) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80611f84b0,ffff80001d6e58f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e58f8,0,ffff80001d6e59e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5990,ffff80001d6e59e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7d70, count: -8