panic: receive 1a: so 0xfffffd805e5657d0, so_type 3, m 0xfffffd8052bec600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *350779 67230 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b55db) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5657d0,0,ffff80001d372d48,0,0,ffff80001d372c54) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12258,ffff80001d372d48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372d48,0,ffff80001d372e30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372de0,ffff80001d372e30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372eb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff83c0, 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 0xfffffd805e5657d0, so_type 3, m 0xfffffd8052bec600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b55db) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5657d0,0,ffff80001d372d48,0,0,ffff80001d372c54) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12258,ffff80001d372d48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372d48,0,ffff80001d372e30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372de0,ffff80001d372e30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372eb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff83c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372a90 rbx 0xffff80001d372b40 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372a50 r9 0x1 r10 0 r11 0x1b8ceea57a08445a r12 0x3000000008 r13 0xffff80001d372aa0 r14 0x100 r15 0x1 rip 0xffffffff810c59a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372a80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=350779 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339ea8,0xffff80001d339c48 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67166 276171 69487 0 2 0 syz-executor.0 67166 476166 69487 0 2 0x4000000 syz-executor.0 63022 496879 28669 0 2 0 syz-executor.1 63022 91181 28669 0 2 0x4000000 syz-executor.1 15580 323945 1 0 3 0x100083 ttyin getty 69487 173929 7468 0 3 0x82 nanosleep syz-executor.0 93466 458743 0 0 3 0x14200 bored sosplice 28669 367842 7468 0 3 0x82 nanosleep syz-executor.1 7468 473022 21754 0 3 0x82 thrsleep syz-fuzzer 7468 373476 21754 0 3 0x4000082 nanosleep syz-fuzzer 7468 219728 21754 0 3 0x4000082 thrsleep syz-fuzzer 7468 316769 21754 0 3 0x4000082 thrsleep syz-fuzzer 7468 403647 21754 0 3 0x4000082 kqread syz-fuzzer 7468 105193 21754 0 3 0x4000082 thrsleep syz-fuzzer 7468 406769 21754 0 3 0x4000082 thrsleep syz-fuzzer 7468 6605 21754 0 3 0x4000082 thrsleep syz-fuzzer 21754 213283 86193 0 3 0x10008a pause ksh 86193 451866 21658 0 3 0x92 select sshd 21658 513769 1 0 3 0x80 select sshd 31757 166561 28016 73 3 0x100090 kqread syslogd 28016 357723 1 0 3 0x100082 netio syslogd 97248 166232 1 77 2 0x100010 dhclient *67230 350779 1 0 7 0 dhclient 93071 215863 0 0 2 0x14200 zerothread 47860 56132 0 0 3 0x14200 aiodoned aiodoned 15108 35178 0 0 3 0x14200 syncer update 86074 285160 0 0 3 0x14200 cleaner cleaner 45560 436875 0 0 3 0x14200 reaper reaper 22128 24273 0 0 3 0x14200 pgdaemon pagedaemon 94510 354581 0 0 3 0x14200 bored crynlk 39269 45760 0 0 3 0x14200 bored crypto 16584 117586 0 0 3 0x40014200 acpi0 acpi0 85877 79743 0 0 2 0x14200 softnet 75998 431552 0 0 3 0x14200 bored systqmp 9879 443371 0 0 3 0x14200 bored systq 9072 76617 0 0 3 0x40014200 bored softclock 6033 401036 0 0 3 0x40014200 idle0 22990 307377 0 0 3 0x14200 bored smr 1 63681 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 9522 6368K 7360K 78643K 12941 0 pcb 13 10K 12K 78643K 197 0 rtable 102 7K 8K 78643K 857 0 ifaddr 102 20K 20K 78643K 264 0 counters 22 16K 17K 78643K 48 0 ioctlops 0 0K 2K 78643K 69 0 iov 1 12K 16K 78643K 144 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 78K 78643K 2047 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 110 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 884 0 sigio 0 0K 0K 78643K 12 0 proc 49 38K 55K 78643K 495 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 125 0 in_multi 106 4K 4K 78643K 222 0 ether_multi 1 0K 0K 78643K 30 0 mrt 2 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 273 0 pfkey data 0 0K 0K 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 120 103K 119K 78643K 2962 0 UVM aobj 58 2K 3K 78643K 65 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 210 0 NDP 15 0K 0K 78643K 51 0 temp 144 3022K 3126K 78643K 51241 0 kqueue 3 4K 14K 78643K 80 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 8 1 0 1 1 0 8 0 rtpcb 80 678 0 675 1 0 1 1 0 8 0 rtentry 112 90 0 52 2 0 2 2 0 8 0 unpcb 120 452 0 444 1 0 1 1 0 8 0 syncache 264 19 0 19 5 4 1 1 0 8 1 tcpqe 32 168 0 168 2 1 1 1 0 8 1 tcpcb 544 1183 0 1178 42 32 10 14 0 8 9 ipq 40 7 0 7 3 3 0 1 0 8 0 ipqe 40 149 0 149 3 3 0 1 0 8 0 inpcb 280 1905 0 1897 24 15 9 9 0 8 8 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 12 0 12 2 2 0 1 0 8 0 nd6 48 16 0 12 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 421 0 221 17 4 13 13 0 8 0 art_table 32 423 0 221 2 0 2 2 0 8 0 art_node 16 89 0 54 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 22 1 0 1 1 0 8 0 semapl 112 108 0 98 1 0 1 1 0 8 0 shmpl 112 63 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2951 0 1545 46 0 46 46 0 8 0 ffsino 240 2951 0 1545 84 0 84 84 0 8 0 nchpl 144 4382 0 2790 60 0 60 60 0 8 0 uvmvnodes 72 3499 0 0 64 0 64 64 0 8 0 vnodes 208 3499 0 0 185 0 185 185 0 8 0 namei 1024 13124 0 13124 1 0 1 1 0 8 1 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 528 15 0 6 1 0 1 1 0 8 0 scxspl 192 14692 0 14692 1 0 1 1 0 8 1 plimitpl 152 111 0 104 1 0 1 1 0 8 0 sigapl 432 1054 0 1040 2 0 2 2 0 8 0 futexpl 56 23990 0 23990 1 0 1 1 0 8 1 knotepl 112 166 0 147 1 0 1 1 0 8 0 kqueuepl 144 1124 0 1122 13 8 5 5 0 8 4 pipelkpl 16 278 0 268 1 0 1 1 0 8 0 pipepl 120 556 0 537 2 1 1 2 0 8 0 fdescpl 432 1055 0 1040 2 0 2 2 0 8 0 filepl 120 8975 0 8876 24 13 11 11 0 8 7 lockfpl 104 173 0 171 1 0 1 1 0 8 0 lockfspl 48 60 0 58 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 876 0 869 1 0 1 1 0 8 0 zombiepl 144 1040 0 1040 1 0 1 1 0 8 1 processpl 896 1070 0 1040 4 0 4 4 0 8 0 procpl 624 2155 0 2116 4 0 4 4 0 8 0 sosppl 128 9 0 9 3 2 1 1 0 8 1 sockpl 400 3043 0 3024 40 29 11 14 0 8 8 mcl64k 65536 169 0 169 6 5 1 4 0 8 1 mcl16k 16384 18 0 18 4 3 1 1 0 8 1 mcl12k 12288 28 0 28 4 3 1 1 0 8 1 mcl9k 9216 16 0 16 4 3 1 1 0 8 1 mcl8k 8192 36 0 36 3 2 1 1 0 8 1 mcl4k 4096 106 0 106 1 0 1 1 0 8 1 mcl2k2 2112 11 0 11 4 3 1 1 0 8 1 mcl2k 2048 63777 0 63730 15 8 7 13 0 8 0 mtagpl 80 53 0 28 3 2 1 1 0 8 0 mbufpl 256 109294 0 109121 41 23 18 26 0 8 4 bufpl 280 6969 0 1585 385 0 385 385 0 8 0 anonpl 16 110542 0 94134 104 21 83 83 0 107 17 amapchunkpl 152 5590 0 5446 31 12 19 20 0 158 11 amappl16 192 5488 0 4589 71 18 53 57 0 8 8 amappl15 184 406 0 402 1 0 1 1 0 8 0 amappl14 176 218 0 216 2 1 1 1 0 8 0 amappl13 168 30 0 29 1 0 1 1 0 8 0 amappl12 160 228 0 223 1 0 1 1 0 8 0 amappl11 152 65 0 53 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 381 0 378 1 0 1 1 0 8 0 amappl8 128 322 0 295 1 0 1 1 0 8 0 amappl7 120 114 0 103 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 779 0 764 1 0 1 1 0 8 0 amappl4 96 697 0 666 1 0 1 1 0 8 0 amappl3 88 344 0 339 1 0 1 1 0 8 0 amappl2 80 8228 0 8153 3 1 2 3 0 8 0 amappl1 72 27815 0 27389 24 14 10 20 0 8 0 amappl 80 2440 0 2391 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 64 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1070 0 1046 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1070 0 1046 1 0 1 1 0 8 0 vmmpekpl 168 10000 0 9968 2 0 2 2 0 8 0 vmmpepl 168 130903 0 128813 146 43 103 119 0 357 12 vmsppl 272 1069 0 1046 2 0 2 2 0 8 0 pdppl 4096 2146 0 2101 8 2 6 6 0 8 0 pvpl 32 338333 0 319124 237 41 196 196 0 265 39 pmappl 200 1069 0 1046 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 275 0 110 5 0 5 5 0 8 0