panic: receive 1: so 0xfffffd805f2eb4b0, so_type 3, sb_cc 256 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *321630 37522 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f2eb4b0,0,ffff80001d771e68,0,0,ffff80001d771d74) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f3f3618,ffff80001d771e68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739278,6,ffff80001d771e68,0,ffff80001d771f50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739278,ffff80001d771f00,ffff80001d771f50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d771fd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0130, 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 0xfffffd805f2eb4b0, so_type 3, sb_cc 256 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f2eb4b0,0,ffff80001d771e68,0,0,ffff80001d771d74) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f3f3618,ffff80001d771e68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739278,6,ffff80001d771e68,0,ffff80001d771f50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739278,ffff80001d771f00,ffff80001d771f50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d771fd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0130, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d771bb0 rbx 0xffff80001d771c60 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81ca883f kprintf+0x15f r9 0x1 r10 0x2 r11 0x6e6ae4120459eec9 r12 0x3000000008 r13 0xffff80001d771bc0 r14 0x100 r15 0x1 rip 0xffffffff81963dc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d771ba0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=321630 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d73a388,0xffff80001d739018 process=0xffff8000ffffa3a8 user=0xffff80001d76d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3205 488294 57259 0 2 0 syz-executor.0 3205 200755 57259 0 3 0x4000000 smrbar syz-executor.0 23450 133811 0 0 3 0x14200 bored sosplice 57259 510076 91076 0 3 0x82 nanosleep syz-executor.0 32293 353225 91076 0 3 0x82 piperd syz-executor.1 91076 187316 32908 0 3 0x82 thrsleep syz-fuzzer 91076 28193 32908 0 3 0x4000082 nanosleep syz-fuzzer 91076 499521 32908 0 2 0x4000002 syz-fuzzer 91076 89514 32908 0 3 0x4000082 thrsleep syz-fuzzer 91076 380155 32908 0 3 0x4000082 thrsleep syz-fuzzer 91076 458057 32908 0 3 0x4000082 thrsleep syz-fuzzer 91076 156796 32908 0 3 0x4000082 thrsleep syz-fuzzer 32908 410106 19440 0 3 0x10008a pause ksh 19440 79011 77357 0 3 0x92 select sshd 95400 438497 1 0 3 0x100083 ttyin getty 77357 396700 1 0 3 0x80 select sshd 47434 384988 29559 73 3 0x100090 kqread syslogd 29559 16635 1 0 3 0x100082 netio syslogd 51855 183489 1 77 3 0x100090 poll dhclient *37522 321630 1 0 7 0 dhclient 76053 167396 0 0 3 0x14200 bored smr 57096 326594 0 0 2 0x14200 zerothread 18875 24076 0 0 3 0x14200 aiodoned aiodoned 64717 301398 0 0 3 0x14200 syncer update 62060 26908 0 0 3 0x14200 cleaner cleaner 11582 83418 0 0 3 0x14200 reaper reaper 53457 384526 0 0 3 0x14200 pgdaemon pagedaemon 7968 439746 0 0 3 0x14200 bored crynlk 72670 116556 0 0 3 0x14200 bored crypto 88491 283821 0 0 3 0x40014200 acpi0 acpi0 23680 183221 0 0 3 0x14200 bored softnet 60162 221568 0 0 3 0x14200 bored systqmp 90113 349011 0 0 3 0x14200 bored systq 63415 417173 0 0 3 0x40014200 bored softclock 55369 278172 0 0 3 0x40014200 idle0 1 501364 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 9516 6357K 6917K 78643K 12334 0 pcb 13 8K 8K 78643K 111 0 rtable 105 11K 12K 78643K 374 0 ifaddr 87 16K 16K 78643K 177 0 counters 22 16K 17K 78643K 38 0 ioctlops 0 0K 2K 78643K 35 0 iov 0 0K 16K 78643K 78 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 78K 78643K 1685 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 114 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 456 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 54K 78643K 384 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 23 0 in_multi 63 3K 3K 78643K 122 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 4 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 213 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 114 54K 56K 78643K 1932 0 UVM aobj 17 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 62 0 NDP 14 0K 0K 78643K 40 0 temp 130 3036K 3100K 78643K 7090 0 kqueue 3 4K 10K 78643K 17 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 39 0 37 1 0 1 1 0 8 0 rtentry 112 71 0 30 2 0 2 2 0 8 0 unpcb 120 173 0 165 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 166 0 166 3 3 0 1 0 8 0 tcpcb 544 232 0 228 2 1 1 2 0 8 0 inpcb 280 604 0 597 6 5 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 ppxss 1128 6 0 6 4 4 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 333 0 161 15 3 12 13 0 8 0 art_table 32 334 0 161 2 0 2 2 0 8 0 art_node 16 70 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 27 0 11 1 0 1 1 0 8 0 semapl 112 112 0 102 1 0 1 1 0 8 0 shmpl 112 17 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2053 0 662 88 0 88 88 0 8 0 ffsino 240 2053 0 662 83 0 83 83 0 8 0 nchpl 144 2839 0 1236 60 0 60 60 0 8 0 uvmvnodes 72 2475 0 0 45 0 45 45 0 8 0 vnodes 208 2475 0 0 131 0 131 131 0 8 0 namei 1024 7722 0 7722 2 1 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 10 0 6 1 0 1 1 0 8 0 scxspl 192 9982 0 9982 1 0 1 1 0 8 1 plimitpl 152 48 0 41 1 0 1 1 0 8 0 sigapl 424 643 0 614 4 0 4 4 0 8 0 futexpl 56 8682 0 8682 2 1 1 1 0 8 1 knotepl 112 80 0 61 1 0 1 1 0 8 0 kqueuepl 144 64 0 61 1 0 1 1 0 8 0 pipelkpl 16 316 0 306 1 0 1 1 0 8 0 pipepl 120 632 0 613 2 1 1 2 0 8 0 fdescpl 432 628 0 614 2 0 2 2 0 8 0 filepl 120 3983 0 3888 4 0 4 4 0 8 1 lockfpl 104 109 0 108 1 0 1 1 0 8 0 lockfspl 48 36 0 35 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 418 0 411 1 0 1 1 0 8 0 zombiepl 144 614 0 614 1 0 1 1 0 8 1 processpl 920 643 0 614 4 0 4 4 0 8 0 procpl 624 1213 0 1177 10 6 4 4 0 8 1 sosppl 128 17 0 17 4 3 1 1 0 8 1 sockpl 400 819 0 802 5 2 3 4 0 8 1 mcl64k 65536 53 0 53 9 8 1 1 0 8 1 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 14 0 14 9 8 1 1 0 8 1 mcl9k 9216 9 0 9 5 4 1 1 0 8 1 mcl8k 8192 8 0 8 6 6 0 1 0 8 0 mcl4k 4096 43 0 43 8 7 1 1 0 8 1 mcl2k2 2112 3 0 3 3 3 0 1 0 8 0 mcl2k 2048 62868 0 62802 24 15 9 18 0 8 0 mtagpl 80 34 0 2 2 1 1 1 0 8 0 mbufpl 256 102948 0 102713 33 11 22 22 0 8 0 bufpl 280 4418 0 141 306 0 306 306 0 8 0 anonpl 16 67530 0 53016 82 23 59 74 0 107 0 amapchunkpl 152 3009 0 2884 22 16 6 13 0 158 0 amappl16 192 3315 0 2510 58 17 41 51 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 41 0 35 1 0 1 1 0 8 0 amappl13 168 37 0 35 1 0 1 1 0 8 0 amappl12 160 9 0 5 1 0 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 13 0 8 1 0 1 1 0 8 0 amappl9 136 333 0 332 1 0 1 1 0 8 0 amappl8 128 310 0 281 1 0 1 1 0 8 0 amappl7 120 115 0 102 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 597 0 583 1 0 1 1 0 8 0 amappl4 96 441 0 413 1 0 1 1 0 8 0 amappl3 88 127 0 120 1 0 1 1 0 8 0 amappl2 80 3919 0 3853 2 0 2 2 0 8 0 amappl1 72 20473 0 20071 24 15 9 17 0 8 0 amappl 80 1457 0 1416 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 18 0 2 1 0 1 1 0 8 0 uaddrrnd 24 638 0 620 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 638 0 620 1 0 1 1 0 8 0 vmmpekpl 168 8575 0 8546 2 0 2 2 0 8 0 vmmpepl 168 80533 0 78671 122 40 82 103 0 357 1 vmsppl 272 637 0 620 3 1 2 2 0 8 0 pdppl 4096 1282 0 1244 7 1 6 6 0 8 1 pvpl 32 225049 0 207577 196 54 142 176 0 265 1 pmappl 200 637 0 620 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 303 0 66 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(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f2eb4b0,0,ffff80001d771e68,0,0,ffff80001d771d74) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f3f3618,ffff80001d771e68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739278,6,ffff80001d771e68,0,ffff80001d771f50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739278,ffff80001d771f00,ffff80001d771f50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d771fd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0130, 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(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805f2eb4b0,0,ffff80001d771e68,0,0,ffff80001d771d74) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f3f3618,ffff80001d771e68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d739278,6,ffff80001d771e68,0,ffff80001d771f50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d739278,ffff80001d771f00,ffff80001d771f50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d771fd0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0130, count: -8