login: panic: receive 3: so 0xfffffd805e567320, so_type 3, m 0xfffffd80572f8700, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 16469 19773 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567320,0,ffff80001d3720f8,0,0,ffff80001d372004) at soreceive+0x16e7 soo_read(fffffd805eb12690,ffff80001d3720f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3720f8,0,ffff80001d3721e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372190,ffff80001d3721e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372260) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfc20, 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 0xfffffd805e567320, so_type 3, m 0xfffffd80572f8700, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae083) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e567320,0,ffff80001d3720f8,0,0,ffff80001d372004) at soreceive+0x16e7 soo_read(fffffd805eb12690,ffff80001d3720f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3720f8,0,ffff80001d3721e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372190,ffff80001d3721e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372260) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfc20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d371e40 rbx 0xffff80001d371ef0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d371e00 r9 0x1 r10 0 r11 0xd7be4eb47daf20b9 r12 0x3000000008 r13 0xffff80001d371e50 r14 0x100 r15 0x1 rip 0xffffffff8175a308 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d371e30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=16469 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d339018 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8208 202320 52914 0 2 0 syz-executor.1 8208 19017 52914 0 2 0x4000000 syz-executor.1 31103 150627 0 0 3 0x14200 acct acct 85284 488492 0 0 3 0x14200 bored sosplice 76577 376799 49182 0 3 0x90 nanosleep syz-executor.0 76577 238380 49182 0 3 0x4000090 msgwait syz-executor.0 76577 476647 49182 0 3 0x4000090 msgwait syz-executor.0 76577 167623 49182 0 3 0x4000090 msgwait syz-executor.0 76577 237216 49182 0 3 0x4000090 msgwait syz-executor.0 76577 144346 49182 0 3 0x4000090 fsleep syz-executor.0 49182 490364 61631 0 3 0x82 nanosleep syz-executor.0 52914 301179 61631 0 3 0x82 nanosleep syz-executor.1 61631 412434 10740 0 3 0x82 thrsleep syz-fuzzer 61631 400331 10740 0 3 0x4000082 thrsleep syz-fuzzer 61631 179782 10740 0 3 0x4000082 kqread syz-fuzzer 61631 56969 10740 0 3 0x4000082 thrsleep syz-fuzzer 61631 309724 10740 0 3 0x4000082 thrsleep syz-fuzzer 61631 68467 10740 0 3 0x4000082 thrsleep syz-fuzzer 61631 282549 10740 0 3 0x4000082 thrsleep syz-fuzzer 10740 177301 45925 0 3 0x10008a pause ksh 45925 45354 42623 0 3 0x92 select sshd 67817 426772 1 0 3 0x100083 ttyin getty 42623 313375 1 0 3 0x80 select sshd 88365 362215 929 73 3 0x100090 kqread syslogd 929 396690 1 0 3 0x100082 netio syslogd 8638 184817 1 77 2 0x100010 dhclient *19773 16469 1 0 7 0 dhclient 59869 407901 0 0 2 0x14200 zerothread 64932 310658 0 0 3 0x14200 aiodoned aiodoned 82973 455670 0 0 3 0x14200 syncer update 20006 389730 0 0 3 0x14200 cleaner cleaner 38746 267879 0 0 3 0x14200 reaper reaper 8000 25407 0 0 3 0x14200 pgdaemon pagedaemon 13124 83630 0 0 3 0x14200 bored crynlk 33385 305619 0 0 3 0x14200 bored crypto 22734 41249 0 0 3 0x40014200 acpi0 acpi0 86618 494919 0 0 3 0x14200 bored softnet 99421 116567 0 0 3 0x14200 bored systqmp 35972 90053 0 0 3 0x14200 bored systq 17441 360296 0 0 3 0x40014200 bored softclock 9755 69290 0 0 3 0x40014200 idle0 24090 502149 0 0 3 0x14200 bored smr 1 479753 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 9475 6585K 6840K 78643K 10596 0 pcb 13 8K 8K 78643K 19 0 rtable 107 3K 3K 78643K 194 0 ifaddr 46 11K 11K 78643K 48 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 2K 78643K 10 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1232 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 15 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 51 0 proc 47 38K 54K 78643K 361 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 3 0 in_multi 40 2K 2K 78643K 42 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 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 183 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 21K 22K 78643K 961 0 UVM aobj 3 2K 2K 78643K 3 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 10 0K 0K 78643K 10 0 temp 71 3009K 3072K 78643K 1855 0 kqueue 3 4K 8K 78643K 5 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 34 0 25 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 283 0 283 1 0 1 1 0 8 1 tcpcb 544 19 0 12 1 0 1 1 0 8 0 inpcb 280 57 0 47 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 194 0 0 13 0 13 13 0 8 0 art_table 32 196 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 1 0 1 1 0 8 1 semupl 112 1 0 0 1 0 1 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1444 0 43 46 0 46 46 0 8 0 ffsino 240 1444 0 43 83 0 83 83 0 8 0 nchpl 144 1705 0 93 60 0 60 60 0 8 0 uvmvnodes 72 1495 0 0 28 0 28 28 0 8 0 vnodes 208 1495 0 0 79 0 79 79 0 8 0 namei 1024 4085 0 4085 2 1 1 1 0 8 1 scxspl 192 4798 0 4798 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 239 0 208 4 0 4 4 0 8 0 futexpl 56 549 0 548 1 0 1 1 0 8 0 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 67 0 57 1 0 1 1 0 8 0 pipepl 120 134 0 115 1 0 1 1 0 8 0 fdescpl 432 223 0 208 2 0 2 2 0 8 0 filepl 120 1108 0 1002 4 0 4 4 0 8 0 lockfpl 104 7 0 6 1 0 1 1 0 8 0 lockfspl 48 4 0 3 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 48 0 40 1 0 1 1 0 8 0 zombiepl 144 208 0 208 2 1 1 1 0 8 1 processpl 896 239 0 208 4 0 4 4 0 8 0 procpl 624 268 0 225 4 0 4 4 0 8 0 sockpl 400 110 0 89 3 0 3 3 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 2 1 1 1 0 8 1 mcl2k 2048 65095 0 65037 26 10 16 22 0 8 7 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 102636 0 102537 13 1 12 12 0 8 3 bufpl 280 3984 0 161 274 0 274 274 0 8 0 anonpl 16 37412 0 22104 63 1 62 62 0 107 0 amapchunkpl 152 1167 0 1027 8 0 8 8 0 158 1 amappl16 192 1026 0 187 42 0 42 42 0 8 0 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 5 0 2 2 1 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 5 0 4 1 0 1 1 0 8 0 amappl11 152 70 0 56 1 0 1 1 0 8 0 amappl10 144 20 0 15 1 0 1 1 0 8 0 amappl9 136 373 0 370 1 0 1 1 0 8 0 amappl8 128 279 0 258 1 0 1 1 0 8 0 amappl7 120 106 0 96 1 0 1 1 0 8 0 amappl6 112 31 0 27 1 0 1 1 0 8 0 amappl5 104 163 0 152 1 0 1 1 0 8 0 amappl4 96 447 0 418 1 0 1 1 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 985 0 909 3 1 2 3 0 8 0 amappl1 72 13822 0 13391 24 12 12 20 0 8 3 amappl 80 505 0 460 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 223 0 208 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 223 0 208 1 0 1 1 0 8 0 vmmpekpl 168 5664 0 5639 2 0 2 2 0 8 0 vmmpepl 168 34307 0 32298 154 7 147 147 0 357 59 vmsppl 272 222 0 208 2 0 2 2 0 8 1 pdppl 4096 452 0 416 6 0 6 6 0 8 1 pvpl 32 124422 0 106045 150 1 149 149 0 265 0 pmappl 200 222 0 208 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 165 0 15 5 0 5 5 0 8 0