login: panic: receive 3: so 0xfffffd805e56c000, so_type 3, m 0xfffffd8057d1d800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *501507 81268 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b07de) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d372bc8,0,0,ffff80001d372ad4) at soreceive+0x16e7 soo_read(fffffd805eb102d0,ffff80001d372bc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372bc8,0,ffff80001d372cb0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372c60,ffff80001d372cb0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372d30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb320, 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 0xfffffd805e56c000, so_type 3, m 0xfffffd8057d1d800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b07de) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c000,0,ffff80001d372bc8,0,0,ffff80001d372ad4) at soreceive+0x16e7 soo_read(fffffd805eb102d0,ffff80001d372bc8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372bc8,0,ffff80001d372cb0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372c60,ffff80001d372cb0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372d30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb320, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372910 rbx 0xffff80001d3729c0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3728d0 r9 0x1 r10 0 r11 0x9176a1f81366fe8f r12 0x3000000008 r13 0xffff80001d372920 r14 0x100 r15 0x1 rip 0xffffffff819bd578 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372900 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=501507 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a5f8,0xffff80001d339768 process=0xffff8000ffffa010 user=0xffff80001d36d000, vmspace=0xfffffd806bc09770 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80815 52853 43895 0 2 0 syz-executor.0 80815 391178 43895 0 2 0x4000000 syz-executor.0 53256 266060 58149 0 2 0 syz-executor.1 53256 2515 58149 0 3 0x4000080 kqread syz-executor.1 43895 296532 6882 0 2 0x482 syz-executor.0 58149 373580 6882 0 2 0x482 syz-executor.1 6882 435962 26300 0 3 0x82 thrsleep syz-fuzzer 6882 369086 26300 0 3 0x4000082 thrsleep syz-fuzzer 6882 80203 26300 0 3 0x4000082 thrsleep syz-fuzzer 6882 467126 26300 0 3 0x4000082 thrsleep syz-fuzzer 6882 428031 26300 0 3 0x4000082 thrsleep syz-fuzzer 6882 219398 26300 0 3 0x4000082 kqread syz-fuzzer 6882 483380 26300 0 3 0x4000082 thrsleep syz-fuzzer 6882 59948 26300 0 3 0x4000082 thrsleep syz-fuzzer 26300 253824 62310 0 3 0x10008a pause ksh 62310 148779 93337 0 3 0x92 select sshd 25346 458812 1 0 3 0x100083 ttyin getty 93337 141723 1 0 3 0x80 select sshd 1223 336438 46915 73 3 0x100090 kqread syslogd 46915 448343 1 0 3 0x100082 netio syslogd 80182 324812 1 77 2 0x100010 dhclient *81268 501507 1 0 7 0 dhclient 1001 220102 0 0 2 0x14200 zerothread 40666 447761 0 0 3 0x14200 aiodoned aiodoned 26766 125555 0 0 3 0x14200 syncer update 74364 160121 0 0 3 0x14200 cleaner cleaner 15133 254628 0 0 3 0x14200 reaper reaper 26643 339829 0 0 3 0x14200 pgdaemon pagedaemon 71334 506098 0 0 3 0x14200 bored crynlk 4111 75726 0 0 3 0x14200 bored crypto 83094 48601 0 0 3 0x40014200 acpi0 acpi0 59796 415662 0 0 2 0x14200 softnet 27889 40255 0 0 3 0x14200 bored systqmp 25888 350601 0 0 3 0x14200 bored systq 27387 20800 0 0 3 0x40014200 bored softclock 44354 23690 0 0 3 0x40014200 idle0 38188 347246 0 0 3 0x14200 bored smr 1 358543 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 9455 6326K 6453K 78643K 10560 0 pcb 13 8K 8K 78643K 25 0 rtable 105 3K 3K 78643K 191 0 ifaddr 43 10K 10K 78643K 45 0 counters 22 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 19 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1229 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 21 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 52 0 proc 47 38K 54K 78643K 358 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 1 0 in_multi 33 2K 2K 78643K 35 0 ether_multi 1 0K 0K 78643K 2 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 181 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 100 21K 21K 78643K 964 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 6 0K 0K 78643K 10 0 temp 70 3017K 3080K 78643K 1879 0 kqueue 6 10K 10K 78643K 9 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 22 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 41 0 33 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 7 0 7 1 0 1 1 0 8 1 tcpcb 544 17 0 12 1 0 1 1 0 8 0 inpcb 280 65 0 57 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 187 0 0 12 0 12 12 0 8 0 art_table 32 188 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 19 0 9 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1445 0 44 46 0 46 46 0 8 0 ffsino 240 1445 0 44 83 0 83 83 0 8 0 nchpl 144 1698 0 87 60 0 60 60 0 8 0 uvmvnodes 72 1491 0 0 28 0 28 28 0 8 0 vnodes 208 1491 0 0 79 0 79 79 0 8 0 namei 1024 4097 0 4097 1 0 1 1 0 8 1 scxspl 192 4990 0 4990 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 223 0 209 2 0 2 2 0 8 0 futexpl 56 821 0 821 1 0 1 1 0 8 1 knotepl 112 60 0 38 1 0 1 1 0 8 0 kqueuepl 144 12 0 6 1 0 1 1 0 8 0 pipelkpl 16 91 0 81 1 0 1 1 0 8 0 pipepl 120 182 0 163 2 0 2 2 0 8 1 fdescpl 432 224 0 209 2 0 2 2 0 8 0 filepl 120 1160 0 1058 4 0 4 4 0 8 0 lockfpl 104 14 0 13 1 0 1 1 0 8 0 lockfspl 48 5 0 4 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 80 0 72 1 0 1 1 0 8 0 zombiepl 144 209 0 209 1 0 1 1 0 8 1 processpl 896 238 0 209 4 0 4 4 0 8 0 procpl 624 278 0 240 4 0 4 4 0 8 1 sockpl 400 128 0 109 3 0 3 3 0 8 1 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 62941 0 62893 17 3 14 14 0 8 7 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 99713 0 99608 11 2 9 9 0 8 0 bufpl 280 3991 0 161 274 0 274 274 0 8 0 anonpl 16 37684 0 22660 62 1 61 61 0 107 0 amapchunkpl 152 1065 0 928 7 0 7 7 0 158 1 amappl16 192 989 0 172 41 0 41 41 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 24 0 22 1 0 1 1 0 8 0 amappl12 160 17 0 14 1 0 1 1 0 8 0 amappl11 152 61 0 48 1 0 1 1 0 8 0 amappl10 144 21 0 16 1 0 1 1 0 8 0 amappl9 136 363 0 360 1 0 1 1 0 8 0 amappl8 128 266 0 249 1 0 1 1 0 8 0 amappl7 120 118 0 105 1 0 1 1 0 8 0 amappl6 112 21 0 19 1 0 1 1 0 8 0 amappl5 104 184 0 172 1 0 1 1 0 8 0 amappl4 96 444 0 411 2 0 2 2 0 8 1 amappl3 88 115 0 108 1 0 1 1 0 8 0 amappl2 80 956 0 885 3 0 3 3 0 8 1 amappl1 72 13956 0 13530 27 12 15 20 0 8 6 amappl 80 516 0 472 2 0 2 2 0 84 1 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 224 0 209 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 224 0 209 1 0 1 1 0 8 0 vmmpekpl 168 5790 0 5764 2 0 2 2 0 8 0 vmmpepl 168 34314 0 32338 115 6 109 109 0 357 23 vmsppl 272 223 0 209 2 0 2 2 0 8 1 pdppl 4096 454 0 418 6 0 6 6 0 8 1 pvpl 32 127365 0 109322 151 0 151 151 0 265 4 pmappl 200 223 0 209 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 150 0 8 5 0 5 5 0 8 0