panic: receive 1: so 0xfffffd806454f000, so_type 3, sb_cc 6818 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *104905 22788 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cfbf3) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806454f000,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd80647f88e8,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffd1220, 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 1: so 0xfffffd806454f000, so_type 3, sb_cc 6818 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823cfbf3) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806454f000,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd80647f88e8,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffd1220, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e51c0 rbx 0xffff80001d6e5270 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81f9c19f kprintf+0x15f r9 0x1 r10 0x2 r11 0xbc1e1fda80ad27b5 r12 0x3000000008 r13 0xffff80001d6e51d0 r14 0x100 r15 0x1 rip 0xffffffff820d2968 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e51b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=104905 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9288 process=0xffff80001d6c4af0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78995 126947 0 0 3 0x14200 acct acct 43995 89743 0 0 3 0x14200 bored sosplice 2619 278805 1 0 3 0x100083 ttyin getty 96446 309633 0 0 3 0x14280 nfsidl nfsio 93361 34513 0 0 3 0x14280 nfsidl nfsio 95879 197195 0 0 3 0x14280 nfsidl nfsio 43811 231200 0 0 3 0x14280 nfsidl nfsio 4532 91522 0 0 3 0x14280 nfsidl nfsio 84566 426107 0 0 3 0x14280 nfsidl nfsio 55834 496316 0 0 3 0x14280 nfsidl nfsio 14827 285191 0 0 3 0x14280 nfsidl nfsio 37309 65687 0 0 3 0x14280 nfsidl nfsio 58351 315856 0 0 3 0x14280 nfsidl nfsio 27324 463949 0 0 3 0x14280 nfsidl nfsio 80621 159431 0 0 3 0x14280 nfsidl nfsio 2498 154248 0 0 3 0x14280 nfsidl nfsio 20367 63794 0 0 3 0x14280 nfsidl nfsio 92183 32579 0 0 3 0x14280 nfsidl nfsio 21049 85617 0 0 3 0x14280 nfsidl nfsio 66860 75125 0 0 3 0x14280 nfsidl nfsio 46539 40803 0 0 3 0x14280 nfsidl nfsio 67164 180903 0 0 3 0x14280 nfsidl nfsio 79715 189023 0 0 3 0x14280 nfsidl nfsio 69655 255701 80412 0 3 0x82 piperd syz-executor.1 80412 280524 96718 0 3 0x82 thrsleep syz-fuzzer 80412 230292 96718 0 3 0x4000082 nanosleep syz-fuzzer 80412 135604 96718 0 2 0x4000002 syz-fuzzer 80412 261173 96718 0 3 0x4000082 thrsleep syz-fuzzer 80412 473635 96718 0 3 0x4000082 thrsleep syz-fuzzer 80412 517602 96718 0 3 0x4000082 thrsleep syz-fuzzer 80412 516329 96718 0 3 0x4000082 thrsleep syz-fuzzer 80412 13451 96718 0 3 0x4000082 thrsleep syz-fuzzer 96718 36503 33542 0 3 0x10008a pause ksh 33542 508830 2334 0 3 0x92 select sshd 2334 202739 1 0 3 0x80 select sshd 95742 51107 26467 73 3 0x100090 kqread syslogd 26467 367599 1 0 3 0x100082 netio syslogd 74218 79853 1 77 3 0x100090 poll dhclient *22788 104905 1 0 7 0 dhclient 90744 12084 0 0 3 0x14200 bored smr 46981 54428 0 0 2 0x14200 zerothread 26436 115892 0 0 3 0x14200 aiodoned aiodoned 49639 435249 0 0 3 0x14200 syncer update 58837 294136 0 0 3 0x14200 cleaner cleaner 29858 358987 0 0 3 0x14200 reaper reaper 35070 322307 0 0 3 0x14200 pgdaemon pagedaemon 84985 424159 0 0 3 0x14200 bored crynlk 195 230606 0 0 3 0x14200 bored crypto 3247 269193 0 0 3 0x40014200 acpi0 acpi0 58878 31225 0 0 3 0x14200 bored softnet 97714 95393 0 0 3 0x14200 bored systqmp 79784 247062 0 0 3 0x14200 bored systq 19289 450549 0 0 2 0x40014200 softclock 26117 160671 0 0 3 0x40014200 idle0 1 209510 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 9516 6363K 6800K 78643K 11547 0 pcb 13 8K 8K 78643K 169 0 rtable 106 12K 15K 78643K 932 0 ifaddr 78 15K 19K 78643K 350 0 sysctl 3 1K 1K 78643K 3 0 counters 20 16K 16K 78643K 29 0 ioctlops 0 0K 4K 78643K 222 0 iov 0 0K 24K 78643K 138 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1547 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 94 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 3 5K 25K 78643K 770 0 sigio 0 0K 0K 78643K 12 0 proc 50 38K 63K 78643K 444 0 subproc 16 1K 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 126 0 in_multi 40 2K 2K 78643K 248 0 ether_multi 1 0K 0K 78643K 27 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 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 139 80K 89K 78643K 2632 0 UVM aobj 41 6K 6K 78643K 45 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 131 0 NDP 13 0K 0K 78643K 39 0 temp 107 3863K 3929K 78643K 25068 0 kqueue 3 4K 16K 78643K 49 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 11 0 7 1 0 1 1 0 8 0 rtpcb 80 57 0 55 1 0 1 1 0 8 0 rtentry 112 105 0 82 2 0 2 2 0 8 0 unpcb 120 341 0 333 1 0 1 1 0 8 0 syncache 264 12 0 12 6 6 0 1 0 8 0 tcpqe 32 290 0 290 3 3 0 1 0 8 0 tcpcb 544 338 0 334 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 47 0 47 2 2 0 1 0 8 0 inpcb 296 1010 0 1003 3 2 1 2 0 8 0 rttmr 72 3 0 3 2 1 1 1 0 8 1 nd6 48 33 0 28 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 ppxss 1128 3 0 3 1 1 0 1 0 8 0 pfstscr 40 6 0 3 1 0 1 1 0 8 0 pfrktable 1344 250 0 232 3 1 2 3 0 8 0 pftag 88 43 0 40 2 1 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 4 1 0 1 1 0 8 0 pfstate 328 4 0 2 1 0 1 1 0 8 0 pfrule 1360 76 0 59 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 382 0 239 15 1 14 15 0 8 2 art_table 32 383 0 239 2 0 2 2 0 8 0 art_node 16 102 0 83 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 82 0 72 1 0 1 1 0 8 0 shmpl 112 42 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2636 0 1237 88 0 88 88 0 8 0 ffsino 240 2636 0 1237 83 0 83 83 0 8 0 nchpl 144 4339 0 2747 60 0 60 60 0 8 0 uvmvnodes 72 2890 0 0 53 0 53 53 0 8 0 vnodes 208 2890 0 0 153 0 153 153 0 8 0 namei 1024 12013 0 12013 1 1 0 1 0 8 0 vcpupl 1984 6 0 1 1 0 1 1 0 8 0 vmpool 528 12 0 7 1 0 1 1 0 8 0 pfiaddrpl 120 84 0 68 1 0 1 1 0 8 0 scxspl 192 12330 0 12330 1 0 1 1 0 8 1 plimitpl 152 83 0 76 1 0 1 1 0 8 0 sigapl 424 979 0 931 6 0 6 6 0 8 0 futexpl 56 17583 0 17583 1 1 0 1 0 8 0 knotepl 112 116 0 99 1 0 1 1 0 8 0 kqueuepl 144 130 0 128 1 0 1 1 0 8 0 pipepl 272 202 0 193 1 0 1 1 0 8 0 fdescpl 432 943 0 931 2 0 2 2 0 8 0 filepl 120 6781 0 6707 4 0 4 4 0 8 0 lockfpl 104 180 0 179 1 0 1 1 0 8 0 lockfspl 48 63 0 62 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 30 0 20 1 0 1 1 0 8 0 ucredpl 96 603 0 596 1 0 1 1 0 8 0 zombiepl 144 931 0 930 1 0 1 1 0 8 0 processpl 928 979 0 930 7 0 7 7 0 8 0 procpl 624 1890 0 1834 6 1 5 6 0 8 0 sosppl 128 11 0 11 2 2 0 1 0 8 0 sockpl 400 1414 0 1397 4 1 3 4 0 8 1 mcl64k 65536 56 0 56 3 3 0 1 0 8 0 mcl16k 16384 6 0 6 3 3 0 1 0 8 0 mcl12k 12288 25 0 25 4 4 0 1 0 8 0 mcl9k 9216 12 0 12 2 2 0 1 0 8 0 mcl8k 8192 43 0 43 3 3 0 1 0 8 0 mcl4k 4096 93 0 93 3 3 0 1 0 8 0 mcl2k2 2112 13 0 13 3 3 0 1 0 8 0 mcl2k 2048 80754 0 80696 24 16 8 17 0 8 0 mtagpl 96 93 0 28 4 1 3 3 0 8 0 mbufpl 256 133995 0 133564 60 28 32 38 0 8 0 bufpl 280 5266 0 129 367 0 367 367 0 8 0 anonpl 16 108028 0 90478 99 24 75 84 0 107 0 amapchunkpl 152 3894 0 3747 14 7 7 11 0 158 0 amappl16 192 4724 0 3725 74 23 51 62 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 458 0 452 1 0 1 1 0 8 0 amappl13 168 26 0 24 1 0 1 1 0 8 0 amappl12 160 14 0 12 2 1 1 1 0 8 0 amappl11 152 788 0 778 1 0 1 1 0 8 0 amappl10 144 23 0 14 1 0 1 1 0 8 0 amappl9 136 373 0 372 1 0 1 1 0 8 0 amappl8 128 352 0 300 2 0 2 2 0 8 0 amappl7 120 109 0 96 1 0 1 1 0 8 0 amappl6 112 326 0 322 1 0 1 1 0 8 0 amappl5 104 457 0 445 1 0 1 1 0 8 0 amappl4 96 871 0 843 1 0 1 1 0 8 0 amappl3 88 573 0 568 1 0 1 1 0 8 0 amappl2 80 6751 0 6693 2 0 2 2 0 8 0 amappl1 72 25511 0 25122 23 13 10 17 0 8 0 amappl 80 2107 0 2064 3 1 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 44 0 4 1 0 1 1 0 8 0 uaddrrnd 24 955 0 938 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 955 0 938 1 0 1 1 0 8 0 vmmpekpl 168 9390 0 9353 2 0 2 2 0 8 0 vmmpepl 168 118687 0 116714 135 39 96 118 0 357 0 vmsppl 272 954 0 938 3 1 2 2 0 8 0 pdppl 4096 1916 0 1881 7 1 6 6 0 8 0 pvpl 32 297483 0 277220 209 35 174 196 0 265 0 pmappl 200 954 0 938 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 313 0 64 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(ffffffff823cfbf3) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806454f000,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd80647f88e8,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffd1220, 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(ffffffff823cfbf3) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806454f000,0,ffff80001d6e5478,0,0,ffff80001d6e5384) at soreceive+0x16ac sys/kern/uipc_socket.c:829 soo_read(fffffd80647f88e8,ffff80001d6e5478,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5478,0,ffff80001d6e5560) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,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: 0x7f7ffffd1220, count: -8