panic: receive 3: so 0xfffffd8061c25640, so_type 3, m 0xfffffd806624b700, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *386386 61753 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c1d07) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061c25640,0,ffff80001d6e5668,0,0,ffff80001d6e5574) at soreceive+0x16e7 soo_read(fffffd80617f7870,ffff80001d6e5668,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5668,0,ffff80001d6e5750) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5700,ffff80001d6e5750) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e57d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5cc0, 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 0xfffffd8061c25640, so_type 3, m 0xfffffd806624b700, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c1d07) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061c25640,0,ffff80001d6e5668,0,0,ffff80001d6e5574) at soreceive+0x16e7 soo_read(fffffd80617f7870,ffff80001d6e5668,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5668,0,ffff80001d6e5750) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5700,ffff80001d6e5750) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e57d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5cc0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e53b0 rbx 0xffff80001d6e5460 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8228533f kprintf+0x15f r9 0x1 r10 0x2 r11 0xfd000ed04e30383c r12 0x3000000008 r13 0xffff80001d6e53c0 r14 0x100 r15 0x1 rip 0xffffffff81cfcf18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e53a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=386386 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a99d8 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09550 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35280 296990 62165 0 2 0 syz-executor.1 35280 365639 62165 0 2 0x4000000 syz-executor.1 47311 306089 0 0 3 0x14200 bored sosplice 62133 428207 0 0 3 0x14200 acct acct 62165 292606 59742 0 2 0x482 syz-executor.1 19185 88561 0 0 3 0x14280 nfsidl nfsio 11480 518814 0 0 3 0x14280 nfsidl nfsio 30246 516282 0 0 3 0x14280 nfsidl nfsio 27566 489484 0 0 3 0x14280 nfsidl nfsio 68272 274882 0 0 3 0x14280 nfsidl nfsio 6647 423403 0 0 3 0x14280 nfsidl nfsio 2804 90356 0 0 3 0x14280 nfsidl nfsio 5471 410312 0 0 3 0x14280 nfsidl nfsio 86385 213629 0 0 3 0x14280 nfsidl nfsio 16631 43860 0 0 3 0x14280 nfsidl nfsio 2114 26154 0 0 3 0x14280 nfsidl nfsio 50616 296101 0 0 3 0x14280 nfsidl nfsio 52231 475948 0 0 3 0x14280 nfsidl nfsio 17970 507690 0 0 3 0x14280 nfsidl nfsio 3501 120825 0 0 3 0x14280 nfsidl nfsio 36882 228893 0 0 3 0x14280 nfsidl nfsio 91680 42463 0 0 3 0x14280 nfsidl nfsio 26206 513004 0 0 3 0x14280 nfsidl nfsio 28111 49643 0 0 3 0x14280 nfsidl nfsio 86104 277722 0 0 3 0x14280 nfsidl nfsio 87447 276726 59742 0 2 0x2 syz-executor.0 59742 50105 52410 0 3 0x82 thrsleep syz-fuzzer 59742 353432 52410 0 2 0x4000482 syz-fuzzer 59742 135980 52410 0 3 0x4000082 thrsleep syz-fuzzer 59742 385494 52410 0 3 0x4000082 thrsleep syz-fuzzer 59742 412827 52410 0 2 0x4000482 syz-fuzzer 59742 133764 52410 0 3 0x4000082 kqread syz-fuzzer 59742 340030 52410 0 3 0x4000082 thrsleep syz-fuzzer 59742 166937 52410 0 3 0x4000082 thrsleep syz-fuzzer 52410 467765 9265 0 3 0x10008a pause ksh 9265 317224 3373 0 3 0x92 select sshd 51781 276272 1 0 3 0x100083 ttyin getty 3373 39650 1 0 3 0x80 select sshd 31582 339582 88035 73 3 0x100090 kqread syslogd 88035 296283 1 0 3 0x100082 netio syslogd 11693 293992 1 77 2 0x100010 dhclient *61753 386386 1 0 7 0 dhclient 80984 203275 0 0 3 0x14200 bored smr 29687 346516 0 0 2 0x14200 zerothread 81854 156898 0 0 3 0x14200 aiodoned aiodoned 49406 15205 0 0 3 0x14200 syncer update 99149 304398 0 0 3 0x14200 cleaner cleaner 10488 377629 0 0 3 0x14200 reaper reaper 7265 258910 0 0 3 0x14200 pgdaemon pagedaemon 7123 259997 0 0 3 0x14200 bored crynlk 89473 130149 0 0 3 0x14200 bored crypto 7128 456615 0 0 3 0x40014200 acpi0 acpi0 90686 403985 0 0 3 0x14200 bored softnet 32492 473818 0 0 3 0x14200 bored systqmp 80843 258612 0 0 3 0x14200 bored systq 94371 486099 0 0 3 0x40014200 bored softclock 54280 337686 0 0 3 0x40014200 idle0 1 405562 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 6422K 6783K 78643K 11173 0 pcb 13 8K 8K 78643K 91 0 rtable 97 4K 8K 78643K 621 0 ifaddr 69 14K 14K 78643K 194 0 counters 21 16K 17K 78643K 31 0 ioctlops 0 0K 4K 78643K 111 0 iov 0 0K 12K 78643K 46 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1437 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 116 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 693 0 proc 50 38K 63K 78643K 464 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 46 0 in_multi 41 2K 2K 78643K 235 0 ether_multi 1 0K 0K 78643K 17 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 249 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 150 72K 73K 78643K 2410 0 UVM aobj 25 2K 2K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 60 0 NDP 11 0K 0K 78643K 54 0 temp 109 3854K 3918K 78643K 12634 0 kqueue 3 4K 16K 78643K 29 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 10 0 6 1 0 1 1 0 8 0 rtpcb 80 53 0 51 1 0 1 1 0 8 0 rtentry 112 143 0 107 2 0 2 2 0 8 0 unpcb 120 255 0 247 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 153 0 153 2 1 1 1 0 8 1 tcpcb 544 374 0 370 1 0 1 1 0 8 0 inpcb 296 732 0 725 2 0 2 2 0 8 1 ip6q 72 3 0 3 1 0 1 1 0 8 1 ip6af 40 8 0 8 1 0 1 1 0 8 1 nd6 48 43 0 40 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1136 2 0 2 2 1 1 1 0 8 1 pfrktable 1344 55 0 54 2 1 1 1 0 8 0 pftag 88 16 0 14 2 1 1 1 0 8 0 pfrule 1360 23 0 20 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 716 0 545 16 1 15 15 0 8 2 art_table 32 717 0 545 2 0 2 2 0 8 0 art_node 16 142 0 109 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 12 1 0 1 1 0 8 0 semapl 112 114 0 104 1 0 1 1 0 8 0 shmpl 112 22 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2414 0 1013 88 0 88 88 0 8 0 ffsino 240 2414 0 1013 83 0 83 83 0 8 0 nchpl 144 3678 0 2084 60 0 60 60 0 8 0 uvmvnodes 72 2621 0 0 48 0 48 48 0 8 0 vnodes 208 2621 0 0 138 0 138 138 0 8 0 namei 1024 12297 0 12297 1 0 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 14 1 0 1 1 0 8 1 scxspl 192 10440 0 10440 1 0 1 1 0 8 1 plimitpl 152 48 0 41 1 0 1 1 0 8 0 sigapl 424 895 0 845 6 0 6 6 0 8 0 futexpl 56 12094 0 12094 1 0 1 1 0 8 1 knotepl 112 118 0 99 1 0 1 1 0 8 0 kqueuepl 144 82 0 79 1 0 1 1 0 8 0 pipepl 272 136 0 126 1 0 1 1 0 8 0 fdescpl 432 859 0 845 2 0 2 2 0 8 0 filepl 120 4848 0 4752 4 0 4 4 0 8 1 lockfpl 104 58 0 57 1 0 1 1 0 8 0 lockfspl 48 19 0 18 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 344 0 337 1 0 1 1 0 8 0 zombiepl 144 845 0 845 1 0 1 1 0 8 1 processpl 928 895 0 845 7 0 7 7 0 8 0 procpl 624 1620 0 1562 5 0 5 5 0 8 0 sockpl 400 1043 0 1026 3 0 3 3 0 8 1 mcl64k 65536 20 0 20 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 3 2 1 1 0 8 1 mcl12k 12288 14 0 14 1 0 1 1 0 8 1 mcl9k 9216 11 0 11 2 1 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 49 0 49 2 1 1 1 0 8 1 mcl2k2 2112 4 0 4 2 1 1 1 0 8 1 mcl2k 2048 95032 0 94982 18 11 7 14 0 8 0 mtagpl 96 56 0 28 2 1 1 1 0 8 0 mbufpl 256 153651 0 153416 35 9 26 26 0 8 7 bufpl 280 4282 0 126 297 0 297 297 0 8 0 anonpl 16 109853 0 92821 101 10 91 92 0 107 0 amapchunkpl 152 4504 0 4350 23 14 9 19 0 158 2 amappl16 192 4570 0 3320 78 13 65 66 0 8 2 amappl15 184 135 0 133 1 0 1 1 0 8 0 amappl14 176 26 0 18 1 0 1 1 0 8 0 amappl13 168 50 0 46 1 0 1 1 0 8 0 amappl12 160 12 0 9 2 1 1 1 0 8 0 amappl11 152 50 0 41 1 0 1 1 0 8 0 amappl10 144 174 0 171 1 0 1 1 0 8 0 amappl9 136 715 0 711 1 0 1 1 0 8 0 amappl8 128 620 0 562 2 0 2 2 0 8 0 amappl7 120 281 0 268 1 0 1 1 0 8 0 amappl6 112 26 0 19 1 0 1 1 0 8 0 amappl5 104 782 0 771 1 0 1 1 0 8 0 amappl4 96 457 0 428 1 0 1 1 0 8 0 amappl3 88 123 0 117 1 0 1 1 0 8 0 amappl2 80 6037 0 5974 2 0 2 2 0 8 0 amappl1 72 28047 0 27619 24 15 9 17 0 8 0 amappl 80 1861 0 1813 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 24 0 0 1 0 1 1 0 8 0 uaddrrnd 24 864 0 845 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 864 0 845 1 0 1 1 0 8 0 vmmpekpl 168 8476 0 8439 2 0 2 2 0 8 0 vmmpepl 168 111870 0 109484 145 25 120 128 0 357 14 vmsppl 272 863 0 845 3 1 2 2 0 8 0 pdppl 4096 1734 0 1695 7 1 6 6 0 8 0 pvpl 32 294194 0 274055 221 12 209 214 0 265 3 pmappl 200 863 0 845 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 276 0 29 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(ffffffff823c1d07) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061c25640,0,ffff80001d6e5668,0,0,ffff80001d6e5574) at soreceive+0x16e7 soo_read(fffffd80617f7870,ffff80001d6e5668,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5668,0,ffff80001d6e5750) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5700,ffff80001d6e5750) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e57d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5cc0, 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(ffffffff823c1d07) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8061c25640,0,ffff80001d6e5668,0,0,ffff80001d6e5574) at soreceive+0x16e7 soo_read(fffffd80617f7870,ffff80001d6e5668,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5668,0,ffff80001d6e5750) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5700,ffff80001d6e5750) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e57d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5cc0, count: -8