panic: receive 1a: so 0xfffffd8065282000, so_type 3, m 0xfffffd805c4ae200, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *336524 45108 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0286) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065282000,0,ffff80001d381df8,0,0,ffff80001d381d04) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8063ffb438,ffff80001d381df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3494e8,6,ffff80001d381df8,0,ffff80001d381ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3494e8,ffff80001d381e90,ffff80001d381ee0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d381f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7200, 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 0xfffffd8065282000, so_type 3, m 0xfffffd805c4ae200, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821a0286) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065282000,0,ffff80001d381df8,0,0,ffff80001d381d04) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd8063ffb438,ffff80001d381df8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3494e8,6,ffff80001d381df8,0,ffff80001d381ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d3494e8,ffff80001d381e90,ffff80001d381ee0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d381f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7200, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381b40 rbx 0xffff80001d381bf0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381b00 r9 0x1 r10 0 r11 0x608e447eb6ca4d9e r12 0x3000000008 r13 0xffff80001d381b50 r14 0x100 r15 0x1 rip 0xffffffff816ecec8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381b30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=336524 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d34a5f8,0xffff80001d349018 process=0xffff8000ffffa390 user=0xffff80001d37d000, vmspace=0xfffffd806bc09330 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 81924 448770 95938 0 2 0 syz-executor.0 81924 95439 95938 0 2 0x4000000 syz-executor.0 42580 301924 59979 0 2 0 syz-executor.1 42580 204094 59979 0 2 0x4000000 syz-executor.1 59979 312034 1824 0 3 0x82 nanosleep syz-executor.1 95373 27549 1 0 3 0x100083 ttyin getty 85263 373691 0 0 3 0x14200 bored sosplice 6154 188379 0 0 3 0x14200 acct acct 95938 410902 1824 0 3 0x82 nanosleep syz-executor.0 1824 159934 37630 0 3 0x82 thrsleep syz-fuzzer 1824 351881 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 228249 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 278657 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 365124 37630 0 3 0x4000082 kqread syz-fuzzer 1824 353796 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 28818 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 436928 37630 0 3 0x4000082 thrsleep syz-fuzzer 1824 105522 37630 0 3 0x4000082 thrsleep syz-fuzzer 37630 457164 52091 0 3 0x10008a pause ksh 52091 405484 31521 0 3 0x92 select sshd 31521 493684 1 0 3 0x80 select sshd 10731 30193 47937 73 3 0x100090 kqread syslogd 47937 21671 1 0 3 0x100082 netio syslogd 47208 449366 1 77 2 0x100010 dhclient *45108 336524 1 0 7 0 dhclient 60963 500317 0 0 2 0x14200 zerothread 76995 427671 0 0 3 0x14200 aiodoned aiodoned 57001 522435 0 0 3 0x14200 syncer update 64991 107914 0 0 3 0x14200 cleaner cleaner 86598 220772 0 0 3 0x14200 reaper reaper 86824 49120 0 0 3 0x14200 pgdaemon pagedaemon 86881 486349 0 0 3 0x14200 bored crynlk 66281 80422 0 0 3 0x14200 bored crypto 48734 259353 0 0 3 0x40014200 acpi0 acpi0 49590 489373 0 0 3 0x14200 bored softnet 11289 61428 0 0 3 0x14200 bored systqmp 30540 102452 0 0 3 0x14200 bored systq 55303 451386 0 0 3 0x40014200 bored softclock 24848 294817 0 0 3 0x40014200 idle0 37035 486947 0 0 3 0x14200 bored smr 1 318807 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 9572 6410K 6531K 78643K 11206 0 pcb 13 11K 13K 78643K 305 0 rtable 102 11K 12K 78643K 849 0 ifaddr 115 19K 22K 78643K 392 0 counters 22 16K 16K 78643K 64 0 ioctlops 0 0K 2K 78643K 93 0 iov 0 0K 28K 78643K 260 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 76K 77K 78643K 1660 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 20 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 224 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 1346 0 sigio 0 0K 0K 78643K 38 0 proc 52 38K 55K 78643K 700 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 182 0 in_multi 116 4K 5K 78643K 396 0 ether_multi 1 0K 0K 78643K 61 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 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 378 0 pfkey data 0 0K 0K 78643K 2 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 146 137K 153K 78643K 4153 0 UVM aobj 98 7K 7K 78643K 110 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 252 0 NDP 21 0K 0K 78643K 89 0 temp 163 3015K 3091K 78643K 57541 0 kqueue 3 4K 24K 78643K 146 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 27 0 20 1 0 1 1 0 8 0 rtpcb 80 157 0 155 1 0 1 1 0 8 0 rtentry 112 171 0 133 2 0 2 2 0 8 0 unpcb 120 974 0 965 1 0 1 1 0 8 0 syncache 264 13 0 13 4 3 1 1 0 8 1 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 306 0 306 2 2 0 1 0 8 0 tcpcb 544 823 0 819 11 10 1 11 0 8 0 ipq 40 25 0 25 4 3 1 1 0 8 1 ipqe 40 581 0 581 4 3 1 1 0 8 1 inpcb 280 4140 0 4133 10 8 2 9 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 26 0 25 1 0 1 1 0 8 0 pkpcb 40 12 0 12 3 3 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 9 0 8 5 4 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 811 0 640 18 3 15 17 0 8 0 art_table 32 813 0 640 3 0 3 3 0 8 0 art_node 16 166 0 130 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 220 0 210 1 0 1 1 0 8 0 shmpl 112 108 0 12 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3441 0 2047 46 0 46 46 0 8 0 ffsino 240 3441 0 2047 83 0 83 83 0 8 0 nchpl 144 5549 0 3954 60 0 60 60 0 8 0 uvmvnodes 72 3641 0 0 67 0 67 67 0 8 0 vnodes 208 3641 0 0 192 0 192 192 0 8 0 namei 1024 17251 0 17251 2 1 1 1 0 8 1 vcpupl 1984 13 0 1 2 0 2 2 0 8 0 vmpool 528 17 0 5 1 0 1 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 23815 0 23815 1 0 1 1 0 8 1 plimitpl 152 148 0 141 1 0 1 1 0 8 0 sigapl 432 1507 0 1493 2 0 2 2 0 8 0 futexpl 56 38353 0 38353 3 2 1 1 0 8 1 knotepl 112 368 0 349 3 2 1 3 0 8 0 kqueuepl 104 737 0 735 4 3 1 4 0 8 0 pipelkpl 16 383 0 373 1 0 1 1 0 8 0 pipepl 120 766 0 747 3 1 2 2 0 8 1 fdescpl 432 1508 0 1493 2 0 2 2 0 8 0 filepl 120 13373 0 13277 16 11 5 11 0 8 1 lockfpl 104 316 0 315 1 0 1 1 0 8 0 lockfspl 48 102 0 101 1 0 1 1 0 8 0 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 114 0 104 1 0 1 1 0 8 0 ucredpl 96 1496 0 1489 1 0 1 1 0 8 0 zombiepl 144 1493 0 1493 1 0 1 1 0 8 1 processpl 896 1524 0 1493 4 0 4 4 0 8 0 procpl 624 3146 0 3105 4 0 4 4 0 8 0 sosppl 128 14 0 14 2 2 0 1 0 8 0 sockpl 400 5404 0 5386 21 16 5 14 0 8 2 mcl64k 65536 368 0 368 30 29 1 29 0 8 1 mcl16k 16384 16 0 16 5 4 1 1 0 8 1 mcl12k 12288 32 0 32 4 3 1 1 0 8 1 mcl9k 9216 26 0 26 5 4 1 1 0 8 1 mcl8k 8192 74 0 74 3 2 1 1 0 8 1 mcl4k 4096 166 0 165 3 2 1 1 0 8 0 mcl2k2 2112 11 0 11 6 5 1 1 0 8 1 mcl2k 2048 68248 0 68195 19 11 8 18 0 8 0 mtagpl 80 14 0 14 2 2 0 1 0 8 0 mbufpl 256 122908 0 122773 76 51 25 30 0 8 10 bufpl 280 10854 0 4694 441 0 441 441 0 8 0 anonpl 16 204368 0 187443 118 33 85 86 0 107 14 amapchunkpl 152 8354 0 8204 40 20 20 20 0 158 13 amappl16 192 9640 0 8703 93 37 56 59 0 8 8 amappl15 184 69 0 64 1 0 1 1 0 8 0 amappl14 176 54 0 50 1 0 1 1 0 8 0 amappl13 168 5 0 5 1 1 0 1 0 8 0 amappl12 160 213 0 208 2 1 1 1 0 8 0 amappl11 152 61 0 50 1 0 1 1 0 8 0 amappl10 144 1079 0 1072 1 0 1 1 0 8 0 amappl9 136 617 0 613 1 0 1 1 0 8 0 amappl8 128 172 0 134 3 1 2 2 0 8 0 amappl7 120 1163 0 1149 1 0 1 1 0 8 0 amappl6 112 68 0 62 1 0 1 1 0 8 0 amappl5 104 383 0 372 1 0 1 1 0 8 0 amappl4 96 1758 0 1724 1 0 1 1 0 8 0 amappl3 88 167 0 160 1 0 1 1 0 8 0 amappl2 80 11139 0 11058 3 1 2 3 0 8 0 amappl1 72 36039 0 35608 27 18 9 20 0 8 0 amappl 80 3467 0 3417 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 109 0 12 2 0 2 2 0 8 0 uaddrrnd 24 1525 0 1498 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1525 0 1498 1 0 1 1 0 8 0 vmmpekpl 168 12883 0 12858 2 0 2 2 0 8 0 vmmpepl 168 187877 0 185675 188 81 107 126 0 357 9 vmsppl 272 1524 0 1498 4 2 2 2 0 8 0 pdppl 4096 3056 0 3008 9 2 7 7 0 8 0 pvpl 32 582145 0 562241 305 107 198 291 0 265 35 pmappl 200 1524 0 1498 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 295 0 135 6 0 6 6 0 8 0