panic: receive 3: so 0xfffffd805e56c190, so_type 3, m 0xfffffd805795d900, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *392525 35328 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b0a71) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c190,0,ffff80001d3724b8,0,0,ffff80001d3723c4) at soreceive+0x16e7 soo_read(fffffd80615f2528,ffff80001d3724b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3724b8,0,ffff80001d3725a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372550,ffff80001d3725a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc90c0, 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 0xfffffd805e56c190, so_type 3, m 0xfffffd805795d900, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821b0a71) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56c190,0,ffff80001d3724b8,0,0,ffff80001d3723c4) at soreceive+0x16e7 soo_read(fffffd80615f2528,ffff80001d3724b8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d3724b8,0,ffff80001d3725a0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372550,ffff80001d3725a0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc90c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372200 rbx 0xffff80001d3722b0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3721c0 r9 0x1 r10 0 r11 0x34e527adc9d0722a r12 0x3000000008 r13 0xffff80001d372210 r14 0x100 r15 0x1 rip 0xffffffff810a1b18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3721f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=392525 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339c38,0xffff80001d339eb8 process=0xffff8000ffffb190 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a330 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 58942 246155 50305 0 2 0 syz-executor.0 58942 258966 50305 0 2 0x4000000 syz-executor.0 77588 228407 99859 0 2 0 syz-executor.1 77588 383929 99859 0 3 0x4000080 fifor syz-executor.1 77588 371551 99859 0 3 0x4000080 fifor syz-executor.1 31880 286990 0 0 3 0x14200 bored sosplice 99859 180693 43348 0 3 0x82 nanosleep syz-executor.1 50305 392200 43348 0 3 0x82 nanosleep syz-executor.0 43348 107382 12976 0 3 0x82 thrsleep syz-fuzzer 43348 397544 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 237371 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 353161 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 266851 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 434085 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 137272 12976 0 3 0x4000082 thrsleep syz-fuzzer 43348 194296 12976 0 3 0x4000082 kqread syz-fuzzer 12976 470255 31819 0 3 0x10008a pause ksh 31819 252506 78535 0 3 0x92 select sshd 73580 196317 1 0 3 0x100083 ttyin getty 78535 474801 1 0 3 0x80 select sshd 20518 421007 47141 73 3 0x100090 kqread syslogd 47141 185189 1 0 3 0x100082 netio syslogd 50385 343459 1 77 2 0x100010 dhclient *35328 392525 1 0 7 0 dhclient 32353 304642 0 0 2 0x14200 zerothread 78935 116264 0 0 3 0x14200 aiodoned aiodoned 2405 136558 0 0 3 0x14200 syncer update 1619 489615 0 0 3 0x14200 cleaner cleaner 40134 302396 0 0 3 0x14200 reaper reaper 95977 341548 0 0 3 0x14200 pgdaemon pagedaemon 87268 373703 0 0 3 0x14200 bored crynlk 28928 53022 0 0 3 0x14200 bored crypto 82389 417122 0 0 3 0x40014200 acpi0 acpi0 5123 330924 0 0 3 0x14200 bored softnet 51663 86607 0 0 3 0x14200 bored systqmp 1044 107353 0 0 3 0x14200 bored systq 20106 100595 0 0 3 0x40014200 bored softclock 30262 117656 0 0 3 0x40014200 idle0 85045 456572 0 0 3 0x14200 bored smr 1 486146 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 9501 6407K 6855K 78643K 11250 0 pcb 13 10K 12K 78643K 91 0 rtable 91 3K 4K 78643K 371 0 ifaddr 82 17K 17K 78643K 135 0 counters 21 16K 16K 78643K 30 0 ioctlops 0 0K 2K 78643K 32 0 iov 0 0K 12K 78643K 67 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1479 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 102 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 388 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 55K 78643K 443 0 subproc 32 2K 2K 78643K 53 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 29 0 in_multi 91 4K 4K 78643K 149 0 ether_multi 1 0K 0K 78643K 11 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 252 0 pfkey data 0 0K 1K 78643K 6 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 114 54K 70K 78643K 1780 0 UVM aobj 11 7K 7K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 71 0 NDP 12 0K 0K 78643K 27 0 temp 124 3018K 3081K 78643K 31376 0 kqueue 3 4K 16K 78643K 52 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 110 0 108 1 0 1 1 0 8 0 rtentry 112 70 0 36 2 0 2 2 0 8 0 unpcb 120 219 0 209 1 0 1 1 0 8 0 syncache 264 10 0 10 3 2 1 1 0 8 1 tcpqe 32 163 0 163 1 1 0 1 0 8 0 tcpcb 544 382 0 378 14 13 1 14 0 8 0 ipq 40 3 0 3 2 1 1 1 0 8 1 ipqe 40 135 0 135 2 1 1 1 0 8 1 inpcb 280 693 0 686 10 8 2 9 0 8 1 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 16 0 16 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 291 0 145 13 0 13 13 0 8 1 art_table 32 293 0 145 2 0 2 2 0 8 0 art_node 16 69 0 40 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 29 1 0 1 1 0 8 0 semapl 112 100 0 90 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1967 0 566 46 0 46 46 0 8 0 ffsino 240 1967 0 566 83 0 83 83 0 8 0 nchpl 144 2935 0 1330 60 0 60 60 0 8 0 uvmvnodes 72 2177 0 0 40 0 40 40 0 8 0 vnodes 208 2177 0 0 115 0 115 115 0 8 0 namei 1024 8252 0 8252 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 2 1 0 1 1 0 8 0 scxspl 192 8060 0 8060 1 0 1 1 0 8 1 plimitpl 152 43 0 36 1 0 1 1 0 8 0 sigapl 424 572 0 542 4 0 4 4 0 8 0 futexpl 56 10899 0 10899 1 0 1 1 0 8 1 knotepl 112 123 0 104 1 0 1 1 0 8 0 kqueuepl 144 440 0 438 5 4 1 5 0 8 0 pipelkpl 16 155 0 145 1 0 1 1 0 8 0 pipepl 120 310 0 291 1 0 1 1 0 8 0 fdescpl 432 557 0 542 2 0 2 2 0 8 0 filepl 120 4583 0 4482 11 7 4 11 0 8 0 lockfpl 104 115 0 114 1 0 1 1 0 8 0 lockfspl 48 44 0 43 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 498 0 490 1 0 1 1 0 8 0 zombiepl 144 542 0 542 1 0 1 1 0 8 1 processpl 896 572 0 542 4 0 4 4 0 8 0 procpl 624 1017 0 977 4 0 4 4 0 8 0 sockpl 400 1041 0 1022 14 10 4 14 0 8 2 mcl64k 65536 30 0 30 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 6 0 6 1 0 1 1 0 8 1 mcl9k 9216 12 0 12 1 0 1 1 0 8 1 mcl8k 8192 21 0 21 1 0 1 1 0 8 1 mcl4k 4096 61 0 61 1 0 1 1 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 64632 0 64585 17 10 7 14 0 8 0 mtagpl 80 42 0 9 2 1 1 1 0 8 0 mbufpl 256 105541 0 105328 34 13 21 23 0 8 4 bufpl 280 4908 0 160 340 0 340 340 0 8 0 anonpl 16 79375 0 63235 83 12 71 81 0 107 3 amapchunkpl 152 2783 0 2644 10 3 7 10 0 158 0 amappl16 192 3107 0 2186 58 7 51 58 0 8 4 amappl15 184 10 0 8 1 0 1 1 0 8 0 amappl14 176 2 0 1 2 1 1 1 0 8 0 amappl13 168 29 0 28 1 0 1 1 0 8 0 amappl12 160 110 0 106 1 0 1 1 0 8 0 amappl11 152 239 0 225 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 453 0 450 1 0 1 1 0 8 0 amappl8 128 373 0 350 1 0 1 1 0 8 0 amappl7 120 115 0 103 1 0 1 1 0 8 0 amappl6 112 197 0 191 1 0 1 1 0 8 0 amappl5 104 482 0 470 1 0 1 1 0 8 0 amappl4 96 461 0 430 1 0 1 1 0 8 0 amappl3 88 127 0 121 1 0 1 1 0 8 0 amappl2 80 3704 0 3628 3 1 2 3 0 8 0 amappl1 72 19408 0 18980 25 16 9 20 0 8 0 amappl 80 1273 0 1226 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 562 0 544 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 562 0 544 1 0 1 1 0 8 0 vmmpekpl 168 7438 0 7410 2 0 2 2 0 8 0 vmmpepl 168 73465 0 71365 131 14 117 121 0 357 25 vmsppl 272 561 0 544 2 0 2 2 0 8 0 pdppl 4096 1130 0 1091 7 2 5 6 0 8 0 pvpl 32 217648 0 198463 190 10 180 190 0 265 21 pmappl 200 561 0 544 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 201 0 51 6 0 6 6 0 8 0