panic: receive 3: so 0xfffffd806698e190, so_type 3, m 0xfffffd805361d100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 45462 39220 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(fffffd806698e190,0,ffff80001d3728f8,0,0,ffff80001d372804) at soreceive+0x16e7 soo_read(fffffd8060e733c0,ffff80001d3728f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3728f8,0,ffff80001d3729e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372990,ffff80001d3729e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5810, 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 0xfffffd806698e190, so_type 3, m 0xfffffd805361d100, 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(fffffd806698e190,0,ffff80001d3728f8,0,0,ffff80001d372804) at soreceive+0x16e7 soo_read(fffffd8060e733c0,ffff80001d3728f8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d3728f8,0,ffff80001d3729e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372990,ffff80001d3729e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5810, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372640 rbx 0xffff80001d3726f0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372600 r9 0x1 r10 0 r11 0x794606042d3ee4d5 r12 0x3000000008 r13 0xffff80001d372650 r14 0x100 r15 0x1 rip 0xffffffff82082f48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372630 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=45462 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d339018 process=0xffff8000ffffae10 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a330 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 51852 409930 42026 0 2 0 syz-executor.1 51852 327595 42026 0 2 0x4000000 syz-executor.1 12710 512206 25021 0 2 0 syz-executor.0 12710 340933 25021 0 2 0x4000000 syz-executor.0 24401 335267 0 0 3 0x14200 bored sosplice 25021 497715 55651 0 3 0x82 nanosleep syz-executor.0 42026 243348 55651 0 3 0x82 nanosleep syz-executor.1 55651 51036 2101 0 3 0x82 thrsleep syz-fuzzer 55651 410020 2101 0 3 0x4000082 thrsleep syz-fuzzer 55651 207513 2101 0 3 0x4000082 thrsleep syz-fuzzer 55651 45815 2101 0 3 0x4000082 thrsleep syz-fuzzer 55651 265122 2101 0 3 0x4000082 thrsleep syz-fuzzer 55651 172630 2101 0 3 0x4000082 kqread syz-fuzzer 55651 146908 2101 0 3 0x4000082 thrsleep syz-fuzzer 2101 382782 77545 0 3 0x10008a pause ksh 77545 142713 13283 0 3 0x92 select sshd 2714 263580 1 0 3 0x100083 ttyin getty 13283 386681 1 0 3 0x80 select sshd 49248 275076 58298 73 3 0x100090 kqread syslogd 58298 515504 1 0 3 0x100082 netio syslogd 11919 491122 1 77 2 0x100010 dhclient *39220 45462 1 0 7 0 dhclient 58996 97343 0 0 2 0x14200 zerothread 91755 327929 0 0 3 0x14200 aiodoned aiodoned 33308 205715 0 0 3 0x14200 syncer update 38172 79442 0 0 3 0x14200 cleaner cleaner 19970 377592 0 0 3 0x14200 reaper reaper 36762 40835 0 0 3 0x14200 pgdaemon pagedaemon 4170 17217 0 0 3 0x14200 bored crynlk 77970 478246 0 0 3 0x14200 bored crypto 14472 247197 0 0 3 0x40014200 acpi0 acpi0 68283 126128 0 0 3 0x14200 bored softnet 35048 138617 0 0 3 0x14200 bored systqmp 99061 116381 0 0 3 0x14200 bored systq 90966 438821 0 0 3 0x40014200 bored softclock 24667 350017 0 0 3 0x40014200 idle0 2777 413560 0 0 3 0x14200 bored smr 1 132436 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 9524 6486K 7233K 78643K 11394 0 pcb 13 8K 8K 78643K 101 0 rtable 104 3K 3K 78643K 394 0 ifaddr 85 16K 16K 78643K 180 0 counters 21 16K 16K 78643K 33 0 ioctlops 0 0K 2K 78643K 49 0 iov 0 0K 32K 78643K 111 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1469 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 1K 1K 78643K 138 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 448 0 sigio 0 0K 0K 78643K 17 0 proc 51 38K 63K 78643K 397 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 1K 78643K 87 0 in_multi 57 2K 3K 78643K 159 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 240 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 120 103K 103K 78643K 2593 0 UVM aobj 12 2K 2K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 90 0 NDP 14 0K 0K 78643K 39 0 temp 139 3018K 3094K 78643K 35174 0 kqueue 3 4K 18K 78643K 44 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 0 1 0 1 1 0 8 0 rtpcb 80 52 0 50 1 0 1 1 0 8 0 rtentry 112 93 0 51 2 0 2 2 0 8 0 unpcb 120 390 0 382 2 1 1 2 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 37 0 37 1 1 0 1 0 8 0 tcpcb 544 225 0 221 2 1 1 2 0 8 0 ipq 40 5 0 5 2 2 0 1 0 8 0 ipqe 40 142 0 142 2 2 0 1 0 8 0 inpcb 280 618 0 611 6 5 1 3 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 8 0 8 1 1 0 1 0 8 0 nd6 48 17 0 15 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 479 0 309 16 4 12 13 0 8 0 art_table 32 481 0 309 2 0 2 2 0 8 0 art_node 16 92 0 52 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 130 0 120 1 0 1 1 0 8 0 shmpl 112 14 0 4 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2066 0 670 46 0 46 46 0 8 0 ffsino 240 2066 0 670 83 0 83 83 0 8 0 nchpl 144 2909 0 1309 60 0 60 60 0 8 0 uvmvnodes 72 2282 0 0 42 0 42 42 0 8 0 vnodes 208 2282 0 0 121 0 121 121 0 8 0 namei 1024 7984 0 7984 1 0 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 10 0 2 1 0 1 1 0 8 0 scxspl 192 9304 0 9304 1 0 1 1 0 8 1 plimitpl 152 56 0 49 1 0 1 1 0 8 0 sigapl 432 619 0 605 2 0 2 2 0 8 0 futexpl 56 12335 0 12335 1 0 1 1 0 8 1 knotepl 112 97 0 78 1 0 1 1 0 8 0 kqueuepl 144 108 0 106 1 0 1 1 0 8 0 pipelkpl 16 781 0 771 1 0 1 1 0 8 0 pipepl 120 1562 0 1543 3 1 2 2 0 8 1 fdescpl 432 620 0 605 2 0 2 2 0 8 0 filepl 120 5200 0 5104 7 3 4 5 0 8 1 lockfpl 104 102 0 101 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 537 0 530 1 0 1 1 0 8 0 zombiepl 144 605 0 605 1 0 1 1 0 8 1 processpl 896 635 0 605 4 0 4 4 0 8 0 procpl 624 1865 0 1827 7 3 4 5 0 8 0 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 400 1078 0 1061 9 6 3 6 0 8 1 mcl64k 65536 82 0 82 3 2 1 2 0 8 1 mcl16k 16384 5 0 5 4 4 0 1 0 8 0 mcl12k 12288 9 0 9 5 4 1 1 0 8 1 mcl9k 9216 12 0 12 4 3 1 1 0 8 1 mcl8k 8192 29 0 29 4 3 1 1 0 8 1 mcl4k 4096 61 0 61 3 2 1 1 0 8 1 mcl2k2 2112 4 0 4 3 2 1 1 0 8 1 mcl2k 2048 65036 0 64992 18 11 7 14 0 8 1 mtagpl 80 36 0 19 2 1 1 1 0 8 0 mbufpl 256 107274 0 107085 43 22 21 26 0 8 0 bufpl 280 5404 0 167 375 0 375 375 0 8 0 anonpl 16 84944 0 67741 109 26 83 86 0 107 13 amapchunkpl 152 5478 0 5321 33 25 8 20 0 158 1 amappl16 192 3737 0 2807 76 25 51 58 0 8 4 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 12 0 8 2 1 1 1 0 8 0 amappl13 168 234 0 231 1 0 1 1 0 8 0 amappl12 160 5 0 3 1 0 1 1 0 8 0 amappl11 152 61 0 49 1 0 1 1 0 8 0 amappl10 144 24 0 18 1 0 1 1 0 8 0 amappl9 136 585 0 579 1 0 1 1 0 8 0 amappl8 128 481 0 457 1 0 1 1 0 8 0 amappl7 120 105 0 95 1 0 1 1 0 8 0 amappl6 112 21 0 17 1 0 1 1 0 8 0 amappl5 104 559 0 545 1 0 1 1 0 8 0 amappl4 96 651 0 621 1 0 1 1 0 8 0 amappl3 88 127 0 122 1 0 1 1 0 8 0 amappl2 80 4210 0 4133 3 1 2 3 0 8 0 amappl1 72 21571 0 21151 26 17 9 20 0 8 0 amappl 80 2116 0 2066 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 15 0 4 1 0 1 1 0 8 0 uaddrrnd 24 630 0 607 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 630 0 607 1 0 1 1 0 8 0 vmmpekpl 168 12015 0 11986 2 0 2 2 0 8 0 vmmpepl 168 82742 0 80608 135 34 101 111 0 357 6 vmsppl 272 629 0 607 3 1 2 2 0 8 0 pdppl 4096 1266 0 1222 7 1 6 6 0 8 0 pvpl 32 237135 0 217408 237 45 192 197 0 265 31 pmappl 200 629 0 607 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 210 0 62 5 0 5 5 0 8 0