panic: receive 3: so 0xfffffd80659594b0, so_type 3, m 0xfffffd8068f23e00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *335290 21168 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80659594b0,0,ffff80001d6e10b8,0,0,ffff80001d6e0fc4) at soreceive+0x16e7 soo_read(fffffd80659f2528,ffff80001d6e10b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e10b8,0,ffff80001d6e11a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e1150,ffff80001d6e11a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1220) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe36d0, 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 3: so 0xfffffd80659594b0, so_type 3, m 0xfffffd8068f23e00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80659594b0,0,ffff80001d6e10b8,0,0,ffff80001d6e0fc4) at soreceive+0x16e7 soo_read(fffffd80659f2528,ffff80001d6e10b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e10b8,0,ffff80001d6e11a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e1150,ffff80001d6e11a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1220) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe36d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e0e00 rbx 0xffff80001d6e0eb0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d6e0dc0 r9 0xffffffff81ceca3f kprintf+0x15f r10 0x1 r11 0xbe7745cf0291b04c r12 0x3000000008 r13 0xffff80001d6e0e10 r14 0x100 r15 0x1 rip 0xffffffff82063088 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e0df0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=335290 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffff8000ffff93d8 process=0xffff80001d6c03c0 user=0xffff80001d6dc000, vmspace=0xfffffd806bc0a770 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45425 19756 96174 0 2 0 syz-executor.0 45425 49213 96174 0 2 0x4000000 syz-executor.0 74453 162954 0 0 3 0x14200 acct acct 33601 210302 0 0 3 0x14280 nfsidl nfsio 43713 499169 0 0 3 0x14280 nfsidl nfsio 88022 339596 0 0 3 0x14280 nfsidl nfsio 75882 418367 0 0 3 0x14280 nfsidl nfsio 55464 392907 0 0 3 0x14280 nfsidl nfsio 47861 377482 0 0 3 0x14280 nfsidl nfsio 58517 507824 0 0 3 0x14280 nfsidl nfsio 2807 112562 0 0 3 0x14280 nfsidl nfsio 4421 58549 0 0 3 0x14280 nfsidl nfsio 26207 4450 0 0 3 0x14280 nfsidl nfsio 80138 396714 0 0 3 0x14280 nfsidl nfsio 9496 240829 0 0 3 0x14280 nfsidl nfsio 52182 67070 0 0 3 0x14280 nfsidl nfsio 41093 231450 0 0 3 0x14280 nfsidl nfsio 57874 103178 0 0 3 0x14280 nfsidl nfsio 83005 306716 0 0 3 0x14280 nfsidl nfsio 5456 482660 0 0 3 0x14280 nfsidl nfsio 48930 444001 0 0 3 0x14280 nfsidl nfsio 55176 380521 0 0 3 0x14280 nfsidl nfsio 5371 191343 0 0 3 0x14280 nfsidl nfsio 23233 246337 44564 0 3 0x82 piperd syz-executor.1 96174 85215 44564 0 3 0x82 nanosleep syz-executor.0 44564 481010 76332 0 3 0x82 thrsleep syz-fuzzer 44564 500658 76332 0 3 0x4000082 nanosleep syz-fuzzer 44564 366223 76332 0 3 0x4000082 thrsleep syz-fuzzer 44564 67075 76332 0 3 0x4000082 thrsleep syz-fuzzer 44564 149607 76332 0 3 0x4000082 thrsleep syz-fuzzer 44564 312877 76332 0 2 0x4000002 syz-fuzzer 44564 285989 76332 0 3 0x4000082 thrsleep syz-fuzzer 76332 195437 10945 0 3 0x10008a pause ksh 10945 403479 29179 0 3 0x92 select sshd 12606 37322 1 0 3 0x100083 ttyin getty 29179 140899 1 0 3 0x80 select sshd 38133 311519 83836 73 3 0x100090 kqread syslogd 83836 313410 1 0 3 0x100082 netio syslogd 81184 139162 1 77 2 0x100010 dhclient *21168 335290 1 0 7 0 dhclient 28861 507332 0 0 3 0x14200 bored smr 24773 389455 0 0 2 0x14200 zerothread 20649 270916 0 0 3 0x14200 aiodoned aiodoned 89630 60514 0 0 3 0x14200 syncer update 66615 267948 0 0 3 0x14200 cleaner cleaner 47889 379709 0 0 3 0x14200 reaper reaper 28783 189778 0 0 3 0x14200 pgdaemon pagedaemon 87374 397985 0 0 3 0x14200 bored crynlk 57895 21780 0 0 3 0x14200 bored crypto 84725 227597 0 0 3 0x40014200 acpi0 acpi0 64041 137602 0 0 3 0x14200 bored softnet 46037 122952 0 0 3 0x14200 bored systqmp 680 449580 0 0 3 0x14200 bored systq 11041 370285 0 0 3 0x40014200 bored softclock 32448 189618 0 0 3 0x40014200 idle0 1 431328 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 9484 6338K 6590K 78643K 10915 0 pcb 13 8K 8K 78643K 51 0 rtable 116 7K 7K 78643K 308 0 ifaddr 69 14K 14K 78643K 113 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 49 0 iov 0 0K 12K 78643K 16 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1319 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 86 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 244 0 sigio 0 0K 0K 78643K 6 0 proc 49 38K 55K 78643K 372 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 34 0 in_multi 42 2K 2K 78643K 91 0 ether_multi 1 0K 0K 78643K 6 0 mrt 1 0K 0K 78643K 1 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 123 38K 39K 78643K 1405 0 UVM aobj 25 2K 2K 78643K 27 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 26 0 NDP 10 0K 0K 78643K 20 0 temp 90 3857K 3921K 78643K 2438 0 kqueue 3 4K 8K 78643K 6 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 88 27 0 25 1 0 1 1 0 8 0 rtentry 112 55 0 14 2 0 2 2 0 8 0 unpcb 120 107 0 99 1 0 1 1 0 8 0 syncache 272 8 0 8 2 2 0 1 0 8 0 tcpqe 32 555 0 555 1 1 0 1 0 8 0 tcpcb 592 118 0 110 3 2 1 2 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 296 276 0 269 4 2 2 2 0 8 1 nd6 48 13 0 9 1 0 1 1 0 8 0 pfrktable 1344 39 0 31 1 0 1 1 0 8 0 pftag 88 7 0 4 1 0 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfrule 1360 14 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 40 13 0 13 13 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 54 0 16 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 82 0 72 1 0 1 1 0 8 0 shmpl 112 24 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1689 0 292 88 0 88 88 0 8 0 ffsino 240 1689 0 292 83 0 83 83 0 8 0 nchpl 144 2370 0 768 60 0 60 60 0 8 0 uvmvnodes 72 1804 0 0 33 0 33 33 0 8 0 vnodes 208 1804 0 0 95 0 95 95 0 8 0 namei 1024 5916 0 5916 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 8 2 1 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 6277 0 6277 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 451 0 402 6 0 6 6 0 8 0 futexpl 56 4443 0 4443 1 0 1 1 0 8 1 knotepl 112 68 0 48 1 0 1 1 0 8 0 kqueuepl 152 14 0 12 1 0 1 1 0 8 0 pipepl 272 95 0 84 3 2 1 2 0 8 0 fdescpl 432 416 0 402 2 0 2 2 0 8 0 filepl 120 2349 0 2251 4 0 4 4 0 8 1 lockfpl 104 48 0 46 1 0 1 1 0 8 0 lockfspl 48 19 0 17 1 0 1 1 0 8 0 sessionpl 120 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 183 0 176 1 0 1 1 0 8 0 zombiepl 144 402 0 402 2 1 1 1 0 8 1 processpl 944 451 0 402 7 0 7 7 0 8 0 procpl 632 705 0 649 7 2 5 5 0 8 0 sockpl 400 410 0 393 4 0 4 4 0 8 2 mcl64k 65536 10 0 10 4 3 1 1 0 8 1 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 3 2 1 1 0 8 1 mcl9k 9216 3 0 3 3 2 1 1 0 8 1 mcl8k 8192 5 0 5 3 2 1 1 0 8 1 mcl4k 4096 23 0 23 4 3 1 1 0 8 1 mcl2k2 2112 3 0 3 2 2 0 1 0 8 0 mcl2k 2048 94882 0 94825 25 17 8 18 0 8 0 mtagpl 96 33 0 2 2 1 1 1 0 8 0 mbufpl 256 151324 0 151105 32 14 18 20 0 8 0 bufpl 280 3515 0 116 243 0 243 243 0 8 0 anonpl 16 55888 0 37501 84 8 76 83 0 107 0 amapchunkpl 152 2658 0 2472 28 20 8 21 0 158 0 amappl16 192 2029 0 1009 52 0 52 52 0 8 1 amappl15 184 201 0 198 1 0 1 1 0 8 0 amappl14 176 1 0 1 1 1 0 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 22 0 20 1 0 1 1 0 8 0 amappl11 152 48 0 39 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 352 0 350 1 0 1 1 0 8 0 amappl8 128 294 0 266 1 0 1 1 0 8 0 amappl7 120 110 0 97 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 352 0 341 1 0 1 1 0 8 0 amappl4 96 425 0 398 1 0 1 1 0 8 0 amappl3 88 120 0 112 1 0 1 1 0 8 0 amappl2 80 2710 0 2645 2 0 2 2 0 8 0 amappl1 72 18044 0 17641 23 14 9 17 0 8 0 amappl 80 941 0 888 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 26 0 2 1 0 1 1 0 8 0 uaddrrnd 24 420 0 404 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 420 0 404 1 0 1 1 0 8 0 vmmpekpl 168 6510 0 6481 2 0 2 2 0 8 0 vmmpepl 168 57381 0 55286 122 30 92 113 0 357 0 vmsppl 272 419 0 404 3 1 2 2 0 8 1 pdppl 4096 846 0 810 6 1 5 6 0 8 0 pvpl 32 174801 0 153314 197 11 186 196 0 265 10 pmappl 200 419 0 404 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 281 0 49 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80659594b0,0,ffff80001d6e10b8,0,0,ffff80001d6e0fc4) at soreceive+0x16e7 soo_read(fffffd80659f2528,ffff80001d6e10b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e10b8,0,ffff80001d6e11a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e1150,ffff80001d6e11a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1220) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe36d0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8499) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80659594b0,0,ffff80001d6e10b8,0,0,ffff80001d6e0fc4) at soreceive+0x16e7 soo_read(fffffd80659f2528,ffff80001d6e10b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff8000ffff9150,6,ffff80001d6e10b8,0,ffff80001d6e11a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff8000ffff9150,ffff80001d6e1150,ffff80001d6e11a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e1220) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe36d0, count: -8