panic: receive 1: so 0xfffffd803a41d480, so_type 3, sb_cc 48 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 8866 19502 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd803a41d480,0,ffff800014885df8,0,0,ffff800014885d04) at soreceive+0x16ac sys/kern/uipc_socket.c:798 soo_read(fffffd8037562528,ffff800014885df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff800014885df8,0,ffff800014885ee0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff93c8,ffff800014885e90,ffff800014885ee0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800014885f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdacf0, 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 0xfffffd803a41d480, so_type 3, sb_cc 48 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd803a41d480,0,ffff800014885df8,0,0,ffff800014885d04) at soreceive+0x16ac sys/kern/uipc_socket.c:798 soo_read(fffffd8037562528,ffff800014885df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff93c8,6,ffff800014885df8,0,ffff800014885ee0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff93c8,ffff800014885e90,ffff800014885ee0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800014885f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdacf0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800014885b40 rbx 0xffff800014885bf0 rdx 0x2 rcx 0 rax 0 r8 0xffff800014885b00 r9 0x1 r10 0 r11 0xf193ef27f01ae999 r12 0x3000000008 r13 0xffff800014885b50 r14 0x100 r15 0x1 rip 0xffffffff81038768 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014885b30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=8866 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffff8000ffff9650 process=0xffff8000ffff66d0 user=0xffff800014881000, vmspace=0xfffffd803f012000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 2497 460927 12070 0 2 0 syz-executor.0 2497 487612 12070 0 3 0x4000000 tqbar syz-executor.0 5373 252335 46187 0 2 0 syz-executor.1 5373 69555 46187 0 2 0x4000000 syz-executor.1 31576 215393 0 0 3 0x14200 acct acct 12070 167249 86003 0 3 0x82 nanosleep syz-executor.0 16079 276708 0 0 3 0x14200 bored sosplice 46187 207291 86003 0 3 0x82 nanosleep syz-executor.1 86003 82088 47373 0 3 0x82 thrsleep syz-fuzzer 86003 250873 47373 0 3 0x4000082 thrsleep syz-fuzzer 86003 144341 47373 0 3 0x4000082 thrsleep syz-fuzzer 86003 175188 47373 0 3 0x4000082 thrsleep syz-fuzzer 86003 188352 47373 0 3 0x4000082 kqread syz-fuzzer 86003 376538 47373 0 3 0x4000082 thrsleep syz-fuzzer 86003 441244 47373 0 3 0x4000082 thrsleep syz-fuzzer 86003 393158 47373 0 3 0x4000082 thrsleep syz-fuzzer 47373 27014 54788 0 3 0x10008a pause ksh 54788 243345 94252 0 3 0x92 select sshd 74538 469275 1 0 3 0x100083 ttyin getty 94252 451575 1 0 3 0x80 select sshd 19924 510213 96924 73 3 0x100090 kqread syslogd 96924 307590 1 0 3 0x100082 netio syslogd 36003 71297 1 77 2 0x100010 dhclient *19502 8866 1 0 7 0 dhclient 4397 289790 0 0 2 0x14200 zerothread 78234 363932 0 0 3 0x14200 aiodoned aiodoned 97924 57722 0 0 3 0x14200 syncer update 88546 287697 0 0 3 0x14200 cleaner cleaner 5981 223558 0 0 3 0x14200 reaper reaper 61306 148858 0 0 3 0x14200 pgdaemon pagedaemon 52458 38833 0 0 3 0x14200 bored crynlk 17232 380960 0 0 3 0x14200 bored crypto 66061 116930 0 0 3 0x40014200 acpi0 acpi0 55160 52853 0 0 2 0x14200 softnet 96717 234565 0 0 3 0x14200 bored systqmp 60834 255916 0 0 3 0x14200 bored systq 99848 293393 0 0 3 0x40014200 bored softclock 83132 64083 0 0 3 0x40014200 idle0 73998 123482 0 0 3 0x14200 bored smr 1 345592 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 Kern Lim devbuf 9525 6364K 8025K 78643K 13608 0 0 pcb 13 8K 9K 78643K 217 0 0 rtable 100 5K 6K 78643K 2789 0 0 ifaddr 106 17K 17K 78643K 223 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 51 0 0 iov 0 0K 24K 78643K 205 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1233 77K 78K 78643K 2080 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 16 0 0 VM map 14 3K 3K 78643K 16 0 0 sem 12 0K 0K 78643K 1081 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 6 17K 25K 78643K 1636 0 0 sigio 0 0K 0K 78643K 702 0 0 proc 50 38K 55K 78643K 475 0 0 subproc 32 2K 2K 78643K 51 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 115 0 0 in_multi 64 3K 3K 78643K 113 0 0 ether_multi 1 0K 0K 78643K 2 0 0 mrt 0 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 617 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 134 120K 120K 78643K 4696 0 0 UVM aobj 75 5K 5K 78643K 85 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 151 0 0 NDP 15 0K 0K 78643K 47 0 0 temp 148 3535K 4163K 78643K 56323 0 0 kqueue 0 0K 0K 78643K 4 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 8 1 0 1 1 0 8 0 rtpcb 80 2972 0 2970 1 0 1 1 0 8 0 rtentry 112 77 0 42 2 0 2 2 0 8 0 unpcb 120 539 0 531 1 0 1 1 0 8 0 syncache 264 12 0 12 4 4 0 1 0 8 0 tcpqe 32 3 0 3 3 3 0 1 0 8 0 tcpcb 544 373 0 369 3 2 1 2 0 8 0 ipq 40 16 0 16 3 3 0 1 0 8 0 ipqe 40 468 0 468 3 3 0 1 0 8 0 inpcb 280 1030 0 1023 6 5 1 4 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 9 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 17 0 17 6 5 1 1 0 8 1 art_heap8 4096 4 0 1 4 1 3 3 0 8 0 art_heap4 256 394 0 190 16 3 13 14 0 8 0 art_table 32 398 0 191 2 0 2 2 0 8 0 art_node 16 74 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 0 1 0 1 1 0 8 0 semapl 112 1079 0 1069 1 0 1 1 0 8 0 shmpl 112 83 0 10 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3818 0 2366 47 0 47 47 0 8 0 ffsino 240 3818 0 2366 86 0 86 86 0 8 0 nchpl 144 6566 0 4944 61 0 61 61 0 8 0 uvmvnodes 72 4460 0 0 82 0 82 82 0 8 0 vnodes 208 4460 0 0 235 0 235 235 0 8 0 namei 1024 22777 0 22777 1 0 1 1 0 8 1 vcpupl 1984 12 0 0 2 0 2 2 0 8 0 vmpool 520 14 0 2 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 20356 0 20356 15 13 2 7 0 8 2 plimitpl 152 83 0 76 1 0 1 1 0 8 0 sigapl 432 1803 0 1789 2 0 2 2 0 8 0 futexpl 56 53836 0 53836 1 0 1 1 0 8 1 knotepl 112 177 0 158 1 0 1 1 0 8 0 kqueuepl 104 269 0 267 1 0 1 1 0 8 0 pipepl 128 3584 0 3563 5 3 2 2 0 8 1 fdescpl 424 1804 0 1789 2 0 2 2 0 8 0 filepl 120 19307 0 19204 7 2 5 5 0 8 1 lockfpl 104 926 0 924 1 0 1 1 0 8 0 lockfspl 48 371 0 369 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 24 0 14 1 0 1 1 0 8 0 ucredpl 96 3932 0 3925 1 0 1 1 0 8 0 zombiepl 144 1789 0 1789 1 0 1 1 0 8 1 processpl 864 1820 0 1789 4 0 4 4 0 8 0 procpl 632 3909 0 3869 4 0 4 4 0 8 0 sosppl 128 10 0 10 4 3 1 1 0 8 1 sockpl 384 4567 0 4550 12 8 4 7 0 8 2 mcl64k 65536 197 0 197 16 15 1 7 0 8 1 mcl16k 16384 27 0 27 4 3 1 1 0 8 1 mcl12k 12288 29 0 29 5 4 1 1 0 8 1 mcl9k 9216 10 0 10 6 5 1 1 0 8 1 mcl8k 8192 42 0 42 3 2 1 1 0 8 1 mcl4k 4096 169 0 169 3 2 1 1 0 8 1 mcl2k2 2112 25 0 25 6 5 1 1 0 8 1 mcl2k 2048 72787 0 72741 20 13 7 15 0 8 0 mtagpl 80 49 0 30 3 2 1 1 0 8 0 mbufpl 256 136581 0 136463 80 59 21 29 0 8 4 bufpl 256 11561 0 6234 334 0 334 334 0 8 0 anonpl 16 160238 0 139701 106 20 86 101 0 62 0 amapchunkpl 152 7261 0 7100 19 12 7 12 0 158 0 amappl16 192 8832 0 7664 81 21 60 71 0 8 1 amappl14 176 61 0 56 1 0 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 11 0 11 2 2 0 1 0 8 0 amappl11 152 767 0 753 1 0 1 1 0 8 0 amappl10 144 667 0 665 1 0 1 1 0 8 0 amappl9 136 724 0 717 1 0 1 1 0 8 0 amappl8 128 390 0 357 2 0 2 2 0 8 0 amappl7 120 694 0 690 1 0 1 1 0 8 0 amappl6 112 763 0 754 1 0 1 1 0 8 0 amappl5 104 293 0 283 1 0 1 1 0 8 0 amappl4 96 2030 0 1999 1 0 1 1 0 8 0 amappl3 88 139 0 132 1 0 1 1 0 8 0 amappl2 80 13617 0 13542 3 1 2 3 0 8 0 amappl1 72 42617 0 42199 26 17 9 20 0 8 0 amappl 80 4158 0 4105 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 84 0 10 2 0 2 2 0 8 0 uaddrrnd 24 1818 0 1789 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1818 0 1789 1 0 1 1 0 8 0 vmmpekpl 168 18501 0 18471 2 0 2 2 0 8 0 vmmpepl 168 216390 0 214023 176 50 126 143 0 357 22 vmsppl 272 1803 0 1789 2 1 1 2 0 8 0 pdppl 4096 3642 0 3594 8 1 7 7 0 8 0 pvpl 32 445857 0 422442 237 42 195 233 0 265 1 pmappl 200 1817 0 1791 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 585 0 104 14 0 14 14 0 8 0