panic: receive 3: so 0xfffffd805e56b000, so_type 3, m 0xfffffd8005d56b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *145116 4810 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae49a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56b000,0,ffff80001d3729d8,0,0,ffff80001d3728e4) at soreceive+0x16e7 soo_read(fffffd8063ff35a0,ffff80001d3729d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3729d8,0,ffff80001d372ac0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372a70,ffff80001d372ac0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372b40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6c30, 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 0xfffffd805e56b000, so_type 3, m 0xfffffd8005d56b00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae49a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56b000,0,ffff80001d3729d8,0,0,ffff80001d3728e4) at soreceive+0x16e7 soo_read(fffffd8063ff35a0,ffff80001d3729d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339758,6,ffff80001d3729d8,0,ffff80001d372ac0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339758,ffff80001d372a70,ffff80001d372ac0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372b40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6c30, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372720 rbx 0xffff80001d3727d0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3726e0 r9 0x1 r10 0 r11 0x570ea4429a2c2348 r12 0x3000000008 r13 0xffff80001d372730 r14 0x100 r15 0x1 rip 0xffffffff82082f48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372710 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=145116 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339288 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a550 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35653 299170 60665 0 2 0 syz-executor.0 44461 346056 96025 0 2 0 syz-executor.1 44461 492300 96025 0 2 0x4000000 syz-executor.1 52681 507010 0 0 3 0x14200 bored sosplice 96025 354323 2047 0 3 0x82 nanosleep syz-executor.1 60665 292342 2047 0 3 0x82 nanosleep syz-executor.0 2047 329179 54741 0 3 0x82 thrsleep syz-fuzzer 2047 39164 54741 0 3 0x4000082 nanosleep syz-fuzzer 2047 430498 54741 0 3 0x4000082 kqread syz-fuzzer 2047 184462 54741 0 3 0x4000082 thrsleep syz-fuzzer 2047 270581 54741 0 3 0x4000082 thrsleep syz-fuzzer 2047 250870 54741 0 3 0x4000082 thrsleep syz-fuzzer 2047 483908 54741 0 3 0x4000082 thrsleep syz-fuzzer 2047 433628 54741 0 3 0x4000082 thrsleep syz-fuzzer 54741 127057 869 0 3 0x10008a pause ksh 869 368417 80984 0 3 0x92 select sshd 77032 488402 1 0 3 0x100083 ttyin getty 80984 256105 1 0 3 0x80 select sshd 28386 78749 52179 73 3 0x100090 kqread syslogd 52179 70199 1 0 3 0x100082 netio syslogd 39347 123407 1 77 2 0x100010 dhclient * 4810 145116 1 0 7 0 dhclient 94073 88818 0 0 2 0x14200 zerothread 72472 53530 0 0 3 0x14200 aiodoned aiodoned 46522 179719 0 0 3 0x14200 syncer update 62723 107526 0 0 3 0x14200 cleaner cleaner 38046 283031 0 0 3 0x14200 reaper reaper 24590 25545 0 0 3 0x14200 pgdaemon pagedaemon 22881 415576 0 0 3 0x14200 bored crynlk 56832 489514 0 0 3 0x14200 bored crypto 29720 420471 0 0 3 0x40014200 acpi0 acpi0 24536 204493 0 0 3 0x14200 bored softnet 33536 89135 0 0 3 0x14200 bored systqmp 29247 6095 0 0 3 0x14200 bored systq 15536 172548 0 0 2 0x40014200 softclock 66846 289574 0 0 3 0x40014200 idle0 11675 363644 0 0 3 0x14200 bored smr 1 424103 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 9516 6350K 7120K 78643K 11787 0 pcb 13 8K 8K 78643K 163 0 rtable 100 3K 3K 78643K 364 0 ifaddr 98 19K 19K 78643K 148 0 counters 21 16K 17K 78643K 27 0 ioctlops 0 0K 2K 78643K 35 0 iov 0 0K 16K 78643K 169 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 77K 78643K 1834 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 82 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 428 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 63K 78643K 407 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 59 0 in_multi 99 4K 4K 78643K 207 0 ether_multi 1 0K 0K 78643K 22 0 mrt 0 0K 0K 78643K 14 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 216 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 54K 54K 78643K 1852 0 UVM aobj 20 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 133 0 NDP 14 0K 0K 78643K 33 0 temp 139 3022K 3087K 78643K 13882 0 kqueue 3 4K 16K 78643K 47 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 92 0 52 2 0 2 2 0 8 0 unpcb 120 559 0 549 2 1 1 2 0 8 0 syncache 264 9 0 9 3 2 1 1 0 8 1 tcpqe 32 39 0 39 2 1 1 1 0 8 1 tcpcb 544 211 0 207 1 0 1 1 0 8 0 ipq 40 8 0 8 2 1 1 1 0 8 1 ipqe 40 364 0 364 2 1 1 1 0 8 1 inpcb 280 849 0 842 2 0 2 2 0 8 1 rttmr 72 6 0 6 3 2 1 1 0 8 1 nd6 48 19 0 16 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 462 0 284 14 1 13 14 0 8 1 art_table 32 464 0 284 2 0 2 2 0 8 0 art_node 16 91 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 29 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 18 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2030 0 635 46 0 46 46 0 8 0 ffsino 240 2030 0 635 83 0 83 83 0 8 0 nchpl 144 2891 0 1280 60 0 60 60 0 8 0 uvmvnodes 72 2593 0 0 48 0 48 48 0 8 0 vnodes 208 2593 0 0 137 0 137 137 0 8 0 namei 1024 8349 0 8349 1 0 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 0 1 0 1 1 0 8 0 scxspl 192 8319 0 8319 1 0 1 1 0 8 1 plimitpl 152 46 0 39 1 0 1 1 0 8 0 sigapl 432 599 0 585 2 0 2 2 0 8 0 futexpl 56 13162 0 13162 1 0 1 1 0 8 1 knotepl 112 119 0 100 1 0 1 1 0 8 0 kqueuepl 144 100 0 98 1 0 1 1 0 8 0 pipelkpl 16 173 0 163 1 0 1 1 0 8 0 pipepl 120 346 0 327 1 0 1 1 0 8 0 fdescpl 432 600 0 585 2 0 2 2 0 8 0 filepl 120 4996 0 4900 5 0 5 5 0 8 2 lockfpl 104 101 0 100 1 0 1 1 0 8 0 lockfspl 48 38 0 37 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 440 0 433 1 0 1 1 0 8 0 zombiepl 144 585 0 585 1 0 1 1 0 8 1 processpl 896 615 0 585 4 0 4 4 0 8 0 procpl 624 1160 0 1122 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 1474 0 1455 7 2 5 5 0 8 1 mcl64k 65536 68 0 68 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 9 0 9 2 1 1 1 0 8 1 mcl9k 9216 10 0 10 3 2 1 1 0 8 1 mcl8k 8192 33 0 33 1 0 1 1 0 8 1 mcl4k 4096 57 0 57 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 64644 0 64606 14 8 6 12 0 8 0 mtagpl 80 48 0 2 2 1 1 1 0 8 0 mbufpl 256 107397 0 107102 50 17 33 33 0 8 10 bufpl 280 4869 0 158 337 0 337 337 0 8 0 anonpl 16 73972 0 57353 94 17 77 82 0 107 10 amapchunkpl 152 2558 0 2425 10 4 6 9 0 158 0 amappl16 192 3394 0 2480 66 18 48 57 0 8 2 amappl15 184 3 0 2 1 0 1 1 0 8 0 amappl14 176 396 0 392 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 4 0 3 1 0 1 1 0 8 0 amappl11 152 59 0 47 1 0 1 1 0 8 0 amappl10 144 12 0 8 1 0 1 1 0 8 0 amappl9 136 381 0 377 1 0 1 1 0 8 0 amappl8 128 283 0 261 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 24 0 19 1 0 1 1 0 8 0 amappl5 104 352 0 340 1 0 1 1 0 8 0 amappl4 96 634 0 602 2 1 1 2 0 8 0 amappl3 88 512 0 505 1 0 1 1 0 8 0 amappl2 80 4027 0 3959 3 1 2 3 0 8 0 amappl1 72 20033 0 19625 27 18 9 20 0 8 0 amappl 80 1386 0 1342 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 19 0 0 1 0 1 1 0 8 0 uaddrrnd 24 606 0 585 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 606 0 585 1 0 1 1 0 8 0 vmmpekpl 168 7694 0 7665 2 0 2 2 0 8 0 vmmpepl 168 77425 0 75379 123 28 95 108 0 357 6 vmsppl 272 605 0 585 3 1 2 2 0 8 0 pdppl 4096 1218 0 1176 7 1 6 6 0 8 0 pvpl 32 216589 0 196995 204 16 188 194 0 265 29 pmappl 200 605 0 585 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 197 0 34 5 0 5 5 0 8 0