panic: receive 1a: so 0xfffffd805e558000, so_type 3, m 0xfffffd8065105800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *467938 34876 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f22a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e558000,0,ffff80001d382218,0,0,ffff80001d382124) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064ffb528,ffff80001d382218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d382218,0,ffff80001d382300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d3822b0,ffff80001d382300) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3150, 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 1a: so 0xfffffd805e558000, so_type 3, m 0xfffffd8065105800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219f22a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e558000,0,ffff80001d382218,0,0,ffff80001d382124) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8064ffb528,ffff80001d382218,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349758,6,ffff80001d382218,0,ffff80001d382300) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349758,ffff80001d3822b0,ffff80001d382300) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe3150, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381f60 rbx 0xffff80001d382010 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381f20 r9 0x1 r10 0 r11 0x5bde7c8e64c30019 r12 0x3000000008 r13 0xffff80001d381f70 r14 0x100 r15 0x1 rip 0xffffffff8103c4d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381f50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=467938 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a5f8,0xffff80001d3499d8 process=0xffff8000ffffae10 user=0xffff80001d37d000, vmspace=0xfffffd806bc09330 estcpu=0, cpticks=0, pctcpu=0.1 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34706 442241 7192 0 2 0 syz-executor.1 34706 261248 7192 0 2 0x4000000 syz-executor.1 43240 48680 33849 0 2 0 syz-executor.0 43240 46589 33849 0 3 0x4000080 wsevent_read syz-executor.0 33849 121855 18909 0 3 0x82 nanosleep syz-executor.0 7192 919 18909 0 2 0x482 syz-executor.1 18909 246767 81142 0 3 0x82 thrsleep syz-fuzzer 18909 13836 81142 0 2 0x4000482 syz-fuzzer 18909 110495 81142 0 3 0x4000082 thrsleep syz-fuzzer 18909 256973 81142 0 3 0x4000082 thrsleep syz-fuzzer 18909 93147 81142 0 3 0x4000082 kqread syz-fuzzer 18909 65039 81142 0 3 0x4000082 thrsleep syz-fuzzer 18909 521180 81142 0 3 0x4000082 thrsleep syz-fuzzer 18909 337797 81142 0 3 0x4000082 thrsleep syz-fuzzer 81142 140845 22192 0 3 0x10008a pause ksh 22192 297251 29800 0 3 0x92 select sshd 97054 123326 1 0 3 0x100083 ttyin getty 29800 391843 1 0 3 0x80 select sshd 8602 201012 29118 73 3 0x100090 kqread syslogd 29118 144728 1 0 3 0x100082 netio syslogd 1235 47748 1 77 2 0x100010 dhclient *34876 467938 1 0 7 0 dhclient 34753 478212 0 0 2 0x14200 zerothread 31219 56701 0 0 3 0x14200 aiodoned aiodoned 2419 286274 0 0 2 0x14200 update 39979 333668 0 0 3 0x14200 cleaner cleaner 44918 278422 0 0 3 0x14200 reaper reaper 10179 175486 0 0 3 0x14200 pgdaemon pagedaemon 35652 428951 0 0 3 0x14200 bored crynlk 74447 35550 0 0 3 0x14200 bored crypto 91106 380217 0 0 3 0x40014200 acpi0 acpi0 94987 86070 0 0 3 0x14200 bored softnet 1561 60316 0 0 3 0x14200 bored systqmp 82189 36454 0 0 3 0x14200 bored systq 50098 73847 0 0 3 0x40014200 bored softclock 91215 91825 0 0 3 0x40014200 idle0 50512 62291 0 0 3 0x14200 bored smr 1 214061 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 9464 6399K 6840K 78643K 10618 0 pcb 13 8K 8K 78643K 21 0 rtable 105 3K 3K 78643K 192 0 ifaddr 44 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1243 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 9 0K 0K 78643K 11 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 50 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 63K 78643K 363 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 6 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 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 102 21K 21K 78643K 984 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 82 3011K 3075K 78643K 2566 0 kqueue 3 4K 10K 78643K 7 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 20 0 18 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 65 0 57 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 127 0 127 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 280 57 0 50 1 0 1 1 0 8 0 nd6 48 4 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 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semapl 112 7 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 1701 0 89 60 0 60 60 0 8 0 uvmvnodes 72 1506 0 0 28 0 28 28 0 8 0 vnodes 208 1506 0 0 80 0 80 80 0 8 0 namei 1024 4165 0 4165 1 0 1 1 0 8 1 scxspl 192 4794 0 4794 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 221 0 207 2 0 2 2 0 8 0 futexpl 56 785 0 785 1 0 1 1 0 8 1 knotepl 112 57 0 38 1 0 1 1 0 8 0 kqueuepl 104 8 0 6 1 0 1 1 0 8 0 pipelkpl 16 86 0 76 1 0 1 1 0 8 0 pipepl 120 172 0 153 2 0 2 2 0 8 1 fdescpl 432 222 0 207 2 0 2 2 0 8 0 filepl 120 1284 0 1186 5 0 5 5 0 8 1 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 17 0 7 1 0 1 1 0 8 0 ucredpl 96 90 0 83 1 0 1 1 0 8 0 zombiepl 144 207 0 207 1 0 1 1 0 8 1 processpl 896 236 0 207 4 0 4 4 0 8 0 procpl 624 279 0 241 4 0 4 4 0 8 1 sockpl 400 142 0 125 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 13 0 12 2 1 1 1 0 8 0 mcl2k 2048 63671 0 63625 17 3 14 14 0 8 6 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 100786 0 100657 12 1 11 11 0 8 0 bufpl 280 4055 0 179 277 0 277 277 0 8 0 anonpl 16 38031 0 22751 63 1 62 62 0 107 0 amapchunkpl 152 1199 0 1056 8 0 8 8 0 158 2 amappl16 192 950 0 124 42 0 42 42 0 8 0 amappl15 184 56 0 50 1 0 1 1 0 8 0 amappl14 176 28 0 25 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 58 0 45 1 0 1 1 0 8 0 amappl10 144 15 0 12 1 0 1 1 0 8 0 amappl9 136 554 0 551 1 0 1 1 0 8 0 amappl8 128 104 0 86 1 0 1 1 0 8 0 amappl7 120 97 0 86 1 0 1 1 0 8 0 amappl6 112 66 0 59 1 0 1 1 0 8 0 amappl5 104 152 0 142 1 0 1 1 0 8 0 amappl4 96 431 0 401 1 0 1 1 0 8 0 amappl3 88 115 0 107 1 0 1 1 0 8 0 amappl2 80 994 0 915 3 1 2 3 0 8 0 amappl1 72 13921 0 13497 25 10 15 20 0 8 6 amappl 80 523 0 478 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 222 0 207 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 222 0 207 1 0 1 1 0 8 0 vmmpekpl 168 5767 0 5740 2 0 2 2 0 8 0 vmmpepl 168 34483 0 32483 113 3 110 110 0 357 22 vmsppl 272 221 0 207 2 0 2 2 0 8 1 pdppl 4096 450 0 414 6 0 6 6 0 8 1 pvpl 32 128381 0 110046 151 0 151 151 0 265 2 pmappl 200 221 0 207 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 153 0 7 5 0 5 5 0 8 0