panic: receive 1: so 0xfffffd805e56b190, so_type 3, sb_cc 3848 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *459357 43303 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c78fb) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56b190,0,ffff80001d372188,0,0,ffff80001d372094) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80635ad5a0,ffff80001d372188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372188,0,ffff80001d372270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372220,ffff80001d372270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3722f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc160, 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 0xfffffd805e56b190, so_type 3, sb_cc 3848 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c78fb) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56b190,0,ffff80001d372188,0,0,ffff80001d372094) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd80635ad5a0,ffff80001d372188,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372188,0,ffff80001d372270) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372220,ffff80001d372270) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3722f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc160, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371ed0 rbx 0xffff80001d371f80 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371e90 r9 0x1 r10 0 r11 0x756b8059d160c17d r12 0x3000000008 r13 0xffff80001d371ee0 r14 0x100 r15 0x1 rip 0xffffffff81ee5cd8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371ec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=459357 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d3399d8 process=0xffff8000ffffa740 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46051 414748 66517 0 2 0 syz-executor.0 46051 314268 66517 0 2 0x4000000 syz-executor.0 66517 474269 12163 0 2 0x482 syz-executor.0 17899 285651 0 0 3 0x14200 bored sosplice 11615 238769 12163 0 2 0x2 syz-executor.1 12163 105825 90912 0 3 0x82 thrsleep syz-fuzzer 12163 238276 90912 0 2 0x4000482 syz-fuzzer 12163 180876 90912 0 3 0x4000082 thrsleep syz-fuzzer 12163 360949 90912 0 3 0x4000082 thrsleep syz-fuzzer 12163 450463 90912 0 3 0x4000082 kqread syz-fuzzer 12163 229690 90912 0 3 0x4000082 thrsleep syz-fuzzer 12163 373536 90912 0 3 0x4000082 thrsleep syz-fuzzer 12163 324688 90912 0 3 0x4000082 thrsleep syz-fuzzer 90912 309822 27308 0 3 0x10008a pause ksh 27308 422152 93865 0 3 0x92 select sshd 35567 317054 1 0 3 0x100083 ttyin getty 93865 74965 1 0 3 0x80 select sshd 7617 379406 23669 73 3 0x100090 kqread syslogd 23669 488923 1 0 3 0x100082 netio syslogd 89782 425400 1 77 2 0x100010 dhclient *43303 459357 1 0 7 0 dhclient 51543 365588 0 0 3 0x14200 bored smr 35549 180081 0 0 2 0x14200 zerothread 48093 268323 0 0 3 0x14200 aiodoned aiodoned 57672 292612 0 0 3 0x14200 syncer update 6020 9823 0 0 3 0x14200 cleaner cleaner 22386 292151 0 0 3 0x14200 reaper reaper 96883 286334 0 0 3 0x14200 pgdaemon pagedaemon 7443 52594 0 0 3 0x14200 bored crynlk 84413 424451 0 0 3 0x14200 bored crypto 92657 311066 0 0 3 0x40014200 acpi0 acpi0 86669 348667 0 0 3 0x14200 bored softnet 43489 68878 0 0 2 0x14200 systqmp 64972 284902 0 0 3 0x14200 bored systq 70739 319114 0 0 3 0x40014200 bored softclock 80223 239627 0 0 3 0x40014200 idle0 1 11523 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 9506 6351K 6844K 78643K 11439 0 pcb 13 8K 8K 78643K 143 0 rtable 51 1K 3K 78643K 377 0 ifaddr 61 12K 14K 78643K 128 0 counters 20 16K 16K 78643K 27 0 ioctlops 0 0K 2K 78643K 44 0 iov 0 0K 16K 78643K 74 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1540 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 569 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 63K 78643K 436 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 47 0 in_multi 35 1K 2K 78643K 133 0 ether_multi 1 0K 0K 78643K 28 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 245 0 pfkey data 0 0K 1K 78643K 2 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 101 53K 54K 78643K 2118 0 UVM aobj 22 2K 4K 78643K 33 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 137 0 NDP 11 0K 0K 78643K 24 0 temp 102 3036K 3109K 78643K 7997 0 kqueue 3 4K 8K 78643K 13 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 13 0 11 1 0 1 1 0 8 0 rtpcb 80 43 0 41 1 0 1 1 0 8 0 rtentry 112 77 0 63 2 0 2 2 0 8 0 unpcb 120 251 0 243 1 0 1 1 0 8 0 syncache 264 10 0 10 3 2 1 1 0 8 1 tcpqe 32 312 0 312 1 1 0 1 0 8 0 tcpcb 544 251 0 247 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 669 0 660 4 2 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 10 0 10 1 0 1 1 0 8 1 pkpcb 40 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 283 0 166 13 2 11 13 0 8 1 art_table 32 285 0 166 2 0 2 2 0 8 0 art_node 16 76 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 31 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2176 0 776 46 0 46 46 0 8 0 ffsino 240 2176 0 776 83 0 83 83 0 8 0 nchpl 144 3313 0 1712 61 0 61 61 0 8 0 uvmvnodes 72 2462 0 0 45 0 45 45 0 8 0 vnodes 208 2462 0 0 130 0 130 130 0 8 0 namei 1024 8995 0 8994 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 14 0 8 2 1 1 1 0 8 0 scxspl 192 9424 0 9424 1 0 1 1 0 8 1 plimitpl 152 47 0 40 1 0 1 1 0 8 0 sigapl 424 755 0 726 4 0 4 4 0 8 0 futexpl 56 9664 0 9664 1 0 1 1 0 8 1 knotepl 112 79 0 60 1 0 1 1 0 8 0 kqueuepl 144 70 0 68 1 0 1 1 0 8 0 pipelkpl 16 141 0 131 1 0 1 1 0 8 0 pipepl 120 282 0 263 1 0 1 1 0 8 0 fdescpl 432 738 0 724 2 0 2 2 0 8 0 filepl 120 4394 0 4297 4 0 4 4 0 8 1 lockfpl 104 106 0 105 1 0 1 1 0 8 0 lockfspl 48 42 0 41 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 322 0 315 1 0 1 1 0 8 0 zombiepl 144 726 0 726 1 0 1 1 0 8 1 processpl 920 755 0 726 4 0 4 4 0 8 0 procpl 624 1338 0 1301 4 0 4 4 0 8 0 sosppl 128 13 0 13 1 1 0 1 0 8 0 sockpl 400 967 0 948 5 1 4 4 0 8 2 mcl64k 65536 50 0 50 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 1 1 0 1 0 8 0 mcl9k 9216 7 0 7 3 2 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 40 0 40 2 1 1 1 0 8 1 mcl2k 2048 61492 0 61441 22 14 8 17 0 8 1 mtagpl 80 22 0 22 2 1 1 1 0 8 1 mbufpl 256 101476 0 101352 23 9 14 21 0 8 3 bufpl 280 5031 0 167 348 0 348 348 0 8 0 anonpl 16 84245 0 69631 83 9 74 74 0 107 15 amapchunkpl 152 5859 0 5722 21 11 10 19 0 158 3 amappl16 192 3948 0 3147 55 6 49 51 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 38 0 35 1 0 1 1 0 8 0 amappl12 160 17 0 16 1 0 1 1 0 8 0 amappl11 152 285 0 273 1 0 1 1 0 8 0 amappl10 144 66 0 60 1 0 1 1 0 8 0 amappl9 136 376 0 373 1 0 1 1 0 8 0 amappl8 128 289 0 275 1 0 1 1 0 8 0 amappl7 120 169 0 156 1 0 1 1 0 8 0 amappl6 112 212 0 208 1 0 1 1 0 8 0 amappl5 104 618 0 606 1 0 1 1 0 8 0 amappl4 96 455 0 427 1 0 1 1 0 8 0 amappl3 88 113 0 107 1 0 1 1 0 8 0 amappl2 80 4578 0 4515 3 1 2 3 0 8 0 amappl1 72 21533 0 21122 26 16 10 20 0 8 0 amappl 80 1608 0 1564 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 32 0 11 1 0 1 1 0 8 0 uaddrrnd 24 752 0 732 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 752 0 732 1 0 1 1 0 8 0 vmmpekpl 168 8442 0 8415 2 0 2 2 0 8 0 vmmpepl 168 91023 0 89143 138 29 109 124 0 357 21 vmsppl 272 751 0 732 3 1 2 2 0 8 0 pdppl 4096 1510 0 1470 7 1 6 6 0 8 0 pvpl 32 237321 0 220342 180 8 172 174 0 265 33 pmappl 200 751 0 732 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 176 0 33 5 0 5 5 0 8 0