panic: receive 1a: so 0xfffffd805e4e0300, so_type 3, m 0xfffffd8057680000, m_type 13267 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 22161 65282 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219b09f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4e0300,0,ffff80001d37e988,0,0,ffff80001d37e894) at soreceive+0x170a sys/kern/uipc_socket.c:966 soo_read(fffffd805eafe960,ffff80001d37e988,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8770,6,ffff80001d37e988,0,ffff80001d37ea70) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff8770,ffff80001d37ea20,ffff80001d37ea70) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d37eaf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcd110, 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 0xfffffd805e4e0300, so_type 3, m 0xfffffd8057680000, m_type 13267 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219b09f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e4e0300,0,ffff80001d37e988,0,0,ffff80001d37e894) at soreceive+0x170a sys/kern/uipc_socket.c:966 soo_read(fffffd805eafe960,ffff80001d37e988,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8770,6,ffff80001d37e988,0,ffff80001d37ea70) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff8770,ffff80001d37ea20,ffff80001d37ea70) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d37eaf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcd110, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d37e6d0 rbx 0xffff80001d37e780 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d37e690 r9 0x1 r10 0 r11 0xb329f96d05c8223d r12 0x3000000008 r13 0xffff80001d37e6e0 r14 0x100 r15 0x1 rip 0xffffffff81042028 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d37e6c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=22161 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8ed8,0xffff8000ffff8c70 process=0xffff8000ffff6a30 user=0xffff80001d379000, vmspace=0xfffffd806bc09110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86696 348483 12600 0 2 0 syz-executor.1 86696 128912 12600 0 2 0x4000000 syz-executor.1 51396 299769 26677 0 3 0x80 nanosleep syz-executor.0 51396 396014 26677 0 3 0x4000080 select syz-executor.0 51396 416345 26677 0 3 0x4000080 fsleep syz-executor.0 52401 53435 0 0 3 0x14200 bored sosplice 26677 468193 56851 0 3 0x82 nanosleep syz-executor.0 12600 456566 56851 0 3 0x82 nanosleep syz-executor.1 56851 428208 39235 0 3 0x82 thrsleep syz-fuzzer 56851 204179 39235 0 3 0x4000082 thrsleep syz-fuzzer 56851 264150 39235 0 3 0x4000082 kqread syz-fuzzer 56851 228490 39235 0 3 0x4000082 thrsleep syz-fuzzer 56851 134610 39235 0 3 0x4000082 thrsleep syz-fuzzer 56851 517172 39235 0 3 0x4000082 thrsleep syz-fuzzer 56851 148288 39235 0 3 0x4000082 thrsleep syz-fuzzer 39235 382373 61783 0 3 0x10008a pause ksh 61783 154801 10452 0 3 0x92 select sshd 69550 452646 1 0 3 0x100083 ttyin getty 10452 473031 1 0 3 0x80 select sshd 94444 421817 4617 73 3 0x100090 kqread syslogd 4617 479627 1 0 3 0x100082 netio syslogd 93736 283730 1 77 3 0x100090 poll dhclient *65282 22161 1 0 7 0 dhclient 64813 485874 0 0 2 0x14200 zerothread 27969 79985 0 0 3 0x14200 aiodoned aiodoned 16430 458840 0 0 3 0x14200 syncer update 82368 419534 0 0 3 0x14200 cleaner cleaner 6545 376891 0 0 3 0x14200 reaper reaper 84478 332676 0 0 3 0x14200 pgdaemon pagedaemon 50 214554 0 0 3 0x14200 bored crynlk 73570 127898 0 0 3 0x14200 bored crypto 5475 33006 0 0 3 0x40014200 acpi0 acpi0 62952 406843 0 0 3 0x14200 bored softnet 13862 522940 0 0 3 0x14200 bored systqmp 97071 186806 0 0 3 0x14200 bored systq 2092 50218 0 0 3 0x40014200 bored softclock 5985 331620 0 0 3 0x40014200 idle0 91924 200769 0 0 3 0x14200 bored smr 1 212128 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 9457 6326K 6930K 78643K 10710 0 pcb 13 8K 8K 78643K 27 0 rtable 105 3K 3K 78643K 197 0 ifaddr 46 11K 11K 78643K 52 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 0K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1264 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 3 0K 0K 78643K 3 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 61 0 sigio 0 0K 0K 78643K 4 0 proc 48 38K 63K 78643K 359 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 2 0 in_multi 40 2K 2K 78643K 43 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 31 148K 148K 78643K 31 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 972 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 6 0K 0K 78643K 10 0 temp 73 2997K 3061K 78643K 3323 0 kqueue 3 4K 8K 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 49 0 41 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 246 0 246 1 0 1 1 0 8 1 tcpcb 544 20 0 16 1 0 1 1 0 8 0 inpcb 280 74 0 67 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 22 0 22 1 0 1 1 0 8 1 semapl 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 1458 0 58 46 0 46 46 0 8 0 ffsino 240 1458 0 58 83 0 83 83 0 8 0 nchpl 144 1725 0 113 60 0 60 60 0 8 0 uvmvnodes 72 1542 0 0 29 0 29 29 0 8 0 vnodes 208 1542 0 0 82 0 82 82 0 8 0 namei 1024 4245 0 4245 1 0 1 1 0 8 1 scxspl 192 4872 0 4872 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 232 0 218 2 0 2 2 0 8 0 futexpl 56 1042 0 1041 1 0 1 1 0 8 0 knotepl 112 59 0 40 1 0 1 1 0 8 0 kqueuepl 104 16 0 14 1 0 1 1 0 8 0 pipelkpl 16 71 0 61 1 0 1 1 0 8 0 pipepl 120 142 0 123 1 0 1 1 0 8 0 fdescpl 432 233 0 218 2 0 2 2 0 8 0 filepl 120 1285 0 1188 4 0 4 4 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 19 0 9 1 0 1 1 0 8 0 ucredpl 96 57 0 50 1 0 1 1 0 8 0 zombiepl 144 218 0 218 1 0 1 1 0 8 1 processpl 864 248 0 218 4 0 4 4 0 8 0 procpl 632 297 0 258 4 0 4 4 0 8 0 sockpl 384 142 0 125 3 0 3 3 0 8 1 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 12 0 12 2 1 1 1 0 8 1 mcl2k 2048 62764 0 62707 19 5 14 16 0 8 6 mtagpl 80 23 0 2 2 1 1 1 0 8 0 mbufpl 256 99525 0 99340 14 1 13 13 0 8 0 bufpl 280 6328 0 1326 358 0 358 358 0 8 0 anonpl 16 37632 0 23075 63 2 61 61 0 107 2 amapchunkpl 152 1058 0 923 9 1 8 8 0 158 2 amappl16 192 1009 0 217 42 0 42 42 0 8 2 amappl15 184 74 0 67 1 0 1 1 0 8 0 amappl14 176 24 0 23 1 0 1 1 0 8 0 amappl12 160 20 0 17 1 0 1 1 0 8 0 amappl11 152 46 0 35 1 0 1 1 0 8 0 amappl10 144 20 0 17 1 0 1 1 0 8 0 amappl9 136 552 0 549 1 0 1 1 0 8 0 amappl8 128 98 0 82 1 0 1 1 0 8 0 amappl7 120 99 0 87 1 0 1 1 0 8 0 amappl6 112 54 0 48 1 0 1 1 0 8 0 amappl5 104 168 0 156 1 0 1 1 0 8 0 amappl4 96 442 0 415 1 0 1 1 0 8 0 amappl3 88 118 0 110 1 0 1 1 0 8 0 amappl2 80 1088 0 1011 3 1 2 3 0 8 0 amappl1 72 13990 0 13555 26 16 10 20 0 8 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 233 0 218 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 233 0 218 1 0 1 1 0 8 0 vmmpekpl 168 5778 0 5760 1 0 1 1 0 8 0 vmmpepl 168 35641 0 33662 113 8 105 105 0 357 18 vmsppl 272 232 0 218 2 0 2 2 0 8 1 pdppl 4096 472 0 436 6 0 6 6 0 8 1 pvpl 32 130730 0 113093 153 2 151 151 0 265 8 pmappl 200 232 0 218 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 150 0 9 5 0 5 5 0 8 0