panic: receive 1a: so 0xfffffd805e568640, so_type 3, m 0xfffffd8051d17a00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 32222 49707 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e568640,0,ffff80001d3726e8,0,0,ffff80001d3725f4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12690,ffff80001d3726e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3726e8,0,ffff80001d3727d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372780,ffff80001d3727d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372850) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb1f0, 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 0xfffffd805e568640, so_type 3, m 0xfffffd8051d17a00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e568640,0,ffff80001d3726e8,0,0,ffff80001d3725f4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd805eb12690,ffff80001d3726e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d3726e8,0,ffff80001d3727d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372780,ffff80001d3727d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372850) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb1f0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372430 rbx 0xffff80001d3724e0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3723f0 r9 0x1 r10 0 r11 0x496a9f00b34e9d23 r12 0x3000000008 r13 0xffff80001d372440 r14 0x100 r15 0x1 rip 0xffffffff816dc298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372420 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=32222 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339288 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a000 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43631 523127 68039 0 2 0 syz-executor.0 43631 286114 68039 0 2 0x4000000 syz-executor.0 16883 80169 0 0 3 0x14200 bored sosplice 98224 272928 14805 0 3 0x82 nanosleep syz-executor.1 68039 226351 14805 0 3 0x82 nanosleep syz-executor.0 14805 177431 99073 0 3 0x82 thrsleep syz-fuzzer 14805 421268 99073 0 3 0x4000082 nanosleep syz-fuzzer 14805 238740 99073 0 3 0x4000082 thrsleep syz-fuzzer 14805 192271 99073 0 3 0x4000082 thrsleep syz-fuzzer 14805 36699 99073 0 3 0x4000082 thrsleep syz-fuzzer 14805 164101 99073 0 3 0x4000082 thrsleep syz-fuzzer 14805 440671 99073 0 3 0x4000082 thrsleep syz-fuzzer 14805 26287 99073 0 3 0x4000082 kqread syz-fuzzer 99073 508886 83119 0 3 0x10008a pause ksh 83119 51186 13472 0 3 0x92 select sshd 25071 392266 1 0 3 0x100083 ttyin getty 13472 371511 1 0 3 0x80 select sshd 66581 193197 50842 73 3 0x100090 kqread syslogd 50842 448534 1 0 3 0x100082 netio syslogd 78032 35674 1 77 2 0x100010 dhclient *49707 32222 1 0 7 0 dhclient 74458 522930 0 0 2 0x14200 zerothread 15220 131656 0 0 3 0x14200 aiodoned aiodoned 11236 508441 0 0 3 0x14200 syncer update 17143 503799 0 0 3 0x14200 cleaner cleaner 89402 71583 0 0 3 0x14200 reaper reaper 67015 106539 0 0 3 0x14200 pgdaemon pagedaemon 41701 433717 0 0 3 0x14200 bored crynlk 23111 451220 0 0 3 0x14200 bored crypto 91151 476122 0 0 3 0x40014200 acpi0 acpi0 65565 304321 0 0 3 0x14200 bored softnet 28869 20885 0 0 3 0x14200 bored systqmp 51805 513530 0 0 3 0x14200 bored systq 24536 405220 0 0 3 0x40014200 bored softclock 71570 324158 0 0 3 0x40014200 idle0 17441 47788 0 0 3 0x14200 bored smr 1 325225 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 9501 6357K 6970K 78643K 10826 0 pcb 13 10K 12K 78643K 112 0 rtable 93 2K 3K 78643K 312 0 ifaddr 77 16K 16K 78643K 115 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 33 0 iov 0 0K 24K 78643K 83 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1338 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 113 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 366 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 383 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 52 0 in_multi 70 3K 3K 78643K 119 0 ether_multi 1 0K 0K 78643K 17 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 231 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 55K 78643K 1737 0 UVM aobj 31 2K 2K 78643K 32 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 97 0 NDP 11 0K 0K 78643K 21 0 temp 127 3022K 3086K 78643K 16332 0 kqueue 3 4K 12K 78643K 64 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 12 0 4 1 0 1 1 0 8 0 rtpcb 80 42 0 40 1 0 1 1 0 8 0 rtentry 112 63 0 27 2 0 2 2 0 8 0 unpcb 120 245 0 236 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 234 0 234 1 1 0 1 0 8 0 tcpcb 544 761 0 757 14 13 1 14 0 8 0 ipq 40 3 0 3 2 1 1 1 0 8 1 ipqe 40 136 0 136 2 1 1 1 0 8 1 inpcb 280 1130 0 1119 10 7 3 9 0 8 2 rttmr 72 4 0 4 2 1 1 1 0 8 1 nd6 48 8 0 3 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 374 0 213 14 1 13 13 0 8 2 art_table 32 376 0 213 2 0 2 2 0 8 0 art_node 16 62 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 18 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 109 0 99 1 0 1 1 0 8 0 shmpl 112 30 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1932 0 534 46 0 46 46 0 8 0 ffsino 240 1932 0 534 83 0 83 83 0 8 0 nchpl 144 2711 0 1108 60 0 60 60 0 8 0 uvmvnodes 72 2025 0 0 37 0 37 37 0 8 0 vnodes 208 2025 0 0 107 0 107 107 0 8 0 namei 1024 7423 0 7423 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 1 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 8330 0 8330 1 0 1 1 0 8 1 plimitpl 152 61 0 53 1 0 1 1 0 8 0 sigapl 424 553 0 524 4 0 4 4 0 8 0 futexpl 56 10798 0 10798 1 0 1 1 0 8 1 knotepl 112 125 0 106 1 0 1 1 0 8 0 kqueuepl 144 339 0 337 5 4 1 5 0 8 0 pipelkpl 16 171 0 161 1 0 1 1 0 8 0 pipepl 120 342 0 323 2 1 1 2 0 8 0 fdescpl 432 538 0 524 2 0 2 2 0 8 0 filepl 120 4341 0 4245 12 7 5 11 0 8 2 lockfpl 104 104 0 103 1 0 1 1 0 8 0 lockfspl 48 40 0 39 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 482 0 475 1 0 1 1 0 8 0 zombiepl 144 524 0 523 1 0 1 1 0 8 0 processpl 896 553 0 523 4 0 4 4 0 8 0 procpl 624 1018 0 980 4 0 4 4 0 8 1 sosppl 128 10 0 10 1 1 0 1 0 8 0 sockpl 400 1423 0 1405 16 11 5 14 0 8 2 mcl64k 65536 64 0 64 1 0 1 1 0 8 1 mcl16k 16384 8 0 8 2 1 1 1 0 8 1 mcl12k 12288 12 0 12 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 22 0 22 1 0 1 1 0 8 1 mcl4k 4096 53 0 53 2 1 1 1 0 8 1 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 65288 0 65236 22 14 8 19 0 8 0 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 106453 0 106319 33 16 17 21 0 8 4 bufpl 280 4808 0 170 332 0 332 332 0 8 0 anonpl 16 67625 0 51141 84 2 82 83 0 107 15 amapchunkpl 152 2379 0 2245 13 2 11 11 0 158 5 amappl16 192 3029 0 2125 61 9 52 58 0 8 6 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 10 0 8 2 1 1 1 0 8 0 amappl13 168 24 0 22 1 0 1 1 0 8 0 amappl12 160 171 0 170 2 1 1 1 0 8 0 amappl11 152 68 0 55 1 0 1 1 0 8 0 amappl10 144 15 0 9 1 0 1 1 0 8 0 amappl9 136 550 0 545 1 0 1 1 0 8 0 amappl8 128 454 0 428 1 0 1 1 0 8 0 amappl7 120 108 0 97 1 0 1 1 0 8 0 amappl6 112 21 0 19 1 0 1 1 0 8 0 amappl5 104 640 0 629 1 0 1 1 0 8 0 amappl4 96 438 0 410 1 0 1 1 0 8 0 amappl3 88 124 0 118 1 0 1 1 0 8 0 amappl2 80 3512 0 3447 3 1 2 3 0 8 0 amappl1 72 18912 0 18508 27 18 9 20 0 8 0 amappl 80 1259 0 1214 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 31 0 1 1 0 1 1 0 8 0 uaddrrnd 24 541 0 525 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 541 0 525 1 0 1 1 0 8 0 vmmpekpl 168 7445 0 7417 2 0 2 2 0 8 0 vmmpepl 168 70957 0 68998 116 15 101 108 0 357 14 vmsppl 272 540 0 525 3 1 2 2 0 8 0 pdppl 4096 1088 0 1052 6 1 5 6 0 8 0 pvpl 32 209530 0 190064 196 1 195 196 0 265 36 pmappl 200 540 0 525 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 209 0 61 6 1 5 6 0 8 0