panic: receive 3: so 0xfffffd805e5064b0, so_type 3, m 0xfffffd8058c70300, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *434662 27116 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c0713) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4f28,0,0,ffff80001d6e4e34) at soreceive+0x16e7 soo_read(fffffd80649f8690,ffff80001d6e4f28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4f28,0,ffff80001d6e5010) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4fc0,ffff80001d6e5010) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5090) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7640, 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 3: so 0xfffffd805e5064b0, so_type 3, m 0xfffffd8058c70300, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823c0713) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4f28,0,0,ffff80001d6e4e34) at soreceive+0x16e7 soo_read(fffffd80649f8690,ffff80001d6e4f28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4f28,0,ffff80001d6e5010) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4fc0,ffff80001d6e5010) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5090) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7640, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6e4c70 rbx 0xffff80001d6e4d20 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81cace1f kprintf+0x15f r9 0x1 r10 0x2 r11 0xfe69321c7f22c251 r12 0x3000000008 r13 0xffff80001d6e4c80 r14 0x100 r15 0x1 rip 0xffffffff81ebd538 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6e4c60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=434662 stat=onproc flags process=0 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6aa868,0xffff80001d6a9018 process=0xffff80001d6c4010 user=0xffff80001d6e0000, vmspace=0xfffffd806bc0a220 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86909 112484 92379 0 2 0 syz-executor.1 86909 181802 92379 0 2 0x4000000 syz-executor.1 77838 517309 0 0 3 0x14280 nfsidl nfsio 15131 409966 0 0 3 0x14280 nfsidl nfsio 51119 449139 0 0 3 0x14280 nfsidl nfsio 91104 196908 0 0 3 0x14280 nfsidl nfsio 43156 382285 0 0 3 0x14280 nfsidl nfsio 75328 337135 0 0 3 0x14280 nfsidl nfsio 62088 102383 0 0 3 0x14280 nfsidl nfsio 90254 135480 0 0 3 0x14280 nfsidl nfsio 39994 410019 0 0 3 0x14280 nfsidl nfsio 88873 226557 0 0 3 0x14280 nfsidl nfsio 56829 353911 0 0 3 0x14280 nfsidl nfsio 89075 234751 0 0 3 0x14280 nfsidl nfsio 37218 59582 0 0 3 0x14280 nfsidl nfsio 67217 294586 0 0 3 0x14280 nfsidl nfsio 29845 229556 0 0 3 0x14280 nfsidl nfsio 42418 145879 0 0 3 0x14280 nfsidl nfsio 91006 201777 0 0 3 0x14280 nfsidl nfsio 83493 131068 0 0 3 0x14280 nfsidl nfsio 68301 78194 0 0 3 0x14280 nfsidl nfsio 8650 329232 0 0 3 0x14280 nfsidl nfsio 10440 117633 0 0 3 0x14200 acct acct 78376 222790 92716 0 3 0x82 piperd syz-executor.0 22865 435729 0 0 3 0x14200 bored sosplice 92379 399678 92716 0 3 0x82 nanosleep syz-executor.1 92716 340085 82036 0 3 0x82 thrsleep syz-fuzzer 92716 491755 82036 0 3 0x4000082 nanosleep syz-fuzzer 92716 153556 82036 0 3 0x4000082 thrsleep syz-fuzzer 92716 455781 82036 0 3 0x4000082 thrsleep syz-fuzzer 92716 513441 82036 0 3 0x4000082 thrsleep syz-fuzzer 92716 338525 82036 0 2 0x4000002 syz-fuzzer 92716 301825 82036 0 3 0x4000082 thrsleep syz-fuzzer 92716 404989 82036 0 3 0x4000082 thrsleep syz-fuzzer 82036 485679 24530 0 3 0x10008a pause ksh 24530 186210 54214 0 3 0x92 select sshd 94311 88787 1 0 3 0x100083 ttyin getty 54214 444167 1 0 3 0x80 select sshd 329 82251 40441 73 3 0x100090 kqread syslogd 40441 44189 1 0 3 0x100082 netio syslogd 95336 279345 1 77 2 0x100010 dhclient *27116 434662 1 0 7 0 dhclient 35074 439861 0 0 3 0x14200 bored smr 93394 95490 0 0 2 0x14200 zerothread 63152 141172 0 0 3 0x14200 aiodoned aiodoned 59851 229825 0 0 3 0x14200 syncer update 84677 405506 0 0 3 0x14200 cleaner cleaner 84205 338913 0 0 3 0x14200 reaper reaper 73262 191132 0 0 3 0x14200 pgdaemon pagedaemon 69333 397775 0 0 3 0x14200 bored crynlk 24373 475513 0 0 3 0x14200 bored crypto 36258 373825 0 0 3 0x40014200 acpi0 acpi0 25938 395109 0 0 2 0x14200 softnet 34309 108877 0 0 3 0x14200 bored systqmp 56456 148455 0 0 3 0x14200 bored systq 55832 97576 0 0 3 0x40014200 bored softclock 25874 36772 0 0 3 0x40014200 idle0 1 43827 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 9499 6358K 6597K 78643K 11941 0 pcb 13 8K 8K 78643K 69 0 rtable 120 15K 17K 78643K 404 0 ifaddr 77 16K 16K 78643K 147 0 counters 22 16K 16K 78643K 29 0 ioctlops 0 0K 4K 78643K 65 0 iov 0 0K 12K 78643K 40 0 mount 1 1K 1K 78643K 1 0 vnodes 1233 78K 78K 78643K 2161 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 19 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 143 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 1239 0 sigio 0 0K 0K 78643K 10 0 proc 49 38K 54K 78643K 448 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 104 0 in_multi 55 2K 3K 78643K 113 0 ether_multi 1 0K 0K 78643K 11 0 mrt 2 0K 0K 78643K 2 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 243 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 134 39K 39K 78643K 3925 0 UVM aobj 24 2K 5K 78643K 55 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 50 0 NDP 11 0K 0K 78643K 26 0 temp 114 3858K 3922K 78643K 8086 0 kqueue 3 4K 9K 78643K 28 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 9 0 3 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 69 0 28 2 0 2 2 0 8 0 unpcb 120 728 0 720 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 620 0 620 1 1 0 1 0 8 0 tcpcb 544 140 0 136 1 0 1 1 0 8 0 ipq 40 22 0 22 1 1 0 1 0 8 0 ipqe 40 326 0 326 1 1 0 1 0 8 0 inpcb 296 372 0 365 6 4 2 2 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 34 0 27 1 0 1 1 0 8 0 pftag 88 8 0 6 1 0 1 1 0 8 0 pfrule 1360 21 0 12 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 287 0 112 13 1 12 13 0 8 0 art_table 32 288 0 112 2 0 2 2 0 8 0 art_node 16 68 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 10 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 137 0 127 1 0 1 1 0 8 0 shmpl 112 52 0 31 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2796 0 1393 88 0 88 88 0 8 0 ffsino 240 2796 0 1393 83 0 83 83 0 8 0 nchpl 144 4986 0 3396 60 0 60 60 0 8 0 uvmvnodes 72 3744 0 0 69 0 69 69 0 8 0 vnodes 208 3744 0 0 198 0 198 198 0 8 0 namei 1024 12519 0 12519 3 2 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 12 0 6 1 0 1 1 0 8 0 scxspl 192 13555 0 13555 1 0 1 1 0 8 1 plimitpl 152 29 0 22 1 0 1 1 0 8 0 sigapl 424 1444 0 1394 6 0 6 6 0 8 0 futexpl 56 14787 0 14787 2 1 1 1 0 8 1 knotepl 112 100 0 81 1 0 1 1 0 8 0 kqueuepl 144 468 0 465 1 0 1 1 0 8 0 pipepl 272 168 0 158 1 0 1 1 0 8 0 fdescpl 432 1408 0 1394 2 0 2 2 0 8 0 filepl 120 6398 0 6302 4 0 4 4 0 8 1 lockfpl 104 102 0 101 1 0 1 1 0 8 0 lockfspl 48 38 0 37 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 291 0 284 1 0 1 1 0 8 0 zombiepl 144 1394 0 1394 2 1 1 1 0 8 1 processpl 928 1444 0 1394 7 0 7 7 0 8 0 procpl 624 3180 0 3122 5 0 5 5 0 8 0 sosppl 128 6 0 6 2 2 0 1 0 8 0 sockpl 400 1133 0 1116 7 4 3 4 0 8 1 mcl64k 65536 30 0 28 9 8 1 1 0 8 0 mcl16k 16384 4 0 4 3 3 0 1 0 8 0 mcl12k 12288 24 0 24 7 6 1 1 0 8 1 mcl9k 9216 22 0 22 12 11 1 1 0 8 1 mcl8k 8192 42 0 42 9 9 0 1 0 8 0 mcl4k 4096 49 0 49 9 8 1 1 0 8 1 mcl2k2 2112 3 0 3 3 3 0 1 0 8 0 mcl2k 2048 89587 0 89522 34 25 9 23 0 8 0 mtagpl 96 38 0 24 3 2 1 1 0 8 0 mbufpl 256 149612 0 149242 30 4 26 26 0 8 0 bufpl 280 5121 0 144 356 0 356 356 0 8 0 anonpl 16 163985 0 146342 90 7 83 83 0 107 0 amapchunkpl 152 6146 0 5988 15 8 7 11 0 158 0 amappl16 192 6411 0 5269 70 12 58 60 0 8 0 amappl15 184 113 0 111 1 0 1 1 0 8 0 amappl14 176 24 0 20 1 0 1 1 0 8 0 amappl13 168 735 0 730 1 0 1 1 0 8 0 amappl12 160 12 0 10 1 0 1 1 0 8 0 amappl11 152 50 0 41 1 0 1 1 0 8 0 amappl10 144 125 0 120 1 0 1 1 0 8 0 amappl9 136 765 0 763 1 0 1 1 0 8 0 amappl8 128 742 0 700 2 0 2 2 0 8 0 amappl7 120 216 0 204 1 0 1 1 0 8 0 amappl6 112 26 0 18 1 0 1 1 0 8 0 amappl5 104 1336 0 1325 1 0 1 1 0 8 0 amappl4 96 1142 0 1112 1 0 1 1 0 8 0 amappl3 88 204 0 197 1 0 1 1 0 8 0 amappl2 80 10372 0 10302 2 0 2 2 0 8 0 amappl1 72 41262 0 40846 23 14 9 17 0 8 0 amappl 80 3416 0 3369 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 54 0 31 1 0 1 1 0 8 0 uaddrrnd 24 1410 0 1394 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1410 0 1394 1 0 1 1 0 8 0 vmmpekpl 168 13047 0 13016 2 0 2 2 0 8 0 vmmpepl 168 176542 0 174263 157 56 101 126 0 357 1 vmsppl 272 1409 0 1394 3 1 2 2 0 8 1 pdppl 4096 2826 0 2790 6 1 5 6 0 8 0 pvpl 32 402872 0 382347 207 18 189 193 0 265 0 pmappl 200 1409 0 1394 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 311 0 68 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(ffffffff823c0713) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4f28,0,0,ffff80001d6e4e34) at soreceive+0x16e7 soo_read(fffffd80649f8690,ffff80001d6e4f28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4f28,0,ffff80001d6e5010) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4fc0,ffff80001d6e5010) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5090) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7640, 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(ffffffff823c0713) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e5064b0,0,ffff80001d6e4f28,0,0,ffff80001d6e4e34) at soreceive+0x16e7 soo_read(fffffd80649f8690,ffff80001d6e4f28,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d6a94e8,6,ffff80001d6e4f28,0,ffff80001d6e5010) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d6a94e8,ffff80001d6e4fc0,ffff80001d6e5010) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d6e5090) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7640, count: -8