panic: receive 1: so 0xfffffd805e566000, so_type 3, sb_cc 354 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *303022 864 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c7390) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e566000,0,ffff80001d372308,0,0,ffff80001d372214) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f5fd690,ffff80001d372308,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372308,0,ffff80001d3723f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d3723a0,ffff80001d3723f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372470) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd870, 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 0xfffffd805e566000, so_type 3, sb_cc 354 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c7390) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e566000,0,ffff80001d372308,0,0,ffff80001d372214) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd805f5fd690,ffff80001d372308,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d372308,0,ffff80001d3723f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d3723a0,ffff80001d3723f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372470) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd870, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372050 rbx 0xffff80001d372100 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372010 r9 0x1 r10 0 r11 0xdc7e36ec1cf914f6 r12 0x3000000008 r13 0xffff80001d372060 r14 0x100 r15 0x1 rip 0xffffffff81570788 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372040 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=303022 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d339288 process=0xffff8000ffffa3a8 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 96295 429580 29431 0 2 0 syz-executor.0 96295 248822 29431 0 2 0x4000000 syz-executor.0 62937 472016 0 0 3 0x14200 bored sosplice 68052 444202 43292 0 2 0x2 syz-executor.1 29431 508275 43292 0 2 0x482 syz-executor.0 43292 420996 7414 0 3 0x82 thrsleep syz-fuzzer 43292 37454 7414 0 2 0x4000482 syz-fuzzer 43292 194798 7414 0 3 0x4000082 thrsleep syz-fuzzer 43292 128315 7414 0 3 0x4000082 thrsleep syz-fuzzer 43292 176419 7414 0 3 0x4000082 kqread syz-fuzzer 43292 96394 7414 0 3 0x4000082 thrsleep syz-fuzzer 43292 366536 7414 0 3 0x4000082 thrsleep syz-fuzzer 43292 406580 7414 0 3 0x4000082 thrsleep syz-fuzzer 7414 504796 37848 0 3 0x10008a pause ksh 37848 86522 90178 0 3 0x92 select sshd 46134 23600 1 0 3 0x100083 ttyin getty 90178 506267 1 0 3 0x80 select sshd 11938 223415 91305 73 3 0x100090 kqread syslogd 91305 225432 1 0 3 0x100082 netio syslogd 75407 445228 1 77 3 0x100090 poll dhclient * 864 303022 1 0 7 0 dhclient 88025 472870 0 0 3 0x14200 bored smr 86796 93108 0 0 2 0x14200 zerothread 76424 366574 0 0 3 0x14200 aiodoned aiodoned 57933 48761 0 0 3 0x14200 syncer update 9953 95988 0 0 3 0x14200 cleaner cleaner 81127 198184 0 0 3 0x14200 reaper reaper 98348 421076 0 0 3 0x14200 pgdaemon pagedaemon 15394 155270 0 0 3 0x14200 bored crynlk 14350 251541 0 0 3 0x14200 bored crypto 58370 185888 0 0 3 0x40014200 acpi0 acpi0 73035 4588 0 0 3 0x14200 bored softnet 34376 89839 0 0 3 0x14200 bored systqmp 3804 318937 0 0 3 0x14200 bored systq 36645 252079 0 0 3 0x40014200 bored softclock 32030 314767 0 0 3 0x40014200 idle0 1 491293 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 9497 6469K 6594K 78643K 10701 0 pcb 13 8K 8K 78643K 35 0 rtable 107 3K 3K 78643K 305 0 ifaddr 66 13K 13K 78643K 71 0 counters 22 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 12K 78643K 23 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1280 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 8 0K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 126 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 54K 78643K 368 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 5 0 in_multi 52 2K 3K 78643K 61 0 ether_multi 1 0K 0K 78643K 5 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 31 148K 148K 78643K 31 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 92 20K 23K 78643K 1132 0 UVM aobj 4 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 10 0K 0K 78643K 14 0 temp 84 3028K 3092K 78643K 3041 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 139 0 137 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 87 0 79 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 94 0 94 2 1 1 1 0 8 1 tcpcb 544 34 0 30 1 0 1 1 0 8 0 inpcb 280 134 0 126 2 0 2 2 0 8 1 nd6 48 7 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 203 0 0 13 0 13 13 0 8 0 art_table 32 204 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semapl 112 8 0 2 1 0 1 1 0 8 0 shmpl 112 4 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1571 0 172 46 0 46 46 0 8 0 ffsino 240 1571 0 172 83 0 83 83 0 8 0 nchpl 144 1943 0 333 60 0 60 60 0 8 0 uvmvnodes 72 1650 0 0 30 0 30 30 0 8 0 vnodes 208 1650 0 0 87 0 87 87 0 8 0 namei 1024 4811 0 4810 1 0 1 1 0 8 0 scxspl 192 5714 0 5714 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 313 0 284 4 0 4 4 0 8 0 futexpl 56 2102 0 2102 1 0 1 1 0 8 1 knotepl 112 62 0 43 1 0 1 1 0 8 0 kqueuepl 144 20 0 18 1 0 1 1 0 8 0 pipelkpl 16 80 0 70 1 0 1 1 0 8 0 pipepl 120 160 0 141 1 0 1 1 0 8 0 fdescpl 432 298 0 284 2 0 2 2 0 8 0 filepl 120 1692 0 1596 4 0 4 4 0 8 1 lockfpl 104 55 0 54 1 0 1 1 0 8 0 lockfspl 48 20 0 19 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 95 0 88 1 0 1 1 0 8 0 zombiepl 144 284 0 284 1 0 1 1 0 8 1 processpl 920 313 0 284 4 0 4 4 0 8 0 procpl 624 432 0 395 4 0 4 4 0 8 1 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 360 0 343 4 0 4 4 0 8 2 mcl64k 65536 14 0 14 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 4 0 4 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 17 0 17 2 1 1 1 0 8 1 mcl2k 2048 60817 0 60767 16 2 14 14 0 8 7 mtagpl 80 10 0 2 2 1 1 1 0 8 0 mbufpl 256 98067 0 97972 35 12 23 32 0 8 8 bufpl 280 4358 0 164 300 0 300 300 0 8 0 anonpl 16 57588 0 44086 87 1 86 86 0 107 26 amapchunkpl 152 1861 0 1718 13 0 13 13 0 158 7 amappl16 192 2047 0 1286 59 12 47 59 0 8 8 amappl15 184 10 0 8 1 0 1 1 0 8 0 amappl14 176 53 0 50 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 61 0 48 1 0 1 1 0 8 0 amappl10 144 14 0 9 1 0 1 1 0 8 0 amappl9 136 422 0 417 1 0 1 1 0 8 0 amappl8 128 295 0 285 1 0 1 1 0 8 0 amappl7 120 103 0 93 1 0 1 1 0 8 0 amappl6 112 21 0 17 1 0 1 1 0 8 0 amappl5 104 233 0 223 1 0 1 1 0 8 0 amappl4 96 437 0 407 1 0 1 1 0 8 0 amappl3 88 113 0 106 1 0 1 1 0 8 0 amappl2 80 1583 0 1518 3 1 2 3 0 8 0 amappl1 72 14801 0 14398 24 11 13 20 0 8 4 amappl 80 684 0 640 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 5 0 2 1 0 1 1 0 8 0 uaddrrnd 24 298 0 284 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 298 0 284 1 0 1 1 0 8 0 vmmpekpl 168 6045 0 6021 2 0 2 2 0 8 0 vmmpepl 168 42944 0 41144 104 3 101 101 0 357 22 vmsppl 272 297 0 284 2 0 2 2 0 8 1 pdppl 4096 602 0 568 6 0 6 6 0 8 1 pvpl 32 159687 0 143205 200 0 200 200 0 265 58 pmappl 200 297 0 284 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 176 0 17 5 0 5 5 0 8 0