panic: receive 1: so 0xfffffd8062daa4b0, so_type 3, sb_cc 3902 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *114361 21329 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d3dcf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8062daa4b0,0,ffff80001d6e5218,0,0,ffff80001d6e5124) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd8062ff7438,ffff80001d6e5218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5218,0,ffff80001d6e5300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e52b0,ffff80001d6e5300) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeba50, 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 0xfffffd8062daa4b0, so_type 3, sb_cc 3902 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d3dcf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8062daa4b0,0,ffff80001d6e5218,0,0,ffff80001d6e5124) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd8062ff7438,ffff80001d6e5218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5218,0,ffff80001d6e5300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e52b0,ffff80001d6e5300) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeba50, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4f60 rbx 0xffff80001d6e5010 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff815dc43f kprintf+0x15f r9 0x1 r10 0x2 r11 0xdf72ad7c07fd4736 r12 0x3000000008 r13 0xffff80001d6e4f70 r14 0x100 r15 0x1 rip 0xffffffff8118a508 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4f50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=114361 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa5f8,0xffff80001d6a9288 process=0xffff80001d6c4af0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43091 131491 73168 0 2 0 syz-executor.1 43091 35847 73168 0 2 0x4000000 syz-executor.1 73168 367625 19459 0 3 0x82 nanosleep syz-executor.1 42147 482348 19459 0 3 0x82 nanosleep syz-executor.0 85694 401328 0 0 3 0x14200 bored sosplice 19459 12599 27532 0 3 0x82 thrsleep syz-fuzzer 19459 444658 27532 0 3 0x4000082 nanosleep syz-fuzzer 19459 403021 27532 0 3 0x4000082 thrsleep syz-fuzzer 19459 83339 27532 0 3 0x4000082 thrsleep syz-fuzzer 19459 248325 27532 0 3 0x4000082 thrsleep syz-fuzzer 19459 378745 27532 0 3 0x4000082 kqread syz-fuzzer 19459 240434 27532 0 3 0x4000082 thrsleep syz-fuzzer 19459 445736 27532 0 3 0x4000082 thrsleep syz-fuzzer 27532 422384 56070 0 3 0x10008a pause ksh 56070 240757 16780 0 3 0x92 select sshd 48290 466803 1 0 3 0x100083 ttyin getty 16780 403289 1 0 3 0x80 select sshd 15451 2352 79720 73 2 0x100010 syslogd 79720 97699 1 0 3 0x100082 netio syslogd 62610 109579 1 77 2 0x100010 dhclient *21329 114361 1 0 7 0 dhclient 86792 136082 0 0 3 0x14200 bored smr 34474 352878 0 0 2 0x14200 zerothread 77272 9528 0 0 3 0x14200 aiodoned aiodoned 41112 448771 0 0 3 0x14200 syncer update 9672 349408 0 0 3 0x14200 cleaner cleaner 48905 332721 0 0 3 0x14200 reaper reaper 30268 13941 0 0 3 0x14200 pgdaemon pagedaemon 39325 313168 0 0 3 0x14200 bored crynlk 23126 4821 0 0 3 0x14200 bored crypto 6522 92437 0 0 3 0x40014200 acpi0 acpi0 19246 425763 0 0 2 0x14200 softnet 38136 54823 0 0 3 0x14200 bored systqmp 98260 452562 0 0 3 0x14200 bored systq 55500 165073 0 0 3 0x40014200 bored softclock 95837 194140 0 0 3 0x40014200 idle0 1 369287 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 9502 6350K 6860K 78643K 11115 0 pcb 13 8K 8K 78643K 120 0 rtable 101 6K 10K 78643K 692 0 ifaddr 73 15K 16K 78643K 213 0 counters 22 16K 16K 78643K 33 0 ioctlops 0 0K 4K 78643K 81 0 iov 0 0K 16K 78643K 52 0 mount 1 1K 1K 78643K 1 0 vnodes 1247 78K 78K 78643K 1595 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 86 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 478 0 proc 49 38K 63K 78643K 620 0 subproc 32 2K 3K 78643K 225 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 57 0 in_multi 41 2K 3K 78643K 192 0 ether_multi 1 0K 0K 78643K 22 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 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 266 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 136 40K 48K 78643K 2001 0 UVM aobj 19 4K 4K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 98 0 NDP 14 0K 0K 78643K 40 0 temp 105 3870K 3934K 78643K 7988 0 kqueue 3 4K 8K 78643K 19 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 12 0 6 1 0 1 1 0 8 0 rtpcb 80 55 0 53 1 0 1 1 0 8 0 rtentry 112 106 0 74 2 0 2 2 0 8 0 unpcb 120 241 0 231 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 165 0 165 1 1 0 1 0 8 0 tcpcb 544 150 0 146 1 0 1 1 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 149 0 149 2 2 0 1 0 8 0 inpcb 296 540 0 533 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 27 0 23 1 0 1 1 0 8 0 pkpcb 40 12 0 12 2 2 0 1 0 8 0 pfstscr 40 9 0 7 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 114 0 106 4 2 2 2 0 8 1 pftag 88 21 0 18 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 10 0 4 1 0 1 1 0 8 0 pfstkey 112 20 0 14 1 0 1 1 0 8 0 pfstate 328 10 0 7 1 0 1 1 0 8 0 pfrule 1360 22 0 16 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 489 0 354 12 2 10 12 0 8 0 art_table 32 490 0 354 2 0 2 2 0 8 0 art_node 16 105 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 84 0 74 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1944 0 544 88 0 88 88 0 8 0 ffsino 240 1944 0 544 83 0 83 83 0 8 0 nchpl 144 2971 0 1376 60 0 60 60 0 8 0 uvmvnodes 72 2304 0 0 42 0 42 42 0 8 0 vnodes 208 2304 0 0 122 0 122 122 0 8 0 namei 1024 8526 0 8526 2 1 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 44 0 36 1 0 1 1 0 8 0 scxspl 192 10614 0 10614 1 0 1 1 0 8 1 plimitpl 152 55 0 48 1 0 1 1 0 8 0 sigapl 424 632 0 603 4 0 4 4 0 8 0 futexpl 56 9193 0 9193 2 1 1 1 0 8 1 knotepl 112 213 0 194 1 0 1 1 0 8 0 kqueuepl 144 81 0 79 1 0 1 1 0 8 0 pipepl 272 174 0 164 1 0 1 1 0 8 0 fdescpl 432 617 0 603 2 0 2 2 0 8 0 filepl 120 4221 0 4125 4 0 4 4 0 8 0 lockfpl 104 80 0 79 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 112 28 0 18 1 0 1 1 0 8 0 pgrppl 48 30 0 20 1 0 1 1 0 8 0 ucredpl 96 406 0 399 1 0 1 1 0 8 0 zombiepl 144 603 0 602 2 1 1 1 0 8 0 processpl 928 632 0 602 4 0 4 4 0 8 0 procpl 624 1085 0 1047 4 0 4 4 0 8 1 sosppl 128 13 0 13 2 2 0 1 0 8 0 sockpl 400 854 0 835 6 2 4 4 0 8 1 mcl64k 65536 25 0 25 3 3 0 1 0 8 0 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 2 2 0 1 0 8 0 mcl8k 8192 21 0 21 4 3 1 1 0 8 1 mcl4k 4096 48 0 48 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 78053 0 78005 21 14 7 17 0 8 0 mtagpl 96 48 0 46 2 1 1 1 0 8 0 mbufpl 256 127520 0 127374 21 5 16 18 0 8 2 bufpl 280 6066 0 714 383 0 383 383 0 8 0 anonpl 16 85387 0 70997 97 18 79 84 0 107 10 amapchunkpl 152 3781 0 3650 28 12 16 19 0 158 10 amappl16 192 3144 0 2223 65 18 47 59 0 8 0 amappl15 184 132 0 131 1 0 1 1 0 8 0 amappl14 176 24 0 20 1 0 1 1 0 8 0 amappl13 168 119 0 113 1 0 1 1 0 8 0 amappl12 160 225 0 222 1 0 1 1 0 8 0 amappl11 152 64 0 55 1 0 1 1 0 8 0 amappl10 144 153 0 145 1 0 1 1 0 8 0 amappl9 136 368 0 367 1 0 1 1 0 8 0 amappl8 128 449 0 398 2 0 2 2 0 8 0 amappl7 120 263 0 250 1 0 1 1 0 8 0 amappl6 112 27 0 23 1 0 1 1 0 8 0 amappl5 104 683 0 672 1 0 1 1 0 8 0 amappl4 96 517 0 483 1 0 1 1 0 8 0 amappl3 88 147 0 140 1 0 1 1 0 8 0 amappl2 80 3784 0 3719 2 0 2 2 0 8 0 amappl1 72 21126 0 20716 23 14 9 17 0 8 0 amappl 80 1389 0 1346 3 1 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 0 1 0 1 1 0 8 0 uaddrrnd 24 619 0 603 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 619 0 603 1 0 1 1 0 8 0 vmmpekpl 168 7991 0 7961 2 0 2 2 0 8 0 vmmpepl 168 90056 0 88027 151 23 128 131 0 357 36 vmsppl 272 618 0 603 3 1 2 2 0 8 0 pdppl 4096 1244 0 1208 8 2 6 6 0 8 1 pvpl 32 276230 0 258768 314 19 295 295 0 265 133 pmappl 200 618 0 603 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 39 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(ffffffff823d3dcf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8062daa4b0,0,ffff80001d6e5218,0,0,ffff80001d6e5124) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd8062ff7438,ffff80001d6e5218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5218,0,ffff80001d6e5300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e52b0,ffff80001d6e5300) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeba50, 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(ffffffff823d3dcf) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8062daa4b0,0,ffff80001d6e5218,0,0,ffff80001d6e5124) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd8062ff7438,ffff80001d6e5218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5218,0,ffff80001d6e5300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e52b0,ffff80001d6e5300) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeba50, count: -8