panic: receive 1a: so 0xfffffd8067037190, so_type 3, m 0xfffffd8059019c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *386651 58432 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067037190,0,ffff80001d6e5088,0,0,ffff80001d6e4f94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f75a0,ffff80001d6e5088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5088,0,ffff80001d6e5170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5120,ffff80001d6e5170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e51f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef2e0, 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 0xfffffd8067037190, so_type 3, m 0xfffffd8059019c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067037190,0,ffff80001d6e5088,0,0,ffff80001d6e4f94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f75a0,ffff80001d6e5088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5088,0,ffff80001d6e5170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5120,ffff80001d6e5170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e51f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef2e0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4dd0 rbx 0xffff80001d6e4e80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81bba10f kprintf+0x15f r9 0x1 r10 0x2 r11 0x5a4e8d28bbe0fc8c r12 0x3000000008 r13 0xffff80001d6e4de0 r14 0x100 r15 0x1 rip 0xffffffff816f9b08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4dc0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=386651 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa118,0xffff80001d6a9288 process=0xffff80001d6c43b0 user=0xffff80001d6e0000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3164 459753 87219 0 2 0 syz-executor.1 3164 505854 87219 0 2 0x4000000 syz-executor.1 65040 288205 94937 0 2 0 syz-executor.0 65040 67493 94937 0 3 0x4000080 fsleep syz-executor.0 94937 340381 26083 0 3 0x82 nanosleep syz-executor.0 87219 96522 26083 0 2 0x482 syz-executor.1 26083 139038 61238 0 3 0x82 kqread syz-fuzzer 26083 393050 61238 0 2 0x4000482 syz-fuzzer 26083 22712 61238 0 3 0x4000082 thrsleep syz-fuzzer 26083 127421 61238 0 3 0x4000082 thrsleep syz-fuzzer 26083 522923 61238 0 3 0x4000082 thrsleep syz-fuzzer 26083 420452 61238 0 3 0x4000082 thrsleep syz-fuzzer 26083 373158 61238 0 3 0x4000082 thrsleep syz-fuzzer 26083 16555 61238 0 3 0x4000082 thrsleep syz-fuzzer 61238 341028 16987 0 3 0x10008a pause ksh 16987 139035 50897 0 3 0x92 select sshd 71352 423730 1 0 3 0x100083 ttyin getty 50897 521430 1 0 3 0x80 select sshd 21010 191851 36031 73 3 0x100090 kqread syslogd 36031 279789 1 0 3 0x100082 netio syslogd 28170 201444 1 77 2 0x100010 dhclient *58432 386651 1 0 7 0 dhclient 2513 23939 0 0 3 0x14200 bored smr 90378 261067 0 0 2 0x14200 zerothread 84907 301514 0 0 3 0x14200 aiodoned aiodoned 49141 119294 0 0 3 0x14200 syncer update 6685 257500 0 0 3 0x14200 cleaner cleaner 33413 154905 0 0 3 0x14200 reaper reaper 90602 217093 0 0 3 0x14200 pgdaemon pagedaemon 55670 228252 0 0 3 0x14200 bored crynlk 2769 374671 0 0 3 0x14200 bored crypto 37365 320873 0 0 3 0x40014200 acpi0 acpi0 64294 142574 0 0 3 0x14200 bored softnet 30810 287974 0 0 3 0x14200 bored systqmp 46797 278005 0 0 3 0x14200 bored systq 77688 151459 0 0 3 0x40014200 bored softclock 883 444912 0 0 3 0x40014200 idle0 1 360568 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 9500 6716K 6716K 78643K 10646 0 pcb 13 8K 8K 78643K 27 0 rtable 111 5K 6K 78643K 215 0 ifaddr 45 10K 10K 78643K 49 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 21 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 77K 78643K 1252 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 67 0 proc 48 38K 63K 78643K 359 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 3 0 in_multi 29 1K 2K 78643K 41 0 ether_multi 1 0K 0K 78643K 2 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 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 120 22K 23K 78643K 1034 0 UVM aobj 8 3K 3K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 7 0K 0K 78643K 11 0 temp 69 3850K 3914K 78643K 1879 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 49 0 8 2 0 2 2 0 8 0 unpcb 120 39 0 31 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 966 0 966 1 1 0 1 0 8 0 tcpcb 544 28 0 24 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 296 80 0 73 2 1 1 2 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 pfrktable 1344 7 0 2 1 0 1 1 0 8 0 pfrule 1360 4 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 48 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 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 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1475 0 74 88 0 88 88 0 8 0 ffsino 240 1475 0 74 83 0 83 83 0 8 0 nchpl 144 1737 0 131 60 0 60 60 0 8 0 uvmvnodes 72 1541 0 0 29 0 29 29 0 8 0 vnodes 208 1541 0 0 82 0 82 82 0 8 0 namei 1024 4411 0 4411 2 1 1 1 0 8 1 pfiaddrpl 120 4 0 0 1 0 1 1 0 8 0 scxspl 192 5015 0 5015 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 253 0 224 4 0 4 4 0 8 0 futexpl 56 848 0 847 3 2 1 1 0 8 0 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 8 0 6 1 0 1 1 0 8 0 pipepl 272 78 0 68 2 1 1 2 0 8 0 fdescpl 432 239 0 224 2 0 2 2 0 8 0 filepl 120 1311 0 1213 4 1 3 4 0 8 0 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 134 0 127 1 0 1 1 0 8 0 zombiepl 144 224 0 224 1 1 0 1 0 8 0 processpl 928 253 0 224 4 0 4 4 0 8 0 procpl 624 302 0 264 5 2 3 4 0 8 0 sockpl 400 140 0 123 4 2 2 3 0 8 0 mcl64k 65536 8 0 8 1 1 0 1 0 8 0 mcl12k 12288 5 0 5 2 2 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 2 0 2 1 1 0 1 0 8 0 mcl4k 4096 14 0 14 3 3 0 1 0 8 0 mcl2k 2048 89579 0 89515 24 15 9 21 0 8 0 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 142187 0 141978 20 3 17 17 0 8 0 bufpl 280 3318 0 126 228 0 228 228 0 8 0 anonpl 16 41288 0 25665 65 2 63 63 0 107 0 amapchunkpl 152 1260 0 1127 7 0 7 7 0 158 0 amappl16 192 1095 0 244 43 0 43 43 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 37 0 30 1 0 1 1 0 8 0 amappl13 168 44 0 39 1 0 1 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 24 0 17 1 0 1 1 0 8 0 amappl9 136 310 0 307 1 0 1 1 0 8 0 amappl8 128 338 0 299 2 0 2 2 0 8 0 amappl7 120 108 0 94 1 0 1 1 0 8 0 amappl6 112 28 0 20 1 0 1 1 0 8 0 amappl5 104 335 0 324 1 0 1 1 0 8 0 amappl4 96 437 0 410 1 0 1 1 0 8 0 amappl3 88 106 0 99 1 0 1 1 0 8 0 amappl2 80 1048 0 977 2 0 2 2 0 8 0 amappl1 72 14318 0 13874 23 13 10 17 0 8 0 amappl 80 560 0 518 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 239 0 224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 239 0 224 1 0 1 1 0 8 0 vmmpekpl 168 5775 0 5747 2 0 2 2 0 8 0 vmmpepl 168 36980 0 34912 125 35 90 114 0 357 0 vmsppl 272 238 0 224 2 1 1 2 0 8 0 pdppl 4096 484 0 448 6 1 5 6 0 8 0 pvpl 32 134683 0 115965 156 5 151 151 0 265 0 pmappl 200 238 0 224 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 262 0 33 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(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067037190,0,ffff80001d6e5088,0,0,ffff80001d6e4f94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f75a0,ffff80001d6e5088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5088,0,ffff80001d6e5170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5120,ffff80001d6e5170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e51f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef2e0, 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(ffffffff823c7867) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd8067037190,0,ffff80001d6e5088,0,0,ffff80001d6e4f94) at soreceive+0x170a sys/kern/uipc_socket.c:983 soo_read(fffffd805f5f75a0,ffff80001d6e5088,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a9008,6,ffff80001d6e5088,0,ffff80001d6e5170) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a9008,ffff80001d6e5120,ffff80001d6e5170) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e51f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef2e0, count: -8