panic: receive 1a: so 0xfffffd806b648000, so_type 3, m 0xfffffd8052e66100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *260081 60191 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cba6d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b648000,0,ffff80001d6e5a48,0,0,ffff80001d6e5954) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80621f8438,ffff80001d6e5a48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5a48,0,ffff80001d6e5b30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5ae0,ffff80001d6e5b30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6310, 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 0xfffffd806b648000, so_type 3, m 0xfffffd8052e66100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cba6d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b648000,0,ffff80001d6e5a48,0,0,ffff80001d6e5954) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80621f8438,ffff80001d6e5a48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5a48,0,ffff80001d6e5b30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5ae0,ffff80001d6e5b30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6310, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5790 rbx 0xffff80001d6e5840 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8141508f kprintf+0x15f r9 0x1 r10 0x2 r11 0x85f5d604c2f12140 r12 0x3000000008 r13 0xffff80001d6e57a0 r14 0x100 r15 0x1 rip 0xffffffff81249ec8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5780 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=260081 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa388,0xffff80001d6a9288 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a440 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65296 412338 334 0 2 0 syz-executor.0 65296 262440 334 0 2 0x4000000 syz-executor.0 57914 52781 22217 0 2 0 syz-executor.1 57914 483440 22217 0 3 0x4000080 fsleep syz-executor.1 38470 419730 0 0 3 0x14280 nfsidl nfsio 24097 340462 0 0 3 0x14280 nfsidl nfsio 43967 59788 0 0 3 0x14280 nfsidl nfsio 81019 479904 0 0 3 0x14280 nfsidl nfsio 55212 60826 0 0 3 0x14280 nfsidl nfsio 48769 43417 0 0 3 0x14280 nfsidl nfsio 95032 206753 0 0 3 0x14280 nfsidl nfsio 26078 89072 0 0 3 0x14280 nfsidl nfsio 78530 199852 0 0 3 0x14280 nfsidl nfsio 51860 32691 0 0 3 0x14280 nfsidl nfsio 39389 26173 0 0 3 0x14280 nfsidl nfsio 93871 116357 0 0 3 0x14280 nfsidl nfsio 71110 34090 0 0 3 0x14280 nfsidl nfsio 59299 88708 0 0 3 0x14280 nfsidl nfsio 57247 101415 0 0 3 0x14280 nfsidl nfsio 83506 247393 0 0 3 0x14280 nfsidl nfsio 57746 277666 0 0 3 0x14280 nfsidl nfsio 35707 273188 0 0 3 0x14280 nfsidl nfsio 33931 353975 0 0 3 0x14280 nfsidl nfsio 5928 392758 0 0 3 0x14280 nfsidl nfsio 53416 436473 0 0 3 0x14200 bored sosplice 22217 206707 89451 0 3 0x82 nanosleep syz-executor.1 334 93776 89451 0 3 0x82 nanosleep syz-executor.0 89451 157159 27285 0 3 0x82 thrsleep syz-fuzzer 89451 38133 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 265447 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 162682 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 438524 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 497161 27285 0 3 0x4000082 kqread syz-fuzzer 89451 418058 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 464452 27285 0 3 0x4000082 thrsleep syz-fuzzer 89451 503385 27285 0 3 0x4000082 thrsleep syz-fuzzer 27285 47383 60034 0 3 0x10008a pause ksh 60034 441594 69711 0 3 0x92 select sshd 82058 119361 1 0 3 0x100083 ttyin getty 69711 126449 1 0 3 0x80 select sshd 29640 319205 2829 73 3 0x100090 kqread syslogd 2829 348760 1 0 3 0x100082 netio syslogd 43406 202065 1 77 2 0x100010 dhclient *60191 260081 1 0 7 0 dhclient 28416 271756 0 0 3 0x14200 bored smr 79752 9291 0 0 2 0x14200 zerothread 80351 284331 0 0 3 0x14200 aiodoned aiodoned 38209 130669 0 0 3 0x14200 syncer update 76633 463313 0 0 3 0x14200 cleaner cleaner 65713 381599 0 0 3 0x14200 reaper reaper 72421 396591 0 0 3 0x14200 pgdaemon pagedaemon 74392 43219 0 0 3 0x14200 bored crynlk 39891 179415 0 0 3 0x14200 bored crypto 16136 494668 0 0 3 0x40014200 acpi0 acpi0 87579 391854 0 0 3 0x14200 bored softnet 30822 47930 0 0 3 0x14200 bored systqmp 84239 39445 0 0 3 0x14200 bored systq 29344 210701 0 0 3 0x40014200 bored softclock 5405 109935 0 0 3 0x40014200 idle0 1 228543 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 9478 6340K 6728K 78643K 10883 0 pcb 13 8K 8K 78643K 99 0 rtable 91 3K 7K 78643K 323 0 ifaddr 59 13K 13K 78643K 90 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 49 0 iov 0 0K 16K 78643K 35 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1319 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 18 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 328 0 sigio 0 0K 0K 78643K 24 0 proc 49 38K 54K 78643K 378 0 subproc 32 2K 2K 78643K 38 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 36 0 in_multi 46 2K 3K 78643K 95 0 ether_multi 1 0K 0K 78643K 15 0 mrt 0 0K 0K 78643K 1 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 209 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 136 23K 39K 78643K 1615 0 UVM aobj 27 2K 2K 78643K 31 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 8 0K 0K 78643K 15 0 temp 87 3851K 3915K 78643K 24948 0 kqueue 3 4K 8K 78643K 6 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 45 0 43 1 0 1 1 0 8 0 rtentry 112 52 0 18 2 0 2 2 0 8 0 unpcb 120 115 0 107 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 62 0 62 1 1 0 1 0 8 0 tcpcb 544 519 0 515 2 1 1 2 0 8 0 inpcb 296 731 0 722 4 2 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 32 0 32 2 2 0 1 0 8 0 pftag 88 5 0 4 1 0 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfrule 1360 8 0 8 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 218 0 81 12 1 11 12 0 8 0 art_table 32 219 0 81 2 0 2 2 0 8 0 art_node 16 51 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 28 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 1816 0 419 88 0 88 88 0 8 0 ffsino 240 1816 0 419 83 0 83 83 0 8 0 nchpl 144 2450 0 846 60 0 60 60 0 8 0 uvmvnodes 72 1921 0 0 35 0 35 35 0 8 0 vnodes 208 1921 0 0 102 0 102 102 0 8 0 namei 1024 6450 0 6450 3 2 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 10 2 2 0 1 0 8 0 scxspl 192 7516 0 7516 2 1 1 1 0 8 1 plimitpl 152 36 0 29 1 0 1 1 0 8 0 sigapl 424 535 0 485 6 0 6 6 0 8 0 futexpl 56 6652 0 6651 3 2 1 1 0 8 0 knotepl 112 66 0 47 1 0 1 1 0 8 0 kqueuepl 144 21 0 19 1 0 1 1 0 8 0 pipepl 272 100 0 90 1 0 1 1 0 8 0 fdescpl 432 500 0 485 2 0 2 2 0 8 0 filepl 120 2868 0 2767 4 0 4 4 0 8 0 lockfpl 104 48 0 47 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 19 0 9 1 0 1 1 0 8 0 ucredpl 96 273 0 266 1 0 1 1 0 8 0 zombiepl 144 485 0 485 1 0 1 1 0 8 1 processpl 928 535 0 485 7 0 7 7 0 8 0 procpl 624 909 0 849 6 1 5 5 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 891 0 872 5 2 3 4 0 8 1 mcl64k 65536 22 0 22 4 3 1 1 0 8 1 mcl16k 16384 3 0 3 2 2 0 1 0 8 0 mcl12k 12288 11 0 11 3 2 1 1 0 8 1 mcl9k 9216 4 0 4 3 3 0 1 0 8 0 mcl8k 8192 6 0 6 3 3 0 1 0 8 0 mcl4k 4096 30 0 30 5 4 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 89381 0 89335 14 7 7 13 0 8 1 mtagpl 96 32 0 26 2 1 1 1 0 8 0 mbufpl 256 143601 0 143492 19 2 17 17 0 8 3 bufpl 280 4108 0 126 285 0 285 285 0 8 0 anonpl 16 62872 0 46402 83 9 74 74 0 107 0 amapchunkpl 152 2347 0 2218 23 6 17 19 0 158 10 amappl16 192 2137 0 1115 54 2 52 52 0 8 0 amappl15 184 149 0 146 1 0 1 1 0 8 0 amappl14 176 172 0 166 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 10 0 8 1 0 1 1 0 8 0 amappl11 152 192 0 181 1 0 1 1 0 8 0 amappl10 144 161 0 153 1 0 1 1 0 8 0 amappl9 136 369 0 368 1 0 1 1 0 8 0 amappl8 128 343 0 297 2 0 2 2 0 8 0 amappl7 120 105 0 93 1 0 1 1 0 8 0 amappl6 112 28 0 21 1 0 1 1 0 8 0 amappl5 104 298 0 287 1 0 1 1 0 8 0 amappl4 96 574 0 542 1 0 1 1 0 8 0 amappl3 88 269 0 261 1 0 1 1 0 8 0 amappl2 80 3331 0 3257 2 0 2 2 0 8 0 amappl1 72 19932 0 19500 22 13 9 17 0 8 0 amappl 80 1116 0 1074 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 30 0 4 1 0 1 1 0 8 0 uaddrrnd 24 508 0 491 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 508 0 491 1 0 1 1 0 8 0 vmmpekpl 168 6907 0 6868 2 0 2 2 0 8 0 vmmpepl 168 67432 0 65189 128 29 99 120 0 357 1 vmsppl 272 507 0 491 3 1 2 2 0 8 0 pdppl 4096 1022 0 984 7 1 6 6 0 8 1 pvpl 32 198484 0 178827 190 16 174 179 0 265 1 pmappl 200 507 0 491 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 266 0 36 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(ffffffff823cba6d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b648000,0,ffff80001d6e5a48,0,0,ffff80001d6e5954) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80621f8438,ffff80001d6e5a48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5a48,0,ffff80001d6e5b30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5ae0,ffff80001d6e5b30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6310, 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(ffffffff823cba6d) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806b648000,0,ffff80001d6e5a48,0,0,ffff80001d6e5954) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80621f8438,ffff80001d6e5a48,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5a48,0,ffff80001d6e5b30) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5ae0,ffff80001d6e5b30) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5bb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6310, count: -8