panic: receive 1: so 0xfffffd805e5024b0, so_type 3, sb_cc 64 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *348381 4419 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d1407) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5024b0,0,ffff80001d6e5d38,0,0,ffff80001d6e5c44) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805fbf72d0,ffff80001d6e5d38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5d38,0,ffff80001d6e5e20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5dd0,ffff80001d6e5e20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ea0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1890, 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 0xfffffd805e5024b0, so_type 3, sb_cc 64 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d1407) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5024b0,0,ffff80001d6e5d38,0,0,ffff80001d6e5c44) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805fbf72d0,ffff80001d6e5d38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5d38,0,ffff80001d6e5e20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5dd0,ffff80001d6e5e20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ea0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1890, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5a80 rbx 0xffff80001d6e5b30 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81b03daf kprintf+0x15f r9 0x1 r10 0x2 r11 0xbd93086603e7885d r12 0x3000000008 r13 0xffff80001d6e5a90 r14 0x100 r15 0x1 rip 0xffffffff81f9d8f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5a70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=348381 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9c48 process=0xffff80001d6c4af0 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 42990 159842 40831 0 2 0 syz-executor.0 42990 272373 40831 0 2 0x4000000 syz-executor.0 8489 358463 92359 0 2 0 syz-executor.1 8489 347578 92359 0 3 0x4000080 ttyout syz-executor.1 13180 392057 1 0 3 0x100083 ttyopn getty 47438 376367 0 0 3 0x14200 bored sosplice 40831 205651 36700 0 3 0x82 nanosleep syz-executor.0 92359 261867 36700 0 3 0x82 nanosleep syz-executor.1 36700 86912 48100 0 3 0x82 thrsleep syz-fuzzer 36700 207859 48100 0 3 0x4000082 nanosleep syz-fuzzer 36700 296239 48100 0 3 0x4000082 thrsleep syz-fuzzer 36700 489555 48100 0 3 0x4000082 thrsleep syz-fuzzer 36700 280142 48100 0 3 0x4000082 thrsleep syz-fuzzer 36700 385154 48100 0 3 0x4000082 thrsleep syz-fuzzer 36700 22640 48100 0 3 0x4000082 thrsleep syz-fuzzer 36700 162837 48100 0 3 0x4000082 kqread syz-fuzzer 48100 40284 34380 0 3 0x10008a pause ksh 34380 35204 33421 0 3 0x92 select sshd 33421 108776 1 0 3 0x80 select sshd 33105 266678 14806 73 3 0x100090 kqread syslogd 14806 166424 1 0 3 0x100082 netio syslogd 90095 349475 1 77 2 0x100010 dhclient * 4419 348381 1 0 7 0 dhclient 27693 458491 0 0 3 0x14200 bored smr 55575 516490 0 0 2 0x14200 zerothread 15253 115395 0 0 3 0x14200 aiodoned aiodoned 84071 403745 0 0 3 0x14200 syncer update 67734 510170 0 0 3 0x14200 cleaner cleaner 14370 114598 0 0 3 0x14200 reaper reaper 35631 150921 0 0 3 0x14200 pgdaemon pagedaemon 8393 271817 0 0 3 0x14200 bored crynlk 99946 322365 0 0 3 0x14200 bored crypto 54456 514190 0 0 3 0x40014200 acpi0 acpi0 61048 110079 0 0 3 0x14200 bored softnet 98585 479791 0 0 3 0x14200 bored systqmp 65887 328629 0 0 3 0x14200 bored systq 4142 166491 0 0 3 0x40014200 bored softclock 1709 449864 0 0 3 0x40014200 idle0 1 10358 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 9495 6467K 6722K 78643K 11083 0 pcb 13 8K 8K 78643K 90 0 rtable 114 4K 7K 78643K 459 0 ifaddr 66 14K 15K 78643K 167 0 counters 21 16K 16K 78643K 24 0 ioctlops 0 0K 4K 78643K 83 0 iov 0 0K 32K 78643K 46 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1388 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 85 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 400 0 sigio 0 0K 0K 78643K 6 0 proc 49 38K 63K 78643K 429 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 32 0 in_multi 53 3K 3K 78643K 111 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 2 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 229 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 145 89K 91K 78643K 1766 0 UVM aobj 12 6K 6K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 74 0 NDP 9 0K 0K 78643K 23 0 temp 96 3856K 3935K 78643K 13017 0 kqueue 3 4K 10K 78643K 22 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 43 0 41 1 0 1 1 0 8 0 rtentry 112 69 0 23 2 0 2 2 0 8 0 unpcb 120 121 0 113 1 0 1 1 0 8 0 syncache 264 9 0 9 3 2 1 1 0 8 1 tcpqe 32 105 0 105 2 1 1 1 0 8 1 tcpcb 544 124 0 120 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 296 385 0 378 4 2 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 15 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 86 0 85 3 2 1 1 0 8 0 pftag 88 20 0 20 3 2 1 1 0 8 1 pfstkey 112 2 0 2 1 0 1 1 0 8 1 pfstate 328 1 0 1 1 0 1 1 0 8 1 pfrule 1360 19 0 15 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 279 0 78 14 1 13 14 0 8 0 art_table 32 281 0 78 2 0 2 2 0 8 0 art_node 16 68 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 79 0 69 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1880 0 484 88 0 88 88 0 8 0 ffsino 240 1880 0 484 83 0 83 83 0 8 0 nchpl 144 2592 0 999 60 0 60 60 0 8 0 uvmvnodes 72 2051 0 0 38 0 38 38 0 8 0 vnodes 208 2051 0 0 108 0 108 108 0 8 0 namei 1024 7372 0 7372 2 1 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 11 0 3 1 0 1 1 0 8 0 pfiaddrpl 120 24 0 24 3 2 1 1 0 8 1 scxspl 192 8185 0 8185 1 0 1 1 0 8 1 plimitpl 152 54 0 46 1 0 1 1 0 8 0 sigapl 424 585 0 555 4 0 4 4 0 8 0 futexpl 56 6631 0 6631 2 1 1 1 0 8 1 knotepl 112 94 0 75 1 0 1 1 0 8 0 kqueuepl 144 40 0 37 1 0 1 1 0 8 0 pipepl 272 117 0 107 1 0 1 1 0 8 0 fdescpl 432 570 0 555 2 0 2 2 0 8 0 filepl 120 3287 0 3188 4 0 4 4 0 8 0 lockfpl 104 330 0 329 1 0 1 1 0 8 0 lockfspl 48 87 0 86 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 327 0 320 1 0 1 1 0 8 0 zombiepl 144 555 0 555 1 0 1 1 0 8 1 processpl 928 585 0 555 4 0 4 4 0 8 0 procpl 624 989 0 950 5 1 4 4 0 8 0 sockpl 400 553 0 536 4 1 3 3 0 8 1 mcl64k 65536 27 0 25 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 9 0 9 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 2 2 0 1 0 8 0 mcl8k 8192 9 0 9 4 3 1 1 0 8 1 mcl4k 4096 28 0 28 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 77399 0 77351 17 10 7 14 0 8 0 mtagpl 96 57 0 12 3 1 2 2 0 8 0 mbufpl 256 125435 0 124969 50 10 40 43 0 8 4 bufpl 280 5726 0 374 383 0 383 383 0 8 0 anonpl 16 70064 0 53488 89 7 82 82 0 107 14 amapchunkpl 152 3201 0 3045 26 10 16 19 0 158 8 amappl16 192 2473 0 1539 51 3 48 48 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 142 0 136 1 0 1 1 0 8 0 amappl13 168 88 0 85 1 0 1 1 0 8 0 amappl12 160 24 0 21 1 0 1 1 0 8 0 amappl11 152 231 0 220 1 0 1 1 0 8 0 amappl10 144 17 0 14 1 0 1 1 0 8 0 amappl9 136 387 0 384 1 0 1 1 0 8 0 amappl8 128 348 0 304 2 0 2 2 0 8 0 amappl7 120 113 0 101 1 0 1 1 0 8 0 amappl6 112 184 0 179 1 0 1 1 0 8 0 amappl5 104 461 0 447 1 0 1 1 0 8 0 amappl4 96 493 0 463 1 0 1 1 0 8 0 amappl3 88 226 0 220 1 0 1 1 0 8 0 amappl2 80 3412 0 3338 2 0 2 2 0 8 0 amappl1 72 19302 0 18878 23 14 9 17 0 8 0 amappl 80 1237 0 1187 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 581 0 558 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 581 0 558 1 0 1 1 0 8 0 vmmpekpl 168 7578 0 7549 2 0 2 2 0 8 0 vmmpepl 168 73845 0 71674 137 30 107 121 0 357 12 vmsppl 272 580 0 558 2 0 2 2 0 8 0 pdppl 4096 1168 0 1124 7 1 6 6 0 8 0 pvpl 32 234577 0 215150 241 9 232 234 0 265 75 pmappl 200 580 0 558 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 293 0 34 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(ffffffff823d1407) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5024b0,0,ffff80001d6e5d38,0,0,ffff80001d6e5c44) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805fbf72d0,ffff80001d6e5d38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5d38,0,ffff80001d6e5e20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5dd0,ffff80001d6e5e20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ea0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1890, 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(ffffffff823d1407) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5024b0,0,ffff80001d6e5d38,0,0,ffff80001d6e5c44) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd805fbf72d0,ffff80001d6e5d38,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5d38,0,ffff80001d6e5e20) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5dd0,ffff80001d6e5e20) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ea0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1890, count: -8