panic: receive 3: so 0xfffffd80668d1190, so_type 3, m 0xfffffd80597f8b00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *509715 5710 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ca65a) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80668d1190,0,ffff80001d6e5868,0,0,ffff80001d6e5774) at soreceive+0x16e7 soo_read(fffffd80617f37f8,ffff80001d6e5868,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5868,0,ffff80001d6e5950) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5900,ffff80001d6e5950) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e59d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff60c0, 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 0xfffffd80668d1190, so_type 3, m 0xfffffd80597f8b00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823ca65a) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80668d1190,0,ffff80001d6e5868,0,0,ffff80001d6e5774) at soreceive+0x16e7 soo_read(fffffd80617f37f8,ffff80001d6e5868,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5868,0,ffff80001d6e5950) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5900,ffff80001d6e5950) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e59d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff60c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e55b0 rbx 0xffff80001d6e5660 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff819e2c3f kprintf+0x15f r9 0x1 r10 0x2 r11 0xa7ebc43dc5d96cfc r12 0x3000000008 r13 0xffff80001d6e55c0 r14 0x100 r15 0x1 rip 0xffffffff823b1bf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e55a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=509715 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9c38,0xffff80001d6a9eb8 process=0xffff80001d6c4e90 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a880 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86283 251309 5997 0 2 0 syz-executor.0 86283 294429 5997 0 2 0x4000000 syz-executor.0 60037 248172 0 0 3 0x14280 nfsidl nfsio 35463 489398 0 0 3 0x14280 nfsidl nfsio 37157 489391 0 0 3 0x14280 nfsidl nfsio 71852 126477 0 0 3 0x14280 nfsidl nfsio 7386 100400 0 0 3 0x14280 nfsidl nfsio 14517 316560 0 0 3 0x14280 nfsidl nfsio 89883 117829 0 0 3 0x14280 nfsidl nfsio 58052 19271 0 0 3 0x14280 nfsidl nfsio 64100 23450 0 0 3 0x14280 nfsidl nfsio 25864 216675 0 0 3 0x14280 nfsidl nfsio 37747 49778 0 0 3 0x14280 nfsidl nfsio 47136 366504 0 0 3 0x14280 nfsidl nfsio 6218 100218 0 0 3 0x14280 nfsidl nfsio 88024 126358 0 0 3 0x14280 nfsidl nfsio 80339 42580 0 0 3 0x14280 nfsidl nfsio 31418 53141 0 0 3 0x14280 nfsidl nfsio 44594 166359 0 0 3 0x14280 nfsidl nfsio 78814 328675 0 0 3 0x14280 nfsidl nfsio 71706 337147 0 0 3 0x14280 nfsidl nfsio 80448 259184 0 0 3 0x14280 nfsidl nfsio 45232 318995 0 0 3 0x14200 acct acct 85983 102420 0 0 3 0x14200 bored sosplice 14286 81485 80125 0 3 0x82 piperd syz-executor.1 5997 301304 80125 0 3 0x82 nanosleep syz-executor.0 80125 520970 96435 0 3 0x82 thrsleep syz-fuzzer 80125 50601 96435 0 3 0x4000082 nanosleep syz-fuzzer 80125 140112 96435 0 3 0x4000082 thrsleep syz-fuzzer 80125 378018 96435 0 3 0x4000082 thrsleep syz-fuzzer 80125 32380 96435 0 3 0x4000082 thrsleep syz-fuzzer 80125 516576 96435 0 3 0x4000082 thrsleep syz-fuzzer 80125 85243 96435 0 2 0x4000002 syz-fuzzer 96435 312990 61529 0 3 0x10008a pause ksh 61529 382088 49557 0 3 0x92 select sshd 42276 257024 1 0 3 0x100083 ttyin getty 49557 502849 1 0 3 0x80 select sshd 79196 346973 74799 73 3 0x100090 kqread syslogd 74799 176147 1 0 3 0x100082 netio syslogd 58634 229011 1 77 2 0x100010 dhclient * 5710 509715 1 0 7 0 dhclient 50546 351990 0 0 3 0x14200 bored smr 77025 508457 0 0 2 0x14200 zerothread 33687 368768 0 0 3 0x14200 aiodoned aiodoned 42695 421077 0 0 3 0x14200 syncer update 84301 500403 0 0 3 0x14200 cleaner cleaner 60165 394215 0 0 3 0x14200 reaper reaper 38191 172242 0 0 3 0x14200 pgdaemon pagedaemon 49429 358452 0 0 3 0x14200 bored crynlk 93851 466363 0 0 3 0x14200 bored crypto 37060 287038 0 0 3 0x40014200 acpi0 acpi0 33904 202362 0 0 2 0x14200 softnet 13264 183647 0 0 3 0x14200 bored systqmp 17661 102969 0 0 3 0x14200 bored systq 10750 16314 0 0 3 0x40014200 bored softclock 12672 368514 0 0 3 0x40014200 idle0 1 307689 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 9489 6348K 6649K 78643K 10879 0 pcb 13 8K 8K 78643K 43 0 rtable 103 3K 7K 78643K 381 0 ifaddr 69 14K 14K 78643K 139 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 27 0 ioctlops 0 0K 4K 78643K 71 0 iov 0 0K 12K 78643K 18 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1322 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 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 285 0 proc 49 38K 54K 78643K 378 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 39 0 in_multi 42 2K 2K 78643K 88 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 193 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 114 37K 41K 78643K 1480 0 UVM aobj 15 4K 4K 78643K 17 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 18 0 NDP 11 0K 0K 78643K 25 0 temp 88 3848K 3912K 78643K 3568 0 kqueue 3 4K 10K 78643K 22 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 35 0 33 1 0 1 1 0 8 0 rtentry 112 56 0 14 2 0 2 2 0 8 0 unpcb 120 161 0 153 1 0 1 1 0 8 0 syncache 264 13 0 13 3 3 0 1 0 8 0 tcpqe 32 75 0 75 1 1 0 1 0 8 0 tcpcb 544 333 0 327 6 4 2 4 0 8 1 inpcb 296 476 0 469 4 3 1 2 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 56 0 56 3 2 1 1 0 8 1 pftag 88 16 0 16 2 2 0 1 0 8 0 pfrule 1360 18 0 16 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 218 0 40 13 0 13 13 0 8 0 art_table 32 220 0 40 2 0 2 2 0 8 0 art_node 16 55 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 64 0 54 1 0 1 1 0 8 0 shmpl 112 14 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1745 0 349 88 0 88 88 0 8 0 ffsino 240 1745 0 349 83 0 83 83 0 8 0 nchpl 144 2313 0 713 60 0 60 60 0 8 0 uvmvnodes 72 1854 0 0 34 0 34 34 0 8 0 vnodes 208 1854 0 0 98 0 98 98 0 8 0 namei 1024 6027 0 6027 3 2 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 3 3 2 1 1 0 8 0 pfiaddrpl 120 16 0 16 5 4 1 1 0 8 1 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6482 0 6482 3 2 1 1 0 8 1 plimitpl 152 38 0 31 1 0 1 1 0 8 0 sigapl 424 493 0 443 6 0 6 6 0 8 0 futexpl 56 5870 0 5870 3 2 1 1 0 8 1 knotepl 112 85 0 65 1 0 1 1 0 8 0 kqueuepl 144 177 0 175 1 0 1 1 0 8 0 pipepl 272 95 0 84 1 0 1 1 0 8 0 fdescpl 432 457 0 443 2 0 2 2 0 8 0 filepl 120 2792 0 2694 4 0 4 4 0 8 1 lockfpl 104 52 0 51 1 0 1 1 0 8 0 lockfspl 48 21 0 20 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 307 0 300 1 0 1 1 0 8 0 zombiepl 144 443 0 443 1 0 1 1 0 8 1 processpl 928 493 0 443 7 0 7 7 0 8 0 procpl 624 801 0 744 5 0 5 5 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 677 0 660 6 3 3 4 0 8 1 mcl64k 65536 12 0 12 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 5 4 1 1 0 8 1 mcl9k 9216 4 0 4 3 3 0 1 0 8 0 mcl8k 8192 7 0 7 5 4 1 1 0 8 1 mcl4k 4096 42 0 42 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 94224 0 94178 23 16 7 17 0 8 1 mtagpl 96 26 0 2 2 1 1 1 0 8 0 mbufpl 256 150789 0 150560 17 2 15 15 0 8 0 bufpl 280 3505 0 117 242 0 242 242 0 8 0 anonpl 16 60876 0 43112 99 27 72 87 0 107 0 amapchunkpl 152 2333 0 2156 24 15 9 21 0 158 0 amappl16 192 2090 0 1148 60 12 48 58 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 218 0 214 1 0 1 1 0 8 0 amappl13 168 63 0 59 1 0 1 1 0 8 0 amappl12 160 59 0 56 1 0 1 1 0 8 0 amappl11 152 266 0 254 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 359 0 357 1 0 1 1 0 8 0 amappl8 128 274 0 252 1 0 1 1 0 8 0 amappl7 120 101 0 90 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 167 0 156 1 0 1 1 0 8 0 amappl4 96 641 0 613 1 0 1 1 0 8 0 amappl3 88 348 0 338 1 0 1 1 0 8 0 amappl2 80 2869 0 2806 2 0 2 2 0 8 0 amappl1 72 19244 0 18839 24 15 9 17 0 8 0 amappl 80 1021 0 967 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 16 0 2 1 0 1 1 0 8 0 uaddrrnd 24 462 0 446 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 462 0 446 1 0 1 1 0 8 0 vmmpekpl 168 6832 0 6799 2 0 2 2 0 8 0 vmmpepl 168 62758 0 60744 136 47 89 118 0 357 1 vmsppl 272 461 0 446 3 1 2 2 0 8 0 pdppl 4096 930 0 894 6 1 5 6 0 8 0 pvpl 32 186841 0 165987 229 47 182 211 0 265 13 pmappl 200 461 0 446 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 275 0 40 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(ffffffff823ca65a) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80668d1190,0,ffff80001d6e5868,0,0,ffff80001d6e5774) at soreceive+0x16e7 soo_read(fffffd80617f37f8,ffff80001d6e5868,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5868,0,ffff80001d6e5950) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5900,ffff80001d6e5950) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e59d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff60c0, 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(ffffffff823ca65a) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd80668d1190,0,ffff80001d6e5868,0,0,ffff80001d6e5774) at soreceive+0x16e7 soo_read(fffffd80617f37f8,ffff80001d6e5868,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5868,0,ffff80001d6e5950) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5900,ffff80001d6e5950) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e59d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff60c0, count: -8