panic: receive 1: so 0xfffffd803ea5b600, so_type 3, sb_cc 1022 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *487823 11330 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd803ea5b600,0,ffff800014886108,0,0,ffff800014886014) at soreceive+0x16ac sys/kern/uipc_socket.c:798 soo_read(fffffd803755b5a0,ffff800014886108,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8f38,6,ffff800014886108,0,ffff8000148861f0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff8f38,ffff8000148861a0,ffff8000148861f0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800014886270) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe75c0, 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 1: so 0xfffffd803ea5b600, so_type 3, sb_cc 1022 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd803ea5b600,0,ffff800014886108,0,0,ffff800014886014) at soreceive+0x16ac sys/kern/uipc_socket.c:798 soo_read(fffffd803755b5a0,ffff800014886108,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff8f38,6,ffff800014886108,0,ffff8000148861f0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff8000ffff8f38,ffff8000148861a0,ffff8000148861f0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800014886270) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe75c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800014885e50 rbx 0xffff800014885f00 rdx 0x2 rcx 0 rax 0 r8 0xffff800014885e10 r9 0x1 r10 0 r11 0xe54068bc09026037 r12 0x3000000008 r13 0xffff800014885e60 r14 0x100 r15 0x1 rip 0xffffffff8115b788 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014885e40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=487823 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff87a0,0xffff8000ffff9458 process=0xffff8000ffff6710 user=0xffff800014881000, vmspace=0xfffffd803f012000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 81006 402499 64118 0 3 0x80 nanosleep syz-executor.1 81006 93056 64118 0 3 0x4000080 ttyout syz-executor.1 81006 445950 64118 0 3 0x4000000 fdlock syz-executor.1 81006 164761 64118 0 3 0x4000080 fsleep syz-executor.1 12009 284064 0 0 3 0x14200 acct acct 85373 234979 1 0 3 0x100083 ttyin getty 53357 438940 0 0 3 0x14200 bored sosplice 64118 97707 66505 0 3 0x82 nanosleep syz-executor.1 66505 172271 81562 0 3 0x82 thrsleep syz-fuzzer 66505 271905 81562 0 3 0x4000082 nanosleep syz-fuzzer 66505 238482 81562 0 3 0x4000082 thrsleep syz-fuzzer 66505 248155 81562 0 3 0x4000082 thrsleep syz-fuzzer 66505 331909 81562 0 3 0x4000082 thrsleep syz-fuzzer 66505 507099 81562 0 3 0x4000082 thrsleep syz-fuzzer 66505 404884 81562 0 3 0x4000082 thrsleep syz-fuzzer 66505 231500 81562 0 3 0x4000082 kqread syz-fuzzer 81562 313512 1321 0 3 0x10008a pause ksh 1321 112392 74935 0 3 0x92 select sshd 74935 11978 1 0 3 0x80 select sshd 66160 521986 16066 73 3 0x100090 kqread syslogd 16066 133460 1 0 3 0x100082 netio syslogd 3710 232110 1 77 2 0x100010 dhclient *11330 487823 1 0 7 0 dhclient 19540 265361 0 0 2 0x14200 zerothread 46831 46909 0 0 3 0x14200 aiodoned aiodoned 95283 163777 0 0 3 0x14200 syncer update 36535 284021 0 0 3 0x14200 cleaner cleaner 17651 246015 0 0 3 0x14200 reaper reaper 12169 261930 0 0 3 0x14200 pgdaemon pagedaemon 34007 361331 0 0 3 0x14200 bored crynlk 20402 61604 0 0 3 0x14200 bored crypto 61223 204233 0 0 3 0x40014200 acpi0 acpi0 56087 157653 0 0 2 0x14200 softnet 96786 62385 0 0 2 0x14200 systqmp 235 460448 0 0 3 0x14200 bored systq 76187 17276 0 0 3 0x40014200 bored softclock 97324 409944 0 0 3 0x40014200 idle0 83952 270217 0 0 3 0x14200 bored smr 1 32137 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 Kern Lim devbuf 9525 6354K 7374K 78643K 12988 0 0 pcb 13 10K 12K 78643K 271 0 0 rtable 91 3K 4K 78643K 641 0 0 ifaddr 100 20K 22K 78643K 292 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 93 0 0 iov 0 0K 16K 78643K 281 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1224 77K 78K 78643K 2352 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 17 0 0 VM map 18 4K 4K 78643K 20 0 0 sem 12 0K 0K 78643K 240 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 5 13K 25K 78643K 1097 0 0 sigio 0 0K 0K 78643K 104 0 0 proc 49 38K 63K 78643K 539 0 0 subproc 23 1K 2K 78643K 51 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 118 0 0 in_multi 128 5K 5K 78643K 249 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 0 0K 0K 78643K 6 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 315 0 0 pfkey data 0 0K 4K 78643K 2 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 124 136K 137K 78643K 5541 0 0 UVM aobj 48 2K 3K 78643K 54 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 181 0 0 NDP 14 0K 0K 78643K 63 0 0 temp 142 3563K 3631K 78643K 53928 0 0 kqueue 0 0K 0K 78643K 12 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 16 0 11 1 0 1 1 0 8 0 rtpcb 96 95 0 93 1 0 1 1 0 8 0 rtentry 112 133 0 99 2 0 2 2 0 8 0 unpcb 120 2403 0 2395 2 1 1 2 0 8 0 syncache 280 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 178 0 178 1 1 0 1 0 8 0 tcpcb 640 852 0 848 24 23 1 18 0 8 0 ipq 40 13 0 13 5 5 0 1 0 8 0 ipqe 40 414 0 414 5 5 0 1 0 8 0 inpcb 280 1837 0 1830 17 15 2 9 0 8 1 rttmr 72 1 0 1 1 1 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 20 0 19 2 1 1 1 0 8 0 pkpcb 40 8 0 8 3 3 0 1 0 8 0 ppxss 1128 18 0 18 12 12 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 633 0 435 23 8 15 15 0 8 0 art_table 32 635 0 435 2 0 2 2 0 8 0 art_node 16 130 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 27 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 238 0 228 1 0 1 1 0 8 0 shmpl 112 52 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3458 0 2068 46 0 46 46 0 8 0 ffsino 240 3458 0 2068 83 0 83 83 0 8 0 nchpl 144 5364 0 3759 61 0 61 61 0 8 0 uvmvnodes 72 4125 0 0 75 0 75 75 0 8 0 vnodes 208 4125 0 0 218 0 218 218 0 8 0 namei 1024 18957 0 18957 1 0 1 1 0 8 1 vcpupl 1984 16 0 0 2 0 2 2 0 8 0 vmpool 520 18 0 2 2 0 2 2 0 8 0 scxspl 208 18062 0 18062 19 18 1 7 0 8 1 plimitpl 152 94 0 87 1 0 1 1 0 8 0 sigapl 432 1265 0 1252 2 0 2 2 0 8 0 futexpl 56 33397 0 33396 1 0 1 1 0 8 0 knotepl 112 236 0 219 2 1 1 2 0 8 0 kqueuepl 104 496 0 494 4 3 1 4 0 8 0 pipepl 128 680 0 663 5 3 2 2 0 8 1 fdescpl 424 1266 0 1252 2 0 2 2 0 8 0 filepl 120 14346 0 14259 20 14 6 11 0 8 2 lockfpl 104 608 0 607 1 0 1 1 0 8 0 lockfspl 48 160 0 159 1 0 1 1 0 8 0 sessionpl 128 19 0 9 1 0 1 1 0 8 0 pgrppl 48 33 0 23 1 0 1 1 0 8 0 ucredpl 96 3477 0 3470 1 0 1 1 0 8 0 zombiepl 144 1254 0 1253 1 0 1 1 0 8 0 processpl 896 1283 0 1253 4 0 4 4 0 8 0 procpl 648 4761 0 4721 6 1 5 6 0 8 0 sosppl 144 16 0 16 5 4 1 1 0 8 1 sockpl 384 4356 0 4339 28 24 4 14 0 8 2 mcl64k 65536 148 0 148 3 2 1 1 0 8 1 mcl16k 16384 18 0 18 7 7 0 1 0 8 0 mcl12k 12288 47 0 47 8 7 1 1 0 8 1 mcl9k 9216 32 0 32 11 10 1 1 0 8 1 mcl8k 8192 48 0 48 9 8 1 1 0 8 1 mcl4k 4096 148 0 148 3 2 1 1 0 8 1 mcl2k2 2112 11 0 11 7 7 0 1 0 8 0 mcl2k 2048 71440 0 71419 17 13 4 12 0 8 0 mtagpl 80 64 0 28 2 1 1 1 0 8 0 mbufpl 256 124467 0 124233 64 38 26 31 0 8 2 bufpl 280 12053 0 6851 376 4 372 372 0 8 0 anonpl 16 172632 0 152057 153 67 86 100 0 62 0 amapchunkpl 152 10220 0 10053 36 24 12 21 0 158 4 amappl16 192 8631 0 7493 131 73 58 70 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 562 0 554 1 0 1 1 0 8 0 amappl13 168 8 0 8 1 1 0 1 0 8 0 amappl12 160 139 0 136 1 0 1 1 0 8 0 amappl11 152 55 0 43 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 980 0 977 1 0 1 1 0 8 0 amappl8 128 590 0 559 2 0 2 2 0 8 0 amappl7 120 38 0 35 1 0 1 1 0 8 0 amappl6 112 59 0 50 1 0 1 1 0 8 0 amappl5 104 304 0 295 1 0 1 1 0 8 0 amappl4 96 1514 0 1480 1 0 1 1 0 8 0 amappl3 88 678 0 667 1 0 1 1 0 8 0 amappl2 80 9338 0 9269 3 1 2 3 0 8 0 amappl1 72 35068 0 34646 26 17 9 20 0 8 0 amappl 80 4976 0 4924 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 53 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1284 0 1252 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1284 0 1252 1 0 1 1 0 8 0 vmmpekpl 168 15347 0 15316 2 0 2 2 0 8 0 vmmpepl 168 164733 0 162473 212 107 105 142 0 357 1 vmsppl 272 1265 0 1252 2 1 1 2 0 8 0 pdppl 4096 2574 0 2524 8 1 7 7 0 8 0 pvpl 32 439275 0 415867 330 119 211 235 0 265 15 pmappl 200 1283 0 1254 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 227 0 82 6 1 5 5 0 8 0