panic: receive 1a: so 0xfffffd805e502190, so_type 3, m 0xfffffd805350ff00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *101771 85561 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5b7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e502190,0,ffff80001d6e4df8,0,0,ffff80001d6e4d04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80623f7528,ffff80001d6e4df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e4df8,0,ffff80001d6e4ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e4e90,ffff80001d6e4ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff77b0, 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 0xfffffd805e502190, so_type 3, m 0xfffffd805350ff00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ce5b7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e502190,0,ffff80001d6e4df8,0,0,ffff80001d6e4d04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80623f7528,ffff80001d6e4df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e4df8,0,ffff80001d6e4ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e4e90,ffff80001d6e4ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff77b0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4b40 rbx 0xffff80001d6e4bf0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff82221edf kprintf+0x15f r9 0x1 r10 0x2 r11 0x7c4ed5184851f551 r12 0x3000000008 r13 0xffff80001d6e4b50 r14 0x100 r15 0x1 rip 0xffffffff81061658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4b30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=101771 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9018 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09550 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 69597 449548 99235 0 2 0 syz-executor.0 69597 394089 99235 0 2 0x4000000 syz-executor.0 55372 200501 0 0 3 0x14200 bored sosplice 1141 492009 13578 0 2 0x2 syz-executor.1 99235 155504 13578 0 3 0x82 nanosleep syz-executor.0 13578 401333 84981 0 3 0x82 thrsleep syz-fuzzer 13578 3947 84981 0 3 0x4000082 nanosleep syz-fuzzer 13578 499077 84981 0 3 0x4000082 kqread syz-fuzzer 13578 200609 84981 0 3 0x4000082 thrsleep syz-fuzzer 13578 69933 84981 0 3 0x4000082 thrsleep syz-fuzzer 13578 370357 84981 0 3 0x4000082 thrsleep syz-fuzzer 13578 364711 84981 0 3 0x4000082 thrsleep syz-fuzzer 13578 355900 84981 0 3 0x4000082 thrsleep syz-fuzzer 13578 297105 84981 0 3 0x4000082 thrsleep syz-fuzzer 84981 67453 61129 0 3 0x10008a pause ksh 61129 282111 36181 0 3 0x92 select sshd 79710 253163 1 0 3 0x100083 ttyin getty 36181 102853 1 0 3 0x80 select sshd 54752 289438 56098 73 3 0x100090 kqread syslogd 56098 86570 1 0 3 0x100082 netio syslogd 57943 413610 1 77 2 0x100010 dhclient *85561 101771 1 0 7 0 dhclient 255 400249 0 0 3 0x14200 bored smr 98581 307950 0 0 2 0x14200 zerothread 77035 153340 0 0 3 0x14200 aiodoned aiodoned 997 36445 0 0 3 0x14200 syncer update 69782 497704 0 0 3 0x14200 cleaner cleaner 57275 387469 0 0 3 0x14200 reaper reaper 26390 143447 0 0 3 0x14200 pgdaemon pagedaemon 28821 401011 0 0 3 0x14200 bored crynlk 93091 463724 0 0 3 0x14200 bored crypto 13590 392615 0 0 3 0x40014200 acpi0 acpi0 37141 14318 0 0 2 0x14200 softnet 3565 207388 0 0 3 0x14200 bored systqmp 83072 292492 0 0 3 0x14200 bored systq 94169 364937 0 0 2 0x40014200 softclock 38515 377106 0 0 3 0x40014200 idle0 1 415976 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 9463 6391K 6710K 78643K 10695 0 pcb 13 8K 8K 78643K 35 0 rtable 110 4K 4K 78643K 217 0 ifaddr 45 10K 10K 78643K 60 0 counters 22 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 25 0 iov 0 0K 12K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1264 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 0K 1K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 122 0 sigio 1 0K 0K 78643K 3 0 proc 49 38K 54K 78643K 377 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 12 0 in_multi 33 2K 2K 78643K 62 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 187 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 23K 23K 78643K 1115 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 6 0K 0K 78643K 17 0 temp 66 3849K 3913K 78643K 1994 0 kqueue 3 4K 9K 78643K 11 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 51 0 7 2 0 2 2 0 8 0 unpcb 120 66 0 57 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 166 0 166 1 0 1 1 0 8 1 tcpcb 544 36 0 32 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 8 0 8 1 0 1 1 0 8 1 inpcb 296 132 0 125 2 0 2 2 0 8 1 nd6 48 12 0 6 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfrule 1360 4 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 50 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1538 0 137 88 0 88 88 0 8 0 ffsino 240 1538 0 137 83 0 83 83 0 8 0 nchpl 144 1881 0 275 60 0 60 60 0 8 0 uvmvnodes 72 1611 0 0 30 0 30 30 0 8 0 vnodes 208 1611 0 0 85 0 85 85 0 8 0 namei 1024 4866 0 4865 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 scxspl 192 5365 0 5365 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 424 309 0 280 4 0 4 4 0 8 0 futexpl 56 1927 0 1927 1 0 1 1 0 8 1 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 144 14 0 12 1 0 1 1 0 8 0 pipepl 272 74 0 64 1 0 1 1 0 8 0 fdescpl 432 294 0 280 2 0 2 2 0 8 0 filepl 120 1589 0 1493 4 0 4 4 0 8 1 lockfpl 104 30 0 29 1 0 1 1 0 8 0 lockfspl 48 14 0 13 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 79 0 72 1 0 1 1 0 8 0 zombiepl 144 280 0 280 1 0 1 1 0 8 1 processpl 928 309 0 280 4 0 4 4 0 8 0 procpl 624 420 0 382 4 0 4 4 0 8 0 sosppl 128 8 0 8 1 0 1 1 0 8 1 sockpl 400 224 0 206 3 0 3 3 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 11 0 11 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 93003 0 92957 15 1 14 14 0 8 7 mtagpl 96 11 0 2 2 1 1 1 0 8 0 mbufpl 256 147366 0 147220 14 2 12 12 0 8 0 bufpl 280 3370 0 125 232 0 232 232 0 8 0 anonpl 16 44636 0 28783 73 2 71 71 0 107 1 amapchunkpl 152 1106 0 960 7 0 7 7 0 158 1 amappl16 192 1487 0 540 48 0 48 48 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 22 0 18 1 0 1 1 0 8 0 amappl13 168 34 0 30 1 0 1 1 0 8 0 amappl12 160 7 0 3 1 0 1 1 0 8 0 amappl11 152 48 0 39 1 0 1 1 0 8 0 amappl10 144 53 0 49 1 0 1 1 0 8 0 amappl9 136 376 0 375 1 0 1 1 0 8 0 amappl8 128 327 0 284 2 0 2 2 0 8 0 amappl7 120 154 0 141 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 224 0 214 1 0 1 1 0 8 0 amappl4 96 421 0 393 1 0 1 1 0 8 0 amappl3 88 108 0 102 1 0 1 1 0 8 0 amappl2 80 1511 0 1446 2 0 2 2 0 8 0 amappl1 72 15579 0 15156 23 9 14 17 0 8 4 amappl 80 640 0 597 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 294 0 280 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 294 0 280 1 0 1 1 0 8 0 vmmpekpl 168 5981 0 5955 2 0 2 2 0 8 0 vmmpepl 168 43512 0 41455 123 5 118 118 0 357 28 vmsppl 272 293 0 280 2 0 2 2 0 8 1 pdppl 4096 594 0 560 6 0 6 6 0 8 1 pvpl 32 145112 0 126269 166 0 166 166 0 265 1 pmappl 200 293 0 280 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 241 0 6 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(ffffffff823ce5b7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e502190,0,ffff80001d6e4df8,0,0,ffff80001d6e4d04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80623f7528,ffff80001d6e4df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e4df8,0,ffff80001d6e4ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e4e90,ffff80001d6e4ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff77b0, 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(ffffffff823ce5b7) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e502190,0,ffff80001d6e4df8,0,0,ffff80001d6e4d04) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80623f7528,ffff80001d6e4df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e4df8,0,ffff80001d6e4ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e4e90,ffff80001d6e4ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e4f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff77b0, count: -8