panic: receive 1a: so 0xfffffd8065f4b190, so_type 3, m 0xfffffd8053952900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 57507 24168 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8b80) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065f4b190,0,ffff80001d6e5968,0,0,ffff80001d6e5874) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80661f7078,ffff80001d6e5968,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5968,0,ffff80001d6e5a50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5a00,ffff80001d6e5a50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ad0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff32d0, 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 1a: so 0xfffffd8065f4b190, so_type 3, m 0xfffffd8053952900, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c8b80) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065f4b190,0,ffff80001d6e5968,0,0,ffff80001d6e5874) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80661f7078,ffff80001d6e5968,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5968,0,ffff80001d6e5a50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5a00,ffff80001d6e5a50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ad0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff32d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e56b0 rbx 0xffff80001d6e5760 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81c4e9df kprintf+0x15f r9 0x1 r10 0x2 r11 0xcf2cb868790a06c r12 0x3000000008 r13 0xffff80001d6e56c0 r14 0x100 r15 0x1 rip 0xffffffff811df5d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e56a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=57507 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a99d8 process=0xffff80001d6c43b0 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 89101 370723 24933 0 2 0 syz-executor.0 89101 96246 24933 0 3 0x4000000 smrbar syz-executor.0 13026 154300 0 0 3 0x14280 nfsidl nfsio 93032 99834 0 0 3 0x14280 nfsidl nfsio 23307 132445 0 0 3 0x14280 nfsidl nfsio 57291 30078 0 0 3 0x14280 nfsidl nfsio 6830 105598 0 0 3 0x14280 nfsidl nfsio 58330 5785 0 0 3 0x14280 nfsidl nfsio 53226 335887 0 0 3 0x14280 nfsidl nfsio 81368 834 0 0 3 0x14280 nfsidl nfsio 7160 374484 0 0 3 0x14280 nfsidl nfsio 60966 139900 0 0 3 0x14280 nfsidl nfsio 72339 385975 0 0 3 0x14280 nfsidl nfsio 90082 346297 0 0 3 0x14280 nfsidl nfsio 85291 62961 0 0 3 0x14280 nfsidl nfsio 54910 128552 0 0 3 0x14280 nfsidl nfsio 22208 416143 0 0 3 0x14280 nfsidl nfsio 27311 93159 0 0 3 0x14280 nfsidl nfsio 71653 346991 0 0 3 0x14280 nfsidl nfsio 50412 88301 0 0 3 0x14280 nfsidl nfsio 86178 418702 0 0 3 0x14280 nfsidl nfsio 29063 502112 0 0 3 0x14280 nfsidl nfsio 88686 407860 0 0 3 0x14200 bored sosplice 28418 331851 81853 0 2 0x2 syz-executor.1 24933 294808 81853 0 3 0x82 nanosleep syz-executor.0 81853 484689 87932 0 3 0x82 thrsleep syz-fuzzer 81853 244120 87932 0 2 0x4000002 syz-fuzzer 81853 37089 87932 0 3 0x4000082 kqread syz-fuzzer 81853 28604 87932 0 3 0x4000082 thrsleep syz-fuzzer 81853 430093 87932 0 3 0x4000082 thrsleep syz-fuzzer 81853 137505 87932 0 3 0x4000082 thrsleep syz-fuzzer 81853 15195 87932 0 3 0x4000082 thrsleep syz-fuzzer 81853 18633 87932 0 3 0x4000082 thrsleep syz-fuzzer 81853 171552 87932 0 3 0x4000082 thrsleep syz-fuzzer 87932 379865 80526 0 3 0x10008a pause ksh 80526 16647 30210 0 3 0x92 select sshd 78757 230734 1 0 3 0x100083 ttyin getty 30210 191677 1 0 3 0x80 select sshd 92380 249298 50311 73 3 0x100090 kqread syslogd 50311 202816 1 0 3 0x100082 netio syslogd 56778 405296 1 77 2 0x100010 dhclient *24168 57507 1 0 7 0 dhclient 9740 383034 0 0 3 0x14200 bored smr 33888 388104 0 0 2 0x14200 zerothread 1169 284575 0 0 3 0x14200 aiodoned aiodoned 75650 199098 0 0 3 0x14200 syncer update 19171 230052 0 0 3 0x14200 cleaner cleaner 25658 224768 0 0 3 0x14200 reaper reaper 94782 497100 0 0 3 0x14200 pgdaemon pagedaemon 7791 325336 0 0 3 0x14200 bored crynlk 39568 355110 0 0 3 0x14200 bored crypto 77020 338833 0 0 3 0x40014200 acpi0 acpi0 25579 513183 0 0 2 0x14200 softnet 81808 224651 0 0 3 0x14200 bored systqmp 73238 15363 0 0 3 0x14200 bored systq 29380 331536 0 0 2 0x40014200 softclock 17958 369810 0 0 3 0x40014200 idle0 1 243646 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 9500 6350K 6713K 78643K 10918 0 pcb 13 8K 8K 78643K 67 0 rtable 119 8K 10K 78643K 314 0 ifaddr 87 17K 17K 78643K 121 0 sysctl 1 1K 1K 78643K 1 0 counters 22 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 75 0 iov 0 0K 16K 78643K 51 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1340 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 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 277 0 sigio 0 0K 0K 78643K 4 0 proc 51 38K 55K 78643K 396 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 24 0 in_multi 71 3K 3K 78643K 116 0 ether_multi 1 0K 0K 78643K 7 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 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 203 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 139 40K 56K 78643K 1523 0 UVM aobj 9 2K 3K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 12 0K 0K 78643K 24 0 temp 102 3863K 3927K 78643K 9890 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 35 0 33 1 0 1 1 0 8 0 rtentry 112 58 0 19 2 0 2 2 0 8 0 unpcb 120 643 0 635 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 33 0 33 2 2 0 1 0 8 0 tcpcb 544 62 0 58 1 0 1 1 0 8 0 inpcb 296 300 0 293 2 1 1 2 0 8 0 nd6 48 16 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 6 0 5 1 0 1 1 0 8 0 pfrke_plain 160 13 0 10 1 0 1 1 0 8 0 pfrktable 1344 36 0 26 2 1 1 2 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstitem 24 6 0 4 1 0 1 1 0 8 0 pfstkey 112 12 0 10 1 0 1 1 0 8 0 pfstate 328 6 0 5 1 0 1 1 0 8 0 pfrule 1360 15 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 223 0 19 14 0 14 14 0 8 0 art_table 32 224 0 19 2 0 2 2 0 8 0 art_node 16 57 0 24 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 10 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1836 0 439 88 0 88 88 0 8 0 ffsino 240 1836 0 439 83 0 83 83 0 8 0 nchpl 144 2439 0 847 60 0 60 60 0 8 0 rtmask 32 8 0 8 1 1 0 1 0 8 0 uvmvnodes 72 1956 0 0 36 0 36 36 0 8 0 vnodes 208 1956 0 0 103 0 103 103 0 8 0 namei 1024 6505 0 6504 2 1 1 1 0 8 0 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 6 1 0 1 1 0 8 0 scxspl 192 7189 0 7189 1 0 1 1 0 8 1 plimitpl 152 25 0 18 1 0 1 1 0 8 0 sigapl 424 484 0 435 6 0 6 6 0 8 0 futexpl 56 5647 0 5647 2 1 1 1 0 8 1 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 144 43 0 40 1 0 1 1 0 8 0 pipepl 272 100 0 90 2 1 1 2 0 8 0 fdescpl 432 449 0 435 2 0 2 2 0 8 0 filepl 120 3137 0 3041 4 0 4 4 0 8 1 lockfpl 104 43 0 42 1 0 1 1 0 8 0 lockfspl 48 18 0 17 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 240 0 233 1 0 1 1 0 8 0 zombiepl 144 435 0 435 1 0 1 1 0 8 1 processpl 928 484 0 435 7 0 7 7 0 8 0 procpl 624 794 0 736 6 1 5 6 0 8 0 sosppl 128 11 0 11 1 1 0 1 0 8 0 sockpl 400 980 0 963 5 2 3 5 0 8 1 mcl64k 65536 535 0 533 65 13 52 65 0 8 51 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 12 0 12 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 2 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 39 0 39 2 2 0 1 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 77637 0 77595 15 9 6 13 0 8 0 mtagpl 96 28 0 2 2 1 1 1 0 8 0 mbufpl 256 125677 0 125246 60 31 29 58 0 8 1 bufpl 280 3963 0 124 275 0 275 275 0 8 0 anonpl 16 66604 0 50517 86 8 78 85 0 107 1 amapchunkpl 152 2310 0 2174 21 6 15 20 0 158 9 amappl16 192 2599 0 1574 64 11 53 64 0 8 1 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 155 0 148 1 0 1 1 0 8 0 amappl13 168 140 0 136 1 0 1 1 0 8 0 amappl12 160 14 0 10 1 0 1 1 0 8 0 amappl11 152 175 0 164 1 0 1 1 0 8 0 amappl10 144 20 0 14 1 0 1 1 0 8 0 amappl9 136 376 0 373 1 0 1 1 0 8 0 amappl8 128 334 0 291 2 0 2 2 0 8 0 amappl7 120 105 0 94 1 0 1 1 0 8 0 amappl6 112 20 0 17 1 0 1 1 0 8 0 amappl5 104 258 0 247 1 0 1 1 0 8 0 amappl4 96 667 0 639 1 0 1 1 0 8 0 amappl3 88 244 0 237 1 0 1 1 0 8 0 amappl2 80 2765 0 2700 2 0 2 2 0 8 0 amappl1 72 17381 0 16972 24 15 9 17 0 8 0 amappl 80 1024 0 981 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 12 0 4 1 0 1 1 0 8 0 uaddrrnd 24 453 0 437 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 453 0 437 1 0 1 1 0 8 0 vmmpekpl 168 6860 0 6830 2 0 2 2 0 8 0 vmmpepl 168 61584 0 59445 136 23 113 120 0 357 20 vmsppl 272 452 0 437 2 0 2 2 0 8 0 pdppl 4096 912 0 876 7 2 5 6 0 8 0 pvpl 32 188530 0 169363 195 7 188 195 0 265 11 pmappl 200 452 0 437 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 362 0 66 10 0 10 10 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(ffffffff823c8b80) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065f4b190,0,ffff80001d6e5968,0,0,ffff80001d6e5874) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80661f7078,ffff80001d6e5968,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5968,0,ffff80001d6e5a50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5a00,ffff80001d6e5a50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ad0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff32d0, 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(ffffffff823c8b80) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8065f4b190,0,ffff80001d6e5968,0,0,ffff80001d6e5874) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80661f7078,ffff80001d6e5968,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e5968,0,ffff80001d6e5a50) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e5a00,ffff80001d6e5a50) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ad0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff32d0, count: -8