panic: receive 3: so 0xfffffd8068064000, so_type 3, m 0xfffffd805bac8100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *409044 25208 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8068064000,0,ffff80001d6e53e8,0,0,ffff80001d6e52f4) at soreceive+0x16e7 soo_read(fffffd805eab7618,ffff80001d6e53e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e53e8,0,ffff80001d6e54d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5480,ffff80001d6e54d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5550) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcce00, 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 0xfffffd8068064000, so_type 3, m 0xfffffd805bac8100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8068064000,0,ffff80001d6e53e8,0,0,ffff80001d6e52f4) at soreceive+0x16e7 soo_read(fffffd805eab7618,ffff80001d6e53e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e53e8,0,ffff80001d6e54d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5480,ffff80001d6e54d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5550) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcce00, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5130 rbx 0xffff80001d6e51e0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff816eac3f kprintf+0x15f r9 0x1 r10 0x2 r11 0xde2511537055ff54 r12 0x3000000008 r13 0xffff80001d6e5140 r14 0x100 r15 0x1 rip 0xffffffff8121b298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5120 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=409044 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9768 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09110 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 69830 16134 87983 0 2 0 syz-executor.0 69830 88995 87983 0 2 0x4000000 syz-executor.0 24833 12836 0 0 3 0x14280 nfsidl nfsio 90281 504607 0 0 3 0x14280 nfsidl nfsio 56750 260485 0 0 3 0x14280 nfsidl nfsio 56931 231902 0 0 3 0x14280 nfsidl nfsio 73681 147358 0 0 3 0x14280 nfsidl nfsio 96432 484048 0 0 3 0x14280 nfsidl nfsio 80081 202241 0 0 3 0x14280 nfsidl nfsio 92334 490541 0 0 3 0x14280 nfsidl nfsio 93016 193535 0 0 3 0x14280 nfsidl nfsio 36972 508308 0 0 3 0x14280 nfsidl nfsio 69552 21429 0 0 3 0x14280 nfsidl nfsio 44788 499476 0 0 3 0x14280 nfsidl nfsio 16420 324316 0 0 3 0x14280 nfsidl nfsio 62814 429666 0 0 3 0x14280 nfsidl nfsio 61258 247221 0 0 3 0x14280 nfsidl nfsio 7771 385074 0 0 3 0x14280 nfsidl nfsio 69580 54091 0 0 3 0x14280 nfsidl nfsio 41980 66177 0 0 3 0x14280 nfsidl nfsio 77933 345128 0 0 3 0x14280 nfsidl nfsio 39519 79785 0 0 3 0x14280 nfsidl nfsio 6700 481939 0 0 3 0x14200 bored sosplice 8680 127185 67532 0 2 0x2 syz-executor.1 87983 312153 67532 0 2 0x482 syz-executor.0 67532 121783 40394 0 3 0x82 thrsleep syz-fuzzer 67532 432007 40394 0 2 0x4000482 syz-fuzzer 67532 149161 40394 0 3 0x4000082 thrsleep syz-fuzzer 67532 426877 40394 0 3 0x4000082 thrsleep syz-fuzzer 67532 207580 40394 0 3 0x4000082 thrsleep syz-fuzzer 67532 340283 40394 0 3 0x4000082 kqread syz-fuzzer 67532 22604 40394 0 3 0x4000082 thrsleep syz-fuzzer 67532 289772 40394 0 3 0x4000082 thrsleep syz-fuzzer 67532 131686 40394 0 3 0x4000082 thrsleep syz-fuzzer 40394 438982 59773 0 3 0x10008a pause ksh 59773 266387 58139 0 3 0x92 select sshd 93158 492221 1 0 3 0x100083 ttyin getty 58139 222504 1 0 3 0x80 select sshd 82449 495535 29638 73 3 0x100090 kqread syslogd 29638 160923 1 0 3 0x100082 netio syslogd 70880 114730 1 77 2 0x100010 dhclient *25208 409044 1 0 7 0 dhclient 87309 419816 0 0 3 0x14200 bored smr 95157 255054 0 0 2 0x14200 zerothread 1846 163114 0 0 3 0x14200 aiodoned aiodoned 26557 439583 0 0 3 0x14200 syncer update 54787 425049 0 0 3 0x14200 cleaner cleaner 86583 153210 0 0 3 0x14200 reaper reaper 6970 500538 0 0 3 0x14200 pgdaemon pagedaemon 51414 472685 0 0 3 0x14200 bored crynlk 28039 147821 0 0 3 0x14200 bored crypto 3191 40423 0 0 3 0x40014200 acpi0 acpi0 84654 228876 0 0 3 0x14200 bored softnet 87771 189635 0 0 3 0x14200 bored systqmp 17967 370118 0 0 3 0x14200 bored systq 52632 374077 0 0 3 0x40014200 bored softclock 68442 274676 0 0 3 0x40014200 idle0 1 103962 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 9477 6348K 6725K 78643K 10824 0 pcb 13 8K 8K 78643K 188 0 rtable 124 6K 7K 78643K 309 0 ifaddr 60 13K 14K 78643K 108 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 72 0 iov 0 0K 12K 78643K 17 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1315 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 21 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 239 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 54K 78643K 377 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 21 0 in_multi 40 2K 2K 78643K 63 0 ether_multi 1 0K 0K 78643K 2 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 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 201 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 119 54K 71K 78643K 1410 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 8 0K 0K 78643K 17 0 temp 85 3854K 3919K 78643K 4518 0 kqueue 3 4K 8K 78643K 14 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 7 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 54 0 7 2 0 2 2 0 8 0 unpcb 120 156 0 148 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 543 0 543 2 2 0 1 0 8 0 tcpcb 544 50 0 43 1 0 1 1 0 8 0 inpcb 296 340 0 329 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 0 1 1 0 8 1 nd6 48 10 0 4 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 38 0 33 2 1 1 1 0 8 0 pftag 88 6 0 4 1 0 1 1 0 8 0 pfrule 1360 17 0 13 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 200 0 0 13 0 13 13 0 8 0 art_table 32 201 0 0 2 0 2 2 0 8 0 art_node 16 53 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1687 0 287 88 0 88 88 0 8 0 ffsino 240 1687 0 287 83 0 83 83 0 8 0 nchpl 144 2198 0 594 60 0 60 60 0 8 0 uvmvnodes 72 1792 0 0 33 0 33 33 0 8 0 vnodes 208 1792 0 0 95 0 95 95 0 8 0 namei 1024 5742 0 5742 2 1 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 12 0 8 1 0 1 1 0 8 0 scxspl 192 6365 0 6365 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 446 0 397 6 0 6 6 0 8 0 futexpl 56 4561 0 4561 1 0 1 1 0 8 1 knotepl 112 74 0 55 1 0 1 1 0 8 0 kqueuepl 144 144 0 142 1 0 1 1 0 8 0 pipepl 272 88 0 78 1 0 1 1 0 8 0 fdescpl 432 411 0 397 2 0 2 2 0 8 0 filepl 120 2389 0 2290 4 0 4 4 0 8 1 lockfpl 104 68 0 67 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 274 0 266 1 0 1 1 0 8 0 zombiepl 144 397 0 397 2 1 1 1 0 8 1 processpl 928 446 0 397 7 0 7 7 0 8 0 procpl 624 721 0 663 5 0 5 5 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 522 0 501 4 0 4 4 0 8 1 mcl64k 65536 13 0 11 1 0 1 1 0 8 0 mcl16k 16384 5 0 5 2 1 1 1 0 8 1 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 6 0 6 1 0 1 1 0 8 1 mcl8k 8192 14 0 14 1 0 1 1 0 8 1 mcl4k 4096 29 0 29 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 96206 0 96144 24 16 8 20 0 8 0 mtagpl 96 28 0 10 2 1 1 1 0 8 0 mbufpl 256 152611 0 152196 39 3 36 36 0 8 8 bufpl 280 3634 0 133 251 0 251 251 0 8 0 anonpl 16 69127 0 52630 87 11 76 85 0 107 6 amapchunkpl 152 2144 0 2000 10 3 7 10 0 158 1 amappl16 192 2404 0 1450 60 11 49 60 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 31 0 26 1 0 1 1 0 8 0 amappl13 168 130 0 125 1 0 1 1 0 8 0 amappl12 160 114 0 109 1 0 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 11 0 7 1 0 1 1 0 8 0 amappl9 136 373 0 371 1 0 1 1 0 8 0 amappl8 128 434 0 395 2 0 2 2 0 8 0 amappl7 120 107 0 96 1 0 1 1 0 8 0 amappl6 112 26 0 20 1 0 1 1 0 8 0 amappl5 104 562 0 549 1 0 1 1 0 8 0 amappl4 96 428 0 402 1 0 1 1 0 8 0 amappl3 88 118 0 112 1 0 1 1 0 8 0 amappl2 80 2575 0 2510 2 0 2 2 0 8 0 amappl1 72 18261 0 17840 24 15 9 17 0 8 0 amappl 80 936 0 892 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 417 0 399 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 417 0 399 1 0 1 1 0 8 0 vmmpekpl 168 6668 0 6634 2 0 2 2 0 8 0 vmmpepl 168 57911 0 55843 125 27 98 113 0 357 7 vmsppl 272 416 0 399 2 0 2 2 0 8 0 pdppl 4096 840 0 802 7 1 6 6 0 8 1 pvpl 32 189102 0 169506 201 14 187 196 0 265 23 pmappl 200 416 0 399 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 282 0 25 8 0 8 8 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(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8068064000,0,ffff80001d6e53e8,0,0,ffff80001d6e52f4) at soreceive+0x16e7 soo_read(fffffd805eab7618,ffff80001d6e53e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e53e8,0,ffff80001d6e54d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5480,ffff80001d6e54d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5550) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcce00, 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(ffffffff823c4569) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd8068064000,0,ffff80001d6e53e8,0,0,ffff80001d6e52f4) at soreceive+0x16e7 soo_read(fffffd805eab7618,ffff80001d6e53e8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9278,6,ffff80001d6e53e8,0,ffff80001d6e54d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9278,ffff80001d6e5480,ffff80001d6e54d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5550) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcce00, count: -8