panic: receive 1a: so 0xfffffd805fd56320, so_type 3, m 0xfffffd805a04e100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *313790 83985 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805fd56320,0,ffff80001d6e5818,0,0,ffff80001d6e5724) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805fff8438,ffff80001d6e5818,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5818,0,ffff80001d6e5900) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e58b0,ffff80001d6e5900) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5980) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7c40, 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 0xfffffd805fd56320, so_type 3, m 0xfffffd805a04e100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805fd56320,0,ffff80001d6e5818,0,0,ffff80001d6e5724) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805fff8438,ffff80001d6e5818,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5818,0,ffff80001d6e5900) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e58b0,ffff80001d6e5900) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5980) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7c40, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e5560 rbx 0xffff80001d6e5610 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81fc279f kprintf+0x15f r9 0x1 r10 0x2 r11 0xed5e6ec056b37d1a r12 0x3000000008 r13 0xffff80001d6e5570 r14 0x100 r15 0x1 rip 0xffffffff8175b418 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e5550 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=313790 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a9008,0xffff80001d6a9eb8 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90594 354529 76809 0 2 0 syz-executor.0 90594 113145 76809 0 2 0x4000000 syz-executor.0 44486 324530 0 0 3 0x14200 bored sosplice 48790 463965 72201 0 2 0x482 syz-executor.1 76809 442999 72201 0 2 0x482 syz-executor.0 72201 347663 80185 0 3 0x82 thrsleep syz-fuzzer 72201 55866 80185 0 3 0x4000082 thrsleep syz-fuzzer 72201 103858 80185 0 3 0x4000082 thrsleep syz-fuzzer 72201 204620 80185 0 3 0x4000082 thrsleep syz-fuzzer 72201 164018 80185 0 3 0x4000082 thrsleep syz-fuzzer 72201 232518 80185 0 3 0x4000082 kqread syz-fuzzer 72201 34508 80185 0 3 0x4000082 thrsleep syz-fuzzer 72201 253941 80185 0 3 0x4000082 thrsleep syz-fuzzer 80185 517090 2639 0 3 0x10008a pause ksh 2639 359823 83153 0 3 0x92 select sshd 53517 343588 1 0 3 0x100083 ttyin getty 83153 67641 1 0 3 0x80 select sshd 28757 71624 12920 73 3 0x100090 kqread syslogd 12920 244995 1 0 3 0x100082 netio syslogd 26377 138952 1 77 2 0x100010 dhclient *83985 313790 1 0 7 0 dhclient 5718 456526 0 0 3 0x14200 bored smr 74477 269808 0 0 2 0x14200 zerothread 73628 391897 0 0 3 0x14200 aiodoned aiodoned 77043 174380 0 0 3 0x14200 syncer update 95165 116270 0 0 3 0x14200 cleaner cleaner 79921 160320 0 0 3 0x14200 reaper reaper 26229 256158 0 0 3 0x14200 pgdaemon pagedaemon 52776 192084 0 0 3 0x14200 bored crynlk 65906 512660 0 0 3 0x14200 bored crypto 14489 322132 0 0 3 0x40014200 acpi0 acpi0 81220 78186 0 0 2 0x14200 softnet 31704 334619 0 0 3 0x14200 bored systqmp 82747 392389 0 0 3 0x14200 bored systq 33942 136813 0 0 2 0x40014200 softclock 58213 292730 0 0 3 0x40014200 idle0 1 272124 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 9475 6334K 6846K 78643K 10993 0 pcb 13 8K 8K 78643K 71 0 rtable 107 4K 4K 78643K 298 0 ifaddr 58 12K 12K 78643K 100 0 sysctl 2 0K 0K 78643K 2 0 counters 22 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 193 0 iov 0 0K 16K 78643K 121 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1376 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 11 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 357 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 63K 78643K 387 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 43 0 in_multi 29 1K 2K 78643K 99 0 ether_multi 1 0K 0K 78643K 15 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 207 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 138 88K 97K 78643K 1701 0 UVM aobj 20 6K 6K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 74 0 NDP 9 0K 0K 78643K 20 0 temp 109 3857K 3921K 78643K 2885 0 kqueue 3 4K 8K 78643K 17 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 1 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 65 0 23 2 0 2 2 0 8 0 unpcb 120 101 0 93 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 99 0 99 2 1 1 1 0 8 1 tcpcb 544 156 0 141 2 0 2 2 0 8 1 inpcb 296 457 0 449 3 1 2 2 0 8 1 nd6 48 12 0 7 1 0 1 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 11 0 9 1 0 1 1 0 8 0 pfrule 1360 18 0 4 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 270 0 91 13 0 13 13 0 8 0 art_table 32 271 0 91 2 0 2 2 0 8 0 art_node 16 64 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 19 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1851 0 453 88 0 88 88 0 8 0 ffsino 240 1851 0 453 83 0 83 83 0 8 0 nchpl 144 2613 0 1008 60 0 60 60 0 8 0 uvmvnodes 72 2003 0 0 37 0 37 37 0 8 0 vnodes 208 2003 0 0 106 0 106 106 0 8 0 namei 1024 6815 0 6815 1 0 1 1 0 8 1 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 2 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 7744 0 7744 1 0 1 1 0 8 1 plimitpl 152 40 0 33 1 0 1 1 0 8 0 sigapl 424 544 0 515 4 0 4 4 0 8 0 futexpl 56 6908 0 6908 1 0 1 1 0 8 1 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 46 0 44 1 0 1 1 0 8 0 pipepl 272 132 0 122 2 1 1 2 0 8 0 fdescpl 432 529 0 515 2 0 2 2 0 8 0 filepl 120 3076 0 2980 4 0 4 4 0 8 1 lockfpl 104 67 0 66 1 0 1 1 0 8 0 lockfspl 48 25 0 24 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 326 0 319 1 0 1 1 0 8 0 zombiepl 144 515 0 514 1 0 1 1 0 8 0 processpl 928 544 0 514 4 0 4 4 0 8 0 procpl 624 953 0 915 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 589 0 571 3 0 3 3 0 8 1 mcl64k 65536 507 0 507 54 33 21 33 0 8 21 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 11 0 11 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 30 0 30 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 93404 0 93358 16 9 7 13 0 8 0 mtagpl 96 28 0 8 2 1 1 1 0 8 0 mbufpl 256 149837 0 149602 39 21 18 24 0 8 2 bufpl 280 4100 0 128 284 0 284 284 0 8 0 anonpl 16 78383 0 62197 85 9 76 84 0 107 5 amapchunkpl 152 2914 0 2775 24 4 20 20 0 158 13 amappl16 192 3138 0 2162 66 16 50 59 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 21 1 0 1 1 0 8 0 amappl13 168 192 0 186 1 0 1 1 0 8 0 amappl12 160 180 0 176 2 1 1 1 0 8 0 amappl11 152 215 0 205 1 0 1 1 0 8 0 amappl10 144 16 0 9 1 0 1 1 0 8 0 amappl9 136 366 0 365 1 0 1 1 0 8 0 amappl8 128 329 0 288 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 184 0 180 1 0 1 1 0 8 0 amappl5 104 483 0 471 1 0 1 1 0 8 0 amappl4 96 427 0 400 1 0 1 1 0 8 0 amappl3 88 115 0 109 1 0 1 1 0 8 0 amappl2 80 3581 0 3507 2 0 2 2 0 8 0 amappl1 72 20953 0 20532 22 12 10 17 0 8 0 amappl 80 1209 0 1163 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 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 538 0 517 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 538 0 517 1 0 1 1 0 8 0 vmmpekpl 168 7488 0 7459 2 0 2 2 0 8 0 vmmpepl 168 72172 0 70037 124 24 100 115 0 357 6 vmsppl 272 537 0 517 2 0 2 2 0 8 0 pdppl 4096 1082 0 1041 7 1 6 6 0 8 0 pvpl 32 214453 0 195783 197 8 189 197 0 265 28 pmappl 200 537 0 517 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 328 0 70 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(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805fd56320,0,ffff80001d6e5818,0,0,ffff80001d6e5724) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805fff8438,ffff80001d6e5818,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5818,0,ffff80001d6e5900) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e58b0,ffff80001d6e5900) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5980) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7c40, 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(ffffffff823d0380) at panic+0x164 sys/kern/subr_prf.c:218 soreceive(fffffd805fd56320,0,ffff80001d6e5818,0,0,ffff80001d6e5724) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805fff8438,ffff80001d6e5818,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9c38,6,ffff80001d6e5818,0,ffff80001d6e5900) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9c38,ffff80001d6e58b0,ffff80001d6e5900) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5980) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7c40, count: -8