panic: receive 1a: so 0xfffffd805e501190, so_type 3, m 0xfffffd805e527a00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *501300 19919 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d61c8) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e501190,0,ffff80001d6e5d78,0,0,ffff80001d6e5c84) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f84b0,ffff80001d6e5d78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5d78,0,ffff80001d6e5e60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5e10,ffff80001d6e5e60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ee0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6190, 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 0xfffffd805e501190, so_type 3, m 0xfffffd805e527a00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d61c8) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e501190,0,ffff80001d6e5d78,0,0,ffff80001d6e5c84) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f84b0,ffff80001d6e5d78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5d78,0,ffff80001d6e5e60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5e10,ffff80001d6e5e60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ee0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6190, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5ac0 rbx 0xffff80001d6e5b70 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff82040b7f kprintf+0x15f r9 0x1 r10 0x2 r11 0x344d2d449055299 r12 0x3000000008 r13 0xffff80001d6e5ad0 r14 0x100 r15 0x1 rip 0xffffffff8130eb58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5ab0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=501300 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9c48 process=0xffff80001d6c4750 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a110 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95968 495485 64766 0 2 0 syz-executor.1 95968 502492 64766 0 3 0x4000000 smrbar syz-executor.1 64766 454224 11054 0 3 0x82 nanosleep syz-executor.1 40473 224898 11054 0 2 0x2 syz-executor.0 11054 186068 49733 0 3 0x82 thrsleep syz-fuzzer 11054 242646 49733 0 3 0x4000082 nanosleep syz-fuzzer 11054 335674 49733 0 3 0x4000082 thrsleep syz-fuzzer 11054 204623 49733 0 3 0x4000082 thrsleep syz-fuzzer 11054 349000 49733 0 3 0x4000082 thrsleep syz-fuzzer 11054 68911 49733 0 3 0x4000082 thrsleep syz-fuzzer 11054 79571 49733 0 3 0x4000082 kqread syz-fuzzer 49733 442302 82588 0 3 0x10008a pause ksh 82588 354319 99946 0 3 0x92 select sshd 5576 266586 1 0 3 0x100083 ttyin getty 99946 378013 1 0 3 0x80 select sshd 82803 170098 72660 73 3 0x100090 kqread syslogd 72660 254037 1 0 3 0x100082 netio syslogd 81371 255755 1 77 2 0x100010 dhclient *19919 501300 1 0 7 0 dhclient 30882 450042 0 0 3 0x14200 bored smr 34830 439968 0 0 2 0x14200 zerothread 23981 518944 0 0 3 0x14200 aiodoned aiodoned 52145 296608 0 0 3 0x14200 syncer update 85255 5484 0 0 3 0x14200 cleaner cleaner 37069 400634 0 0 3 0x14200 reaper reaper 61053 430954 0 0 3 0x14200 pgdaemon pagedaemon 30994 273227 0 0 3 0x14200 bored crynlk 38824 279131 0 0 3 0x14200 bored crypto 18831 157137 0 0 3 0x40014200 acpi0 acpi0 13801 49173 0 0 2 0x14200 softnet 22752 520365 0 0 3 0x14200 bored systqmp 8447 115773 0 0 3 0x14200 bored systq 79195 191855 0 0 2 0x40014200 softclock 36732 378535 0 0 3 0x40014200 idle0 1 167261 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 9459 6454K 6454K 78643K 10569 0 pcb 13 8K 8K 78643K 25 0 rtable 105 3K 3K 78643K 196 0 ifaddr 43 10K 10K 78643K 47 0 counters 22 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1227 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 6 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 60 0 proc 47 38K 54K 78643K 363 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 36 0 in_multi 33 2K 2K 78643K 41 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 181 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 22K 23K 78643K 1027 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 12 0 temp 77 3850K 3922K 78643K 1844 0 kqueue 3 4K 4K 78643K 3 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 21 0 19 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 45 0 37 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 102 0 102 2 1 1 1 0 8 1 tcpcb 544 10 0 6 1 0 1 1 0 8 0 inpcb 296 100 0 93 2 0 2 2 0 8 1 nd6 48 8 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1449 0 50 88 0 88 88 0 8 0 ffsino 240 1449 0 50 83 0 83 83 0 8 0 nchpl 144 1705 0 101 60 0 60 60 0 8 0 uvmvnodes 72 1496 0 0 28 0 28 28 0 8 0 vnodes 208 1496 0 0 79 0 79 79 0 8 0 namei 1024 4178 0 4177 1 0 1 1 0 8 0 scxspl 192 4736 0 4736 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 246 0 218 4 0 4 4 0 8 0 futexpl 56 574 0 574 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 144 3 0 0 1 0 1 1 0 8 0 pipepl 272 73 0 62 1 0 1 1 0 8 0 fdescpl 432 232 0 218 2 0 2 2 0 8 0 filepl 120 1157 0 1059 4 0 4 4 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 60 0 53 1 0 1 1 0 8 0 zombiepl 144 218 0 218 1 0 1 1 0 8 1 processpl 928 246 0 218 4 0 4 4 0 8 0 procpl 624 286 0 251 4 0 4 4 0 8 1 sockpl 400 166 0 149 4 0 4 4 0 8 2 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 12 0 12 2 1 1 1 0 8 1 mcl2k 2048 92040 0 91990 17 2 15 15 0 8 8 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 145532 0 145380 13 2 11 11 0 8 0 bufpl 280 3261 0 126 224 0 224 224 0 8 0 anonpl 16 41081 0 24523 68 1 67 67 0 107 0 amapchunkpl 152 1350 0 1168 10 0 10 10 0 158 1 amappl16 192 1080 0 216 44 0 44 44 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 35 0 31 1 0 1 1 0 8 0 amappl12 160 18 0 17 2 1 1 1 0 8 0 amappl11 152 56 0 46 1 0 1 1 0 8 0 amappl10 144 32 0 26 1 0 1 1 0 8 0 amappl9 136 345 0 344 1 0 1 1 0 8 0 amappl8 128 288 0 261 2 0 2 2 0 8 0 amappl7 120 123 0 107 1 0 1 1 0 8 0 amappl6 112 27 0 26 1 0 1 1 0 8 0 amappl5 104 180 0 169 1 0 1 1 0 8 0 amappl4 96 424 0 398 1 0 1 1 0 8 0 amappl3 88 102 0 97 1 0 1 1 0 8 0 amappl2 80 1004 0 940 2 0 2 2 0 8 0 amappl1 72 14114 0 13687 23 7 16 17 0 8 6 amappl 80 567 0 515 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 232 0 218 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 232 0 218 1 0 1 1 0 8 0 vmmpekpl 168 5737 0 5711 2 0 2 2 0 8 0 vmmpepl 168 36018 0 34054 127 6 121 121 0 357 35 vmsppl 272 231 0 218 2 0 2 2 0 8 1 pdppl 4096 470 0 436 6 0 6 6 0 8 1 pvpl 32 133248 0 113753 159 0 159 159 0 265 1 pmappl 200 231 0 218 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 242 0 7 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(ffffffff823d61c8) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e501190,0,ffff80001d6e5d78,0,0,ffff80001d6e5c84) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f84b0,ffff80001d6e5d78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5d78,0,ffff80001d6e5e60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5e10,ffff80001d6e5e60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ee0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6190, 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(ffffffff823d61c8) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805e501190,0,ffff80001d6e5d78,0,0,ffff80001d6e5c84) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd80657f84b0,ffff80001d6e5d78,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9758,6,ffff80001d6e5d78,0,ffff80001d6e5e60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9758,ffff80001d6e5e10,ffff80001d6e5e60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5ee0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6190, count: -8