panic: receive 3: so 0xfffffd805e56e320, so_type 3, m 0xfffffd8062551300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *203135 44750 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56e320,0,ffff80001d3729e8,0,0,ffff80001d3728f4) at soreceive+0x16e7 soo_read(fffffd80613f15a0,ffff80001d3729e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339ea8,6,ffff80001d3729e8,0,ffff80001d372ad0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339ea8,ffff80001d372a80,ffff80001d372ad0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372b50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc75d0, 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 3: so 0xfffffd805e56e320, so_type 3, m 0xfffffd8062551300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ad93b) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56e320,0,ffff80001d3729e8,0,0,ffff80001d3728f4) at soreceive+0x16e7 soo_read(fffffd80613f15a0,ffff80001d3729e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339ea8,6,ffff80001d3729e8,0,ffff80001d372ad0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339ea8,ffff80001d372a80,ffff80001d372ad0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372b50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc75d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372730 rbx 0xffff80001d3727e0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3726f0 r9 0x1 r10 0 r11 0x94544f2e2200b9db r12 0x3000000008 r13 0xffff80001d372740 r14 0x100 r15 0x1 rip 0xffffffff81bf3908 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372720 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=203135 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d3399c8,0xffff80001d33a128 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49317 443799 24170 0 2 0 syz-executor.1 49317 220960 24170 0 2 0x4000000 syz-executor.1 98472 466179 0 0 3 0x14200 acct acct 52511 379580 0 0 3 0x14200 bored sosplice 80763 419201 13672 0 2 0x2 syz-executor.0 24170 224530 13672 0 2 0x482 syz-executor.1 13672 445590 13953 0 3 0x82 thrsleep syz-fuzzer 13672 523193 13953 0 3 0x4000082 nanosleep syz-fuzzer 13672 501984 13953 0 3 0x4000082 thrsleep syz-fuzzer 13672 21002 13953 0 3 0x4000082 thrsleep syz-fuzzer 13672 324872 13953 0 3 0x4000082 thrsleep syz-fuzzer 13672 47400 13953 0 3 0x4000082 thrsleep syz-fuzzer 13672 136347 13953 0 3 0x4000082 thrsleep syz-fuzzer 13672 355965 13953 0 3 0x4000082 kqread syz-fuzzer 13953 307626 39376 0 3 0x10008a pause ksh 39376 5382 11212 0 3 0x92 select sshd 77183 272223 1 0 3 0x100083 ttyin getty 11212 158701 1 0 3 0x80 select sshd 32941 512153 64674 73 3 0x100090 kqread syslogd 64674 8818 1 0 3 0x100082 netio syslogd 14606 412007 1 77 2 0x100010 dhclient *44750 203135 1 0 7 0 dhclient 49431 473472 0 0 3 0x14200 bored smr 36142 337863 0 0 2 0x14200 zerothread 85739 150798 0 0 3 0x14200 aiodoned aiodoned 311 92659 0 0 3 0x14200 syncer update 79863 295186 0 0 3 0x14200 cleaner cleaner 5990 265050 0 0 3 0x14200 reaper reaper 96367 344688 0 0 3 0x14200 pgdaemon pagedaemon 99468 303983 0 0 3 0x14200 bored crynlk 89694 72597 0 0 3 0x14200 bored crypto 95127 464349 0 0 3 0x40014200 acpi0 acpi0 60467 322066 0 0 3 0x14200 bored softnet 9608 473583 0 0 3 0x14200 bored systqmp 2793 99359 0 0 3 0x14200 bored systq 92268 309169 0 0 3 0x40014200 bored softclock 80096 324871 0 0 3 0x40014200 idle0 1 267323 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 9520 6352K 7371K 78643K 12263 0 pcb 13 8K 8K 78643K 84 0 rtable 77 7K 8K 78643K 415 0 ifaddr 83 15K 15K 78643K 123 0 counters 21 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 37 0 iov 0 0K 16K 78643K 58 0 mount 1 1K 1K 78643K 1 0 vnodes 1240 78K 78K 78643K 1644 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 90 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 313 0 proc 49 38K 63K 78643K 404 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 50 0 in_multi 47 2K 2K 78643K 110 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 208 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 107 22K 38K 78643K 1580 0 UVM aobj 18 7K 7K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 54 0 NDP 15 0K 0K 78643K 26 0 temp 142 3018K 3082K 78643K 7245 0 kqueue 3 4K 30K 78643K 62 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 7 0 3 1 0 1 1 0 8 0 rtpcb 80 195 0 193 1 0 1 1 0 8 0 rtentry 112 67 0 43 2 0 2 2 0 8 0 unpcb 120 260 0 252 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 139 0 139 1 1 0 1 0 8 0 tcpcb 544 196 0 192 2 0 2 2 0 8 1 ipq 40 4 0 4 1 0 1 1 0 8 1 ipqe 40 95 0 95 1 0 1 1 0 8 1 inpcb 280 575 0 568 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 11 0 8 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 2 3 1 2 3 0 8 1 art_heap4 256 357 0 249 14 0 14 14 0 8 4 art_table 32 360 0 251 2 0 2 2 0 8 0 art_node 16 66 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 63 0 33 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 88 0 78 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1854 0 454 46 0 46 46 0 8 0 ffsino 240 1854 0 454 83 0 83 83 0 8 0 nchpl 144 2486 0 887 60 0 60 60 0 8 0 uvmvnodes 72 2261 0 0 42 0 42 42 0 8 0 vnodes 208 2261 0 0 119 0 119 119 0 8 0 namei 1024 7181 0 7180 1 0 1 1 0 8 0 vmpool 528 2 0 2 1 1 0 1 0 8 0 scxspl 192 7605 0 7605 1 0 1 1 0 8 1 plimitpl 152 46 0 39 1 0 1 1 0 8 0 sigapl 424 501 0 471 4 0 4 4 0 8 0 futexpl 56 8796 0 8796 1 0 1 1 0 8 1 knotepl 112 187 0 168 3 0 3 3 0 8 2 kqueuepl 144 194 0 192 1 0 1 1 0 8 0 pipelkpl 16 154 0 144 1 0 1 1 0 8 0 pipepl 120 308 0 289 1 0 1 1 0 8 0 fdescpl 432 485 0 471 2 0 2 2 0 8 0 filepl 120 3893 0 3797 5 1 4 5 0 8 1 lockfpl 104 108 0 107 1 0 1 1 0 8 0 lockfspl 48 41 0 40 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 425 0 418 1 0 1 1 0 8 0 zombiepl 144 471 0 471 1 0 1 1 0 8 1 processpl 896 501 0 471 4 0 4 4 0 8 0 procpl 624 867 0 829 4 0 4 4 0 8 0 sosppl 128 13 0 13 1 0 1 1 0 8 1 sockpl 400 1039 0 1022 5 1 4 5 0 8 2 mcl64k 65536 14 0 14 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 19 0 19 1 0 1 1 0 8 1 mcl4k 4096 62 0 62 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 1 0 1 1 0 8 1 mcl2k 2048 63015 0 62963 17 9 8 14 0 8 0 mtagpl 80 67 0 19 2 1 1 1 0 8 0 mbufpl 256 103560 0 103342 25 1 24 24 0 8 4 bufpl 280 6013 0 629 385 0 385 385 0 8 0 anonpl 16 59857 0 43248 85 1 84 84 0 107 16 amapchunkpl 152 2290 0 2158 18 2 16 16 0 158 10 amappl16 192 2285 0 1367 48 1 47 48 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 149 0 148 2 1 1 1 0 8 0 amappl13 168 25 0 23 1 0 1 1 0 8 0 amappl12 160 8 0 7 1 0 1 1 0 8 0 amappl11 152 64 0 52 1 0 1 1 0 8 0 amappl10 144 147 0 141 1 0 1 1 0 8 0 amappl9 136 379 0 376 1 0 1 1 0 8 0 amappl8 128 277 0 254 1 0 1 1 0 8 0 amappl7 120 240 0 227 1 0 1 1 0 8 0 amappl6 112 25 0 19 1 0 1 1 0 8 0 amappl5 104 426 0 415 1 0 1 1 0 8 0 amappl4 96 435 0 410 1 0 1 1 0 8 0 amappl3 88 115 0 110 1 0 1 1 0 8 0 amappl2 80 3096 0 3031 3 1 2 3 0 8 0 amappl1 72 18296 0 17893 26 17 9 20 0 8 0 amappl 80 1111 0 1070 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 487 0 473 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 487 0 473 1 0 1 1 0 8 0 vmmpekpl 168 7224 0 7200 2 0 2 2 0 8 0 vmmpepl 168 63908 0 61943 115 18 97 109 0 357 10 vmsppl 272 486 0 473 3 2 1 2 0 8 0 pdppl 4096 980 0 946 6 1 5 6 0 8 0 pvpl 32 209759 0 190158 250 0 250 250 0 265 90 pmappl 200 486 0 473 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 173 0 19 5 0 5 5 0 8 0