panic: receive 1a: so 0xfffffd806b653190, so_type 3, m 0xfffffd80531bfb00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *187926 72876 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d281b) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b653190,0,ffff80001d6e50a8,0,0,ffff80001d6e4fb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff33c0,ffff80001d6e50a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e50a8,0,ffff80001d6e5190) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5140,ffff80001d6e5190) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5210) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7190, 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 0xfffffd806b653190, so_type 3, m 0xfffffd80531bfb00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d281b) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b653190,0,ffff80001d6e50a8,0,0,ffff80001d6e4fb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff33c0,ffff80001d6e50a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e50a8,0,ffff80001d6e5190) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5140,ffff80001d6e5190) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5210) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7190, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4df0 rbx 0xffff80001d6e4ea0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8154135f kprintf+0x15f r9 0x1 r10 0x2 r11 0x20c98cf499e98334 r12 0x3000000008 r13 0xffff80001d6e4e00 r14 0x100 r15 0x1 rip 0xffffffff810d7888 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4de0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=187926 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9008,0xffff80001d6aa128 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a770 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 31196 297885 8023 0 2 0 syz-executor.0 31196 115388 8023 0 2 0x4000000 syz-executor.0 17563 432733 0 0 3 0x14200 bored sosplice 68794 211559 0 0 3 0x14280 nfsidl nfsio 56659 129215 0 0 3 0x14280 nfsidl nfsio 17732 244527 0 0 3 0x14280 nfsidl nfsio 16634 381343 0 0 3 0x14280 nfsidl nfsio 57579 461402 0 0 3 0x14280 nfsidl nfsio 52657 242886 0 0 3 0x14280 nfsidl nfsio 70459 493863 0 0 3 0x14280 nfsidl nfsio 95483 445175 0 0 3 0x14280 nfsidl nfsio 35742 410099 0 0 3 0x14280 nfsidl nfsio 63694 22362 0 0 3 0x14280 nfsidl nfsio 48538 428821 0 0 3 0x14280 nfsidl nfsio 22323 101656 0 0 3 0x14280 nfsidl nfsio 31979 143517 0 0 3 0x14280 nfsidl nfsio 56012 137197 0 0 3 0x14280 nfsidl nfsio 80789 485181 0 0 3 0x14280 nfsidl nfsio 76807 272170 0 0 3 0x14280 nfsidl nfsio 20961 65528 0 0 3 0x14280 nfsidl nfsio 47357 326890 0 0 3 0x14280 nfsidl nfsio 68406 213230 0 0 3 0x14280 nfsidl nfsio 47637 36720 0 0 3 0x14280 nfsidl nfsio 2705 399706 55147 0 2 0x2 syz-executor.1 8023 384393 55147 0 3 0x82 nanosleep syz-executor.0 55147 384301 81968 0 3 0x82 thrsleep syz-fuzzer 55147 371459 81968 0 3 0x4000082 nanosleep syz-fuzzer 55147 382777 81968 0 3 0x4000082 thrsleep syz-fuzzer 55147 170719 81968 0 3 0x4000082 thrsleep syz-fuzzer 55147 354902 81968 0 3 0x4000082 thrsleep syz-fuzzer 55147 436855 81968 0 3 0x4000082 kqread syz-fuzzer 55147 105571 81968 0 3 0x4000082 thrsleep syz-fuzzer 81968 493132 15219 0 3 0x10008a pause ksh 15219 126402 38676 0 3 0x92 select sshd 32203 168575 1 0 3 0x100083 ttyin getty 38676 195251 1 0 3 0x80 select sshd 76139 421851 93868 73 3 0x100090 kqread syslogd 93868 227403 1 0 3 0x100082 netio syslogd 2094 296575 1 77 2 0x100010 dhclient *72876 187926 1 0 7 0 dhclient 40358 268693 0 0 3 0x14200 bored smr 62136 361301 0 0 2 0x14200 zerothread 43008 487977 0 0 3 0x14200 aiodoned aiodoned 60980 296355 0 0 3 0x14200 syncer update 71837 271373 0 0 3 0x14200 cleaner cleaner 69219 439203 0 0 3 0x14200 reaper reaper 58153 39926 0 0 3 0x14200 pgdaemon pagedaemon 4646 121264 0 0 3 0x14200 bored crynlk 17764 191309 0 0 3 0x14200 bored crypto 48384 199463 0 0 3 0x40014200 acpi0 acpi0 40397 233550 0 0 3 0x14200 bored softnet 70649 70379 0 0 3 0x14200 bored systqmp 73252 136340 0 0 3 0x14200 bored systq 57639 206776 0 0 3 0x40014200 bored softclock 77452 249211 0 0 3 0x40014200 idle0 1 518989 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 9471 6332K 6585K 78643K 10806 0 pcb 13 8K 8K 78643K 63 0 rtable 117 5K 7K 78643K 353 0 ifaddr 58 13K 13K 78643K 108 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 4K 78643K 71 0 iov 0 0K 12K 78643K 20 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1292 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 10 1K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 258 0 sigio 0 0K 0K 78643K 22 0 proc 50 38K 63K 78643K 379 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 29 0 in_multi 29 1K 2K 78643K 97 0 ether_multi 1 0K 0K 78643K 8 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 199 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 121 23K 27K 78643K 1440 0 UVM aobj 15 4K 4K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 37 0 NDP 8 0K 0K 78643K 24 0 temp 91 3854K 3917K 78643K 2765 0 kqueue 3 4K 12K 78643K 13 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 27 0 25 1 0 1 1 0 8 0 rtentry 112 64 0 20 2 0 2 2 0 8 0 unpcb 120 95 0 86 1 0 1 1 0 8 0 syncache 264 8 0 8 3 2 1 1 0 8 1 tcpqe 32 387 0 387 1 1 0 1 0 8 0 tcpcb 544 90 0 85 2 1 1 2 0 8 0 inpcb 296 763 0 754 2 0 2 2 0 8 1 nd6 48 19 0 14 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 pfstscr 40 8 0 6 1 0 1 1 0 8 0 pfrktable 1344 54 0 49 2 1 1 1 0 8 0 pftag 88 11 0 8 2 1 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 6 1 0 1 1 0 8 0 pfstate 328 4 0 3 1 0 1 1 0 8 0 pfrule 1360 18 0 9 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 265 0 57 16 1 15 16 0 8 0 art_table 32 266 0 57 2 0 2 2 0 8 0 art_node 16 63 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 13 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1695 0 302 88 0 88 88 0 8 0 ffsino 240 1695 0 302 83 0 83 83 0 8 0 nchpl 144 2224 0 623 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 5711 0 5710 2 1 1 1 0 8 0 vmpool 528 4 0 4 1 1 0 1 0 8 0 pfiaddrpl 120 18 0 14 2 1 1 1 0 8 0 scxspl 192 6313 0 6313 1 0 1 1 0 8 1 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 465 0 416 6 0 6 6 0 8 0 futexpl 56 5247 0 5247 1 0 1 1 0 8 1 knotepl 112 75 0 55 1 0 1 1 0 8 0 kqueuepl 144 30 0 28 1 0 1 1 0 8 0 pipepl 272 109 0 98 2 1 1 2 0 8 0 fdescpl 432 430 0 416 2 0 2 2 0 8 0 filepl 120 2673 0 2573 4 0 4 4 0 8 0 lockfpl 104 63 0 62 1 0 1 1 0 8 0 lockfspl 48 24 0 23 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 202 0 195 1 0 1 1 0 8 0 zombiepl 144 416 0 416 2 1 1 1 0 8 1 processpl 928 465 0 416 7 0 7 7 0 8 0 procpl 624 755 0 699 5 0 5 5 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 891 0 871 4 0 4 4 0 8 1 mcl64k 65536 10 0 10 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 5 0 5 2 1 1 1 0 8 1 mcl9k 9216 7 0 7 2 1 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 31 0 31 2 1 1 1 0 8 1 mcl2k 2048 91939 0 91886 24 16 8 21 0 8 0 mtagpl 96 16 0 2 2 1 1 1 0 8 0 mbufpl 256 146883 0 146673 21 2 19 19 0 8 1 bufpl 280 3486 0 118 241 0 241 241 0 8 0 anonpl 16 59198 0 41650 95 7 88 88 0 107 17 amapchunkpl 152 2166 0 1992 15 4 11 12 0 158 3 amappl16 192 2112 0 1178 55 0 55 55 0 8 8 amappl15 184 17 0 14 1 0 1 1 0 8 0 amappl14 176 1 0 0 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 24 0 21 1 0 1 1 0 8 0 amappl11 152 43 0 34 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 577 0 572 1 0 1 1 0 8 0 amappl8 128 513 0 482 2 0 2 2 0 8 0 amappl7 120 104 0 92 1 0 1 1 0 8 0 amappl6 112 27 0 21 1 0 1 1 0 8 0 amappl5 104 368 0 357 1 0 1 1 0 8 0 amappl4 96 424 0 400 1 0 1 1 0 8 0 amappl3 88 129 0 120 1 0 1 1 0 8 0 amappl2 80 2620 0 2554 2 0 2 2 0 8 0 amappl1 72 18740 0 18321 23 14 9 17 0 8 0 amappl 80 969 0 919 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 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 434 0 420 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 434 0 420 1 0 1 1 0 8 0 vmmpekpl 168 6734 0 6701 3 1 2 2 0 8 0 vmmpepl 168 59242 0 57219 118 16 102 114 0 357 14 vmsppl 272 433 0 420 3 2 1 2 0 8 0 pdppl 4096 874 0 840 6 1 5 6 0 8 0 pvpl 32 181790 0 161155 211 5 206 206 0 265 38 pmappl 200 433 0 420 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 269 0 30 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(ffffffff823d281b) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b653190,0,ffff80001d6e50a8,0,0,ffff80001d6e4fb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff33c0,ffff80001d6e50a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e50a8,0,ffff80001d6e5190) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5140,ffff80001d6e5190) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5210) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7190, 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(ffffffff823d281b) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd806b653190,0,ffff80001d6e50a8,0,0,ffff80001d6e4fb4) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd8064ff33c0,ffff80001d6e50a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9ea8,6,ffff80001d6e50a8,0,ffff80001d6e5190) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9ea8,ffff80001d6e5140,ffff80001d6e5190) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5210) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7190, count: -8