panic: receive 1: so 0xfffffd8068150320, so_type 3, sb_cc 224 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *375397 58600 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d21a8) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8068150320,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffdfe60, 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 1: so 0xfffffd8068150320, so_type 3, sb_cc 224 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d21a8) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8068150320,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffdfe60, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4ed0 rbx 0xffff80001d6e4f80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8141508f kprintf+0x15f r9 0x1 r10 0x2 r11 0x2827b4b2bf7c6800 r12 0x3000000008 r13 0xffff80001d6e4ee0 r14 0x100 r15 0x1 rip 0xffffffff81249ec8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4ec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=375397 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa868,0xffff80001d6a94f8 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 81547 269780 3513 0 2 0 syz-executor.1 81547 259308 3513 0 3 0x4000080 fsleep syz-executor.1 85411 402647 18905 0 2 0x2 syz-executor.0 3513 65 18905 0 3 0x82 nanosleep syz-executor.1 18905 518088 32345 0 3 0x82 thrsleep syz-fuzzer 18905 444739 32345 0 3 0x4000082 nanosleep syz-fuzzer 18905 30851 32345 0 3 0x4000082 thrsleep syz-fuzzer 18905 472586 32345 0 3 0x4000082 thrsleep syz-fuzzer 18905 37549 32345 0 3 0x4000082 thrsleep syz-fuzzer 18905 445723 32345 0 3 0x4000082 kqread syz-fuzzer 18905 188985 32345 0 3 0x4000082 thrsleep syz-fuzzer 32345 282055 47489 0 3 0x10008a pause ksh 47489 453047 92186 0 3 0x92 select sshd 8831 153750 1 0 3 0x100083 ttyin getty 92186 237170 1 0 3 0x80 select sshd 1223 311393 14053 73 2 0x100010 syslogd 14053 38306 1 0 3 0x100082 netio syslogd 85066 194395 1 77 3 0x100090 poll dhclient *58600 375397 1 0 7 0 dhclient 12442 249710 0 0 3 0x14200 bored smr 72084 348391 0 0 2 0x14200 zerothread 34640 95666 0 0 3 0x14200 aiodoned aiodoned 46611 464862 0 0 3 0x14200 syncer update 84163 30963 0 0 3 0x14200 cleaner cleaner 93468 244259 0 0 3 0x14200 reaper reaper 664 118402 0 0 3 0x14200 pgdaemon pagedaemon 52288 459842 0 0 3 0x14200 bored crynlk 19176 203494 0 0 3 0x14200 bored crypto 6400 466337 0 0 3 0x40014200 acpi0 acpi0 82894 244065 0 0 3 0x14200 bored softnet 51488 427834 0 0 3 0x14200 bored systqmp 90606 196912 0 0 3 0x14200 bored systq 75750 362931 0 0 3 0x40014200 bored softclock 42607 220644 0 0 3 0x40014200 idle0 1 366357 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 9448 6323K 6581K 78643K 10568 0 pcb 13 8K 8K 78643K 17 0 rtable 85 2K 3K 78643K 197 0 ifaddr 40 10K 10K 78643K 45 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 16 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1225 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 10 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 53 0 proc 47 38K 54K 78643K 363 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 36 2K 2K 78643K 39 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 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 181 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 120 22K 27K 78643K 968 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 4 0 NDP 5 0K 0K 78643K 9 0 temp 62 3847K 3911K 78643K 1808 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 46 0 12 2 0 2 2 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 679 0 679 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 296 57 0 45 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 218 0 41 12 0 12 12 0 8 0 art_table 32 219 0 41 2 0 2 2 0 8 0 art_node 16 45 0 15 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1438 0 40 88 0 88 88 0 8 0 ffsino 240 1438 0 40 83 0 83 83 0 8 0 nchpl 144 1691 0 88 60 0 60 60 0 8 0 uvmvnodes 72 1485 0 0 27 0 27 27 0 8 0 vnodes 208 1485 0 0 79 0 79 79 0 8 0 namei 1024 4157 0 4156 1 0 1 1 0 8 0 scxspl 192 4915 0 4915 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 239 0 211 4 0 4 4 0 8 0 futexpl 56 418 0 417 1 0 1 1 0 8 0 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipepl 272 72 0 61 1 0 1 1 0 8 0 fdescpl 432 225 0 211 2 0 2 2 0 8 0 filepl 120 1098 0 996 4 0 4 4 0 8 0 lockfpl 104 16 0 15 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 50 0 43 1 0 1 1 0 8 0 zombiepl 144 211 0 211 1 0 1 1 0 8 1 processpl 928 239 0 211 4 0 4 4 0 8 0 procpl 624 268 0 233 3 0 3 3 0 8 0 sockpl 400 103 0 81 3 0 3 3 0 8 0 mcl4k 4096 8 0 8 1 1 0 1 0 8 0 mcl2k 2048 89972 0 89917 22 7 15 19 0 8 7 mtagpl 96 4 0 2 2 1 1 1 0 8 0 mbufpl 256 142516 0 142432 14 2 12 12 0 8 2 bufpl 280 3301 0 126 227 0 227 227 0 8 0 anonpl 16 38494 0 23238 65 2 63 63 0 107 1 amapchunkpl 152 1178 0 1049 8 0 8 8 0 158 1 amappl16 192 1038 0 207 43 0 43 43 0 8 0 amappl15 184 15 0 12 1 0 1 1 0 8 0 amappl14 176 31 0 26 1 0 1 1 0 8 0 amappl13 168 28 0 24 1 0 1 1 0 8 0 amappl12 160 19 0 14 1 0 1 1 0 8 0 amappl11 152 49 0 40 1 0 1 1 0 8 0 amappl10 144 22 0 19 1 0 1 1 0 8 0 amappl9 136 386 0 384 1 0 1 1 0 8 0 amappl8 128 330 0 287 2 0 2 2 0 8 0 amappl7 120 117 0 104 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 154 0 144 1 0 1 1 0 8 0 amappl4 96 415 0 391 1 0 1 1 0 8 0 amappl3 88 110 0 103 1 0 1 1 0 8 0 amappl2 80 973 0 909 2 0 2 2 0 8 0 amappl1 72 14106 0 13689 23 8 15 17 0 8 5 amappl 80 497 0 457 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 225 0 211 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 225 0 211 1 0 1 1 0 8 0 vmmpekpl 168 5682 0 5657 2 0 2 2 0 8 0 vmmpepl 168 35026 0 33103 158 6 152 152 0 357 68 vmsppl 272 224 0 211 2 0 2 2 0 8 1 pdppl 4096 456 0 422 6 0 6 6 0 8 1 pvpl 32 129086 0 110776 153 0 153 153 0 265 4 pmappl 200 224 0 211 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 243 0 12 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(ffffffff823d21a8) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8068150320,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffdfe60, 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(ffffffff823d21a8) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8068150320,0,ffff80001d6e5188,0,0,ffff80001d6e5094) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805eab8618,ffff80001d6e5188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5188,0,ffff80001d6e5270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffdfe60, count: -8