N p  p p   ` ./file0panic: receive 1a: so 0xfffffd805e555000, so_type 3, m 0xfffffd806223a900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *490086 5388 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219c408) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e555000,0,ffff80001d3820d8,0,0,ffff80001d381fe4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80623fc5a0,ffff80001d3820d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349c38,6,ffff80001d3820d8,0,ffff80001d3821c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349c38,ffff80001d382170,ffff80001d3821c0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382240) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec650, 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 0xfffffd805e555000, so_type 3, m 0xfffffd806223a900, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8219c408) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e555000,0,ffff80001d3820d8,0,0,ffff80001d381fe4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80623fc5a0,ffff80001d3820d8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d349c38,6,ffff80001d3820d8,0,ffff80001d3821c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:236 sys_read(ffff80001d349c38,ffff80001d382170,ffff80001d3821c0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001d382240) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec650, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d381e20 rbx 0xffff80001d381ed0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d381de0 r9 0x1 r10 0 r11 0x9fe755fd563cc0ee r12 0x3000000008 r13 0xffff80001d381e30 r14 0x100 r15 0x1 rip 0xffffffff81e49f98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d381e10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=490086 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d349758,0xffff80001d349eb8 process=0xffff8000ffffa010 user=0xffff80001d37d000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=0, pctcpu=0.1 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77945 215872 33786 0 2 0 syz-executor.0 77945 270733 33786 0 2 0x4000000 syz-executor.0 24294 56624 20954 0 2 0x480 syz-executor.1 24294 447314 20954 0 3 0x4000080 netio syz-executor.1 20954 90265 74301 0 2 0x482 syz-executor.1 33786 431978 74301 0 2 0x482 syz-executor.0 74301 384153 54983 0 3 0x82 thrsleep syz-fuzzer 74301 115470 54983 0 2 0x4000482 syz-fuzzer 74301 314949 54983 0 3 0x4000082 thrsleep syz-fuzzer 74301 430958 54983 0 3 0x4000082 thrsleep syz-fuzzer 74301 143896 54983 0 3 0x4000082 thrsleep syz-fuzzer 74301 486216 54983 0 3 0x4000082 kqread syz-fuzzer 74301 128761 54983 0 3 0x4000082 thrsleep syz-fuzzer 74301 176057 54983 0 3 0x4000082 thrsleep syz-fuzzer 54983 515630 54968 0 3 0x10008a pause ksh 54968 278383 90565 0 3 0x92 select sshd 23967 325401 1 0 3 0x100083 ttyin getty 90565 267074 1 0 3 0x80 select sshd 21452 35368 77982 73 3 0x100090 kqread syslogd 77982 355615 1 0 3 0x100082 netio syslogd 68999 427482 1 77 2 0x100010 dhclient * 5388 490086 1 0 7 0 dhclient 32882 388822 0 0 2 0x14200 zerothread 79876 151512 0 0 3 0x14200 aiodoned aiodoned 27373 397695 0 0 2 0x14200 update 68175 99262 0 0 3 0x14200 cleaner cleaner 39053 419212 0 0 3 0x14200 reaper reaper 34118 89104 0 0 3 0x14200 pgdaemon pagedaemon 45781 304598 0 0 3 0x14200 bored crynlk 55561 342409 0 0 3 0x14200 bored crypto 62279 405075 0 0 3 0x40014200 acpi0 acpi0 45205 363732 0 0 2 0x14200 softnet 20940 114838 0 0 3 0x14200 bored systqmp 91627 161483 0 0 3 0x14200 bored systq 884 300829 0 0 3 0x40014200 bored softclock 2563 338062 0 0 3 0x40014200 idle0 32117 315383 0 0 3 0x14200 bored smr 1 155769 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 9482 6345K 6992K 78643K 11257 0 pcb 13 8K 8K 78643K 75 0 rtable 104 3K 3K 78643K 262 0 ifaddr 64 13K 13K 78643K 97 0 counters 22 16K 16K 78643K 25 0 ioctlops 0 0K 2K 78643K 41 0 iov 0 0K 16K 78643K 57 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1413 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 36 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 281 0 sigio 2 0K 0K 78643K 72 0 proc 49 38K 63K 78643K 391 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 23 0 in_multi 39 2K 2K 78643K 80 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 4 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 196 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 112 54K 54K 78643K 1524 0 UVM aobj 14 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 10 0K 0K 78643K 19 0 temp 112 3015K 3079K 78643K 11024 0 kqueue 3 4K 45K 78643K 117 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 37 0 35 1 0 1 1 0 8 0 rtentry 112 58 0 16 2 0 2 2 0 8 0 unpcb 120 279 0 268 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 59 0 59 1 1 0 1 0 8 0 tcpcb 544 112 0 108 2 0 2 2 0 8 1 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 280 328 0 321 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 6 0 4 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 ppxss 1128 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 266 0 78 14 2 12 14 0 8 0 art_table 32 267 0 78 2 0 2 2 0 8 0 art_node 16 57 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semapl 112 34 0 24 1 0 1 1 0 8 0 shmpl 112 18 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1783 0 385 46 0 46 46 0 8 0 ffsino 240 1783 0 385 83 0 83 83 0 8 0 nchpl 144 2423 0 821 60 0 60 60 0 8 0 uvmvnodes 72 1985 0 0 37 0 37 37 0 8 0 vnodes 208 1985 0 0 105 0 105 105 0 8 0 namei 1024 6529 0 6529 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 0 1 0 1 1 0 8 0 scxspl 192 7669 0 7669 1 0 1 1 0 8 1 plimitpl 152 54 0 47 1 0 1 1 0 8 0 sigapl 432 452 0 438 2 0 2 2 0 8 0 futexpl 56 6860 0 6860 1 0 1 1 0 8 1 knotepl 112 177 0 158 2 0 2 2 0 8 1 kqueuepl 104 290 0 288 1 0 1 1 0 8 0 pipelkpl 16 215 0 204 1 0 1 1 0 8 0 pipepl 120 430 0 409 1 0 1 1 0 8 0 fdescpl 432 453 0 438 2 0 2 2 0 8 0 filepl 120 3475 0 3375 5 0 5 5 0 8 1 lockfpl 104 83 0 82 1 0 1 1 0 8 0 lockfspl 48 29 0 28 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 305 0 297 1 0 1 1 0 8 0 zombiepl 144 438 0 438 1 0 1 1 0 8 1 processpl 896 467 0 438 4 0 4 4 0 8 0 procpl 624 819 0 781 4 0 4 4 0 8 1 sockpl 400 648 0 628 5 0 5 5 0 8 2 mcl64k 65536 39 0 39 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 12 0 12 2 1 1 1 0 8 1 mcl9k 9216 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 40 0 40 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 64730 0 64688 15 9 6 12 0 8 0 mtagpl 80 54 0 4 3 1 2 2 0 8 0 mbufpl 256 103666 0 103463 18 4 14 14 0 8 0 bufpl 280 5047 0 182 348 0 348 348 0 8 0 anonpl 16 57789 0 40965 72 2 70 70 0 107 2 amapchunkpl 152 2338 0 2206 19 4 15 19 0 158 9 amappl16 192 2364 0 1437 48 0 48 48 0 8 1 amappl15 184 173 0 167 1 0 1 1 0 8 0 amappl14 176 25 0 23 1 0 1 1 0 8 0 amappl12 160 6 0 5 1 0 1 1 0 8 0 amappl11 152 173 0 160 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 549 0 545 1 0 1 1 0 8 0 amappl8 128 111 0 88 1 0 1 1 0 8 0 amappl7 120 97 0 86 1 0 1 1 0 8 0 amappl6 112 179 0 172 1 0 1 1 0 8 0 amappl5 104 161 0 151 1 0 1 1 0 8 0 amappl4 96 667 0 638 1 0 1 1 0 8 0 amappl3 88 132 0 124 1 0 1 1 0 8 0 amappl2 80 2969 0 2890 3 1 2 3 0 8 0 amappl1 72 17644 0 17206 26 16 10 20 0 8 0 amappl 80 1042 0 998 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 19 0 6 1 0 1 1 0 8 0 uaddrrnd 24 457 0 438 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 457 0 438 1 0 1 1 0 8 0 vmmpekpl 168 7231 0 7204 2 0 2 2 0 8 0 vmmpepl 168 61212 0 59069 119 20 99 112 0 357 5 vmsppl 272 456 0 438 2 0 2 2 0 8 0 pdppl 4096 920 0 880 7 1 6 6 0 8 0 pvpl 32 202968 0 183159 172 2 170 172 0 265 10 pmappl 200 456 0 438 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 162 0 19 5 0 5 5 0 8 0