panic: receive 1a: so 0xfffffd805e55f320, so_type 3, m 0xfffffd8053db0600, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *485281 63616 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0ac2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55f320,0,ffff80001d381f68,0,0,ffff80001d381e74) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8062bf35a0,ffff80001d381f68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d381f68,0,ffff80001d382050) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d349278,ffff80001d382000,ffff80001d382050) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3820d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3010, 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 0xfffffd805e55f320, so_type 3, m 0xfffffd8053db0600, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0ac2) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e55f320,0,ffff80001d381f68,0,0,ffff80001d381e74) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8062bf35a0,ffff80001d381f68,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349278,6,ffff80001d381f68,0,ffff80001d382050) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d349278,ffff80001d382000,ffff80001d382050) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3820d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3010, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381cb0 rbx 0xffff80001d381d60 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381c70 r9 0x1 r10 0 r11 0x7c87b1158075d545 r12 0x3000000008 r13 0xffff80001d381cc0 r14 0x100 r15 0x1 rip 0xffffffff81a085c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381ca0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=485281 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a118,0xffff80001d349c48 process=0xffff8000ffffaa90 user=0xffff80001d37d000, vmspace=0xfffffd806bc09880 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19885 174586 84872 0 2 0 syz-executor.0 19885 176053 84872 0 3 0x4000000 smrbar syz-executor.0 71313 265344 0 0 3 0x14200 acct acct 87923 56877 0 0 3 0x14200 bored sosplice 32195 40123 99812 0 2 0x2 syz-executor.1 84872 173668 99812 0 2 0x482 syz-executor.0 99812 473334 54521 0 3 0x82 thrsleep syz-fuzzer 99812 254795 54521 0 3 0x4000082 nanosleep syz-fuzzer 99812 474970 54521 0 3 0x4000082 thrsleep syz-fuzzer 99812 189001 54521 0 3 0x4000082 thrsleep syz-fuzzer 99812 79062 54521 0 3 0x4000082 thrsleep syz-fuzzer 99812 253023 54521 0 3 0x4000082 kqread syz-fuzzer 99812 460718 54521 0 3 0x4000082 thrsleep syz-fuzzer 54521 199038 49266 0 3 0x10008a pause ksh 49266 132876 19631 0 3 0x92 select sshd 41249 299002 1 0 3 0x100083 ttyin getty 19631 214160 1 0 3 0x80 select sshd 30001 58542 45304 73 3 0x100090 kqread syslogd 45304 340543 1 0 3 0x100082 netio syslogd 2062 20841 1 77 3 0x100090 poll dhclient *63616 485281 1 0 7 0 dhclient 16075 354242 0 0 2 0x14200 zerothread 16388 443903 0 0 3 0x14200 aiodoned aiodoned 58518 290082 0 0 3 0x14200 syncer update 44353 508029 0 0 3 0x14200 cleaner cleaner 54949 264057 0 0 3 0x14200 reaper reaper 65168 387728 0 0 3 0x14200 pgdaemon pagedaemon 70584 374179 0 0 3 0x14200 bored crynlk 94775 394138 0 0 3 0x14200 bored crypto 57969 445134 0 0 3 0x40014200 acpi0 acpi0 67657 222057 0 0 3 0x14200 bored softnet 10146 330181 0 0 3 0x14200 bored systqmp 3726 63954 0 0 3 0x14200 bored systq 10577 363806 0 0 3 0x40014200 bored softclock 24889 387837 0 0 3 0x40014200 idle0 17708 474365 0 0 3 0x14200 bored smr 1 83813 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 9513 6487K 6990K 78643K 11473 0 pcb 13 8K 8K 78643K 77 0 rtable 97 2K 3K 78643K 266 0 ifaddr 67 13K 13K 78643K 100 0 counters 21 16K 16K 78643K 24 0 ioctlops 0 0K 2K 78643K 31 0 iov 0 0K 20K 78643K 109 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1481 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 40 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 307 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 63K 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 149 0 in_multi 43 2K 2K 78643K 112 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 221 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 102 53K 56K 78643K 1591 0 UVM aobj 26 2K 2K 78643K 30 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 49 0 NDP 12 0K 0K 78643K 21 0 temp 128 3018K 3086K 78643K 9202 0 kqueue 3 4K 12K 78643K 18 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 37 0 35 1 0 1 1 0 8 0 rtentry 112 61 0 21 2 0 2 2 0 8 0 unpcb 120 331 0 323 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 381 0 381 1 1 0 1 0 8 0 tcpcb 544 364 0 359 2 1 1 2 0 8 0 ipq 40 7 0 7 3 3 0 1 0 8 0 ipqe 40 272 0 272 3 3 0 1 0 8 0 inpcb 280 733 0 725 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 9 0 5 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 283 0 112 15 2 13 14 0 8 0 art_table 32 284 0 112 2 0 2 2 0 8 0 art_node 16 60 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 11 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 28 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1864 0 471 46 0 46 46 0 8 0 ffsino 240 1864 0 471 83 0 83 83 0 8 0 nchpl 144 2559 0 950 60 0 60 60 0 8 0 uvmvnodes 72 2098 0 0 39 0 39 39 0 8 0 vnodes 208 2098 0 0 111 0 111 111 0 8 0 namei 1024 6910 0 6910 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 4 1 0 1 1 0 8 0 scxspl 192 8172 0 8172 1 0 1 1 0 8 1 plimitpl 152 42 0 35 1 0 1 1 0 8 0 sigapl 432 478 0 465 2 0 2 2 0 8 0 futexpl 56 7984 0 7984 1 0 1 1 0 8 1 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 51 0 49 1 0 1 1 0 8 0 pipelkpl 16 126 0 116 1 0 1 1 0 8 0 pipepl 120 252 0 233 1 0 1 1 0 8 0 fdescpl 432 479 0 465 2 0 2 2 0 8 0 filepl 120 3620 0 3524 5 1 4 5 0 8 1 lockfpl 104 190 0 189 1 0 1 1 0 8 0 lockfspl 48 91 0 90 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 424 0 417 1 0 1 1 0 8 0 zombiepl 144 465 0 465 1 0 1 1 0 8 1 processpl 896 495 0 465 4 0 4 4 0 8 0 procpl 624 869 0 832 4 0 4 4 0 8 0 sosppl 128 9 0 9 3 2 1 1 0 8 1 sockpl 400 1101 0 1083 6 3 3 5 0 8 1 mcl64k 65536 302 0 302 33 32 1 33 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 9 0 9 2 1 1 1 0 8 1 mcl9k 9216 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 8 0 8 1 0 1 1 0 8 1 mcl4k 4096 39 0 39 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 2 2 0 1 0 8 0 mcl2k 2048 65093 0 65040 24 16 8 21 0 8 1 mtagpl 80 97 0 44 3 1 2 2 0 8 0 mbufpl 256 107626 0 107419 43 15 28 28 0 8 4 bufpl 280 5048 0 163 349 0 349 349 0 8 0 anonpl 16 68112 0 51611 85 8 77 82 0 107 10 amapchunkpl 152 3038 0 2895 21 11 10 19 0 158 3 amappl16 192 2929 0 2015 63 14 49 57 0 8 3 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 3 0 2 2 1 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 13 0 12 2 1 1 1 0 8 0 amappl11 152 60 0 47 1 0 1 1 0 8 0 amappl10 144 154 0 149 1 0 1 1 0 8 0 amappl9 136 385 0 381 1 0 1 1 0 8 0 amappl8 128 272 0 253 1 0 1 1 0 8 0 amappl7 120 245 0 235 1 0 1 1 0 8 0 amappl6 112 29 0 24 1 0 1 1 0 8 0 amappl5 104 129 0 119 1 0 1 1 0 8 0 amappl4 96 708 0 679 1 0 1 1 0 8 0 amappl3 88 114 0 109 1 0 1 1 0 8 0 amappl2 80 3044 0 2980 3 1 2 3 0 8 0 amappl1 72 18088 0 17671 27 18 9 20 0 8 0 amappl 80 1123 0 1080 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 29 0 4 1 0 1 1 0 8 0 uaddrrnd 24 487 0 469 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 487 0 469 1 0 1 1 0 8 0 vmmpekpl 168 7051 0 7022 2 0 2 2 0 8 0 vmmpepl 168 64020 0 62044 120 24 96 112 0 357 8 vmsppl 272 486 0 469 3 1 2 2 0 8 0 pdppl 4096 980 0 942 7 1 6 6 0 8 1 pvpl 32 197884 0 178420 194 7 187 192 0 265 29 pmappl 200 486 0 469 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 231 0 75 6 0 6 6 0 8 0