panic: receive 3: so 0xfffffd806b630640, so_type 3, m 0xfffffd805856c300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *248201 64685 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b630640,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16e7 soo_read(fffffd8065bf7618,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5510,ffff80001d6e5560) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, 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 0xfffffd806b630640, so_type 3, m 0xfffffd805856c300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b630640,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16e7 soo_read(fffffd8065bf7618,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5510,ffff80001d6e5560) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e51c0 rbx 0xffff80001d6e5270 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8138bf7f kprintf+0x15f r9 0x1 r10 0x2 r11 0xf0433a1e532b36ca r12 0x3000000008 r13 0xffff80001d6e51d0 r14 0x100 r15 0x1 rip 0xffffffff813ac878 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e51b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=248201 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9ea8,0xffff80001d6a9c48 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09990 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71420 131178 28615 0 2 0 syz-executor.0 71420 115637 28615 0 2 0x4000000 syz-executor.0 36454 333348 0 0 3 0x14280 nfsidl nfsio 85652 247497 0 0 3 0x14280 nfsidl nfsio 74402 468389 0 0 3 0x14280 nfsidl nfsio 30046 23901 0 0 3 0x14280 nfsidl nfsio 99253 379600 0 0 3 0x14280 nfsidl nfsio 67223 436679 0 0 3 0x14280 nfsidl nfsio 1639 132971 0 0 3 0x14280 nfsidl nfsio 43465 502474 0 0 3 0x14280 nfsidl nfsio 86912 378129 0 0 3 0x14280 nfsidl nfsio 59114 310368 0 0 3 0x14280 nfsidl nfsio 93149 450861 0 0 3 0x14280 nfsidl nfsio 88504 259063 0 0 3 0x14280 nfsidl nfsio 15201 416010 0 0 3 0x14280 nfsidl nfsio 84755 89319 0 0 3 0x14280 nfsidl nfsio 39030 744 0 0 3 0x14280 nfsidl nfsio 60149 372238 0 0 3 0x14280 nfsidl nfsio 43431 168585 0 0 3 0x14280 nfsidl nfsio 1946 348230 0 0 3 0x14280 nfsidl nfsio 77830 168168 0 0 3 0x14280 nfsidl nfsio 41413 296118 0 0 3 0x14280 nfsidl nfsio 27424 38064 30479 0 2 0x2 syz-executor.1 28615 115484 30479 0 2 0x482 syz-executor.0 30479 363654 60365 0 3 0x82 kqread syz-fuzzer 30479 285920 60365 0 3 0x4000082 nanosleep syz-fuzzer 30479 461587 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 290600 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 207475 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 223276 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 427846 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 53948 60365 0 3 0x4000082 thrsleep syz-fuzzer 30479 395637 60365 0 3 0x4000082 thrsleep syz-fuzzer 60365 427806 28541 0 3 0x10008a pause ksh 28541 440080 25241 0 3 0x92 select sshd 6706 351216 1 0 3 0x100083 ttyin getty 25241 157383 1 0 3 0x80 select sshd 80144 326876 57679 73 3 0x100090 kqread syslogd 57679 34152 1 0 3 0x100082 netio syslogd 99811 495170 1 77 2 0x100010 dhclient *64685 248201 1 0 7 0 dhclient 91079 288482 0 0 3 0x14200 bored smr 50297 164944 0 0 2 0x14200 zerothread 48711 516172 0 0 3 0x14200 aiodoned aiodoned 69297 33376 0 0 3 0x14200 syncer update 93637 280339 0 0 3 0x14200 cleaner cleaner 2473 213516 0 0 3 0x14200 reaper reaper 813 117327 0 0 3 0x14200 pgdaemon pagedaemon 61826 13757 0 0 3 0x14200 bored crynlk 60350 499460 0 0 3 0x14200 bored crypto 70160 394493 0 0 3 0x40014200 acpi0 acpi0 86769 25855 0 0 2 0x14200 softnet 19624 53044 0 0 3 0x14200 bored systqmp 66206 167000 0 0 3 0x14200 bored systq 70390 50456 0 0 3 0x40014200 bored softclock 57023 39597 0 0 3 0x40014200 idle0 1 357844 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 9464 6329K 6585K 78643K 10718 0 pcb 13 8K 8K 78643K 39 0 rtable 109 4K 7K 78643K 388 0 ifaddr 59 13K 13K 78643K 95 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 31 0 iov 0 0K 2K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1263 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 159 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 54K 78643K 359 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 4 0 in_multi 62 3K 3K 78643K 81 0 ether_multi 1 0K 0K 78643K 2 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 191 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 125 23K 23K 78643K 1212 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 12 0 NDP 7 0K 0K 78643K 15 0 temp 77 3851K 3915K 78643K 3775 0 kqueue 3 4K 22K 78643K 17 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 187 0 185 1 0 1 1 0 8 0 rtentry 112 52 0 10 2 0 2 2 0 8 0 unpcb 120 161 0 153 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 107 0 107 1 0 1 1 0 8 1 tcpcb 544 28 0 22 1 0 1 1 0 8 0 inpcb 296 202 0 191 2 0 2 2 0 8 1 nd6 48 9 0 5 1 0 1 1 0 8 0 pfrktable 1344 25 0 23 1 0 1 1 0 8 0 pftag 88 6 0 6 1 0 1 1 0 8 1 pfrule 1360 8 0 6 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 219 0 40 12 0 12 12 0 8 0 art_table 32 221 0 40 2 0 2 2 0 8 0 art_node 16 51 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 6 0 6 1 0 1 1 0 8 1 semapl 112 10 0 0 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 1575 0 176 88 0 88 88 0 8 0 ffsino 240 1575 0 176 83 0 83 83 0 8 0 nchpl 144 1959 0 355 60 0 60 60 0 8 0 uvmvnodes 72 1650 0 0 30 0 30 30 0 8 0 vnodes 208 1650 0 0 87 0 87 87 0 8 0 namei 1024 4924 0 4923 1 0 1 1 0 8 0 pfiaddrpl 120 8 0 6 1 0 1 1 0 8 0 scxspl 192 5700 0 5700 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 365 0 317 6 0 6 6 0 8 0 futexpl 56 2636 0 2636 1 0 1 1 0 8 1 knotepl 112 141 0 122 2 0 2 2 0 8 1 kqueuepl 144 24 0 22 1 0 1 1 0 8 0 pipepl 272 86 0 76 1 0 1 1 0 8 0 fdescpl 432 331 0 317 2 0 2 2 0 8 0 filepl 120 1919 0 1823 4 0 4 4 0 8 1 lockfpl 104 33 0 31 1 0 1 1 0 8 0 lockfspl 48 16 0 14 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 180 0 173 1 0 1 1 0 8 0 zombiepl 144 317 0 317 1 0 1 1 0 8 1 processpl 928 365 0 317 7 0 7 7 0 8 0 procpl 624 532 0 475 5 0 5 5 0 8 0 sockpl 400 550 0 531 4 0 4 4 0 8 1 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 21 0 21 1 0 1 1 0 8 1 mcl2k 2048 92614 0 92568 16 5 11 14 0 8 4 mtagpl 96 16 0 2 2 1 1 1 0 8 0 mbufpl 256 147353 0 147187 20 3 17 17 0 8 5 bufpl 280 3458 0 126 238 0 238 238 0 8 0 anonpl 16 48266 0 30501 78 2 76 76 0 107 1 amapchunkpl 152 1452 0 1320 8 1 7 8 0 158 0 amappl16 192 1658 0 639 52 0 52 52 0 8 1 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 84 0 80 1 0 1 1 0 8 0 amappl12 160 68 0 64 1 0 1 1 0 8 0 amappl11 152 50 0 41 1 0 1 1 0 8 0 amappl10 144 12 0 8 1 0 1 1 0 8 0 amappl9 136 371 0 369 1 0 1 1 0 8 0 amappl8 128 343 0 293 2 0 2 2 0 8 0 amappl7 120 113 0 100 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 223 0 211 1 0 1 1 0 8 0 amappl4 96 483 0 450 1 0 1 1 0 8 0 amappl3 88 162 0 156 1 0 1 1 0 8 0 amappl2 80 1823 0 1756 2 0 2 2 0 8 0 amappl1 72 16331 0 15912 24 14 10 17 0 8 1 amappl 80 739 0 698 1 0 1 1 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 331 0 317 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 331 0 317 1 0 1 1 0 8 0 vmmpekpl 168 6187 0 6159 2 0 2 2 0 8 0 vmmpepl 168 47769 0 45632 123 8 115 117 0 357 22 vmsppl 272 330 0 317 2 1 1 2 0 8 0 pdppl 4096 668 0 634 6 1 5 6 0 8 0 pvpl 32 155356 0 134499 179 0 179 179 0 265 4 pmappl 200 330 0 317 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 250 0 12 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b630640,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16e7 soo_read(fffffd8065bf7618,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5510,ffff80001d6e5560) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, 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(ffffffff823c2489) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b630640,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16e7 soo_read(fffffd8065bf7618,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a99c8,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a99c8,ffff80001d6e5510,ffff80001d6e5560) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e55e0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4560, count: -8