CVE-2026-64209: phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072413-CVE-2026-64209-c7bb@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config

swing_tbl and pre_emphasis_tbl are 4x4 arrays (valid indices 0-3), but
the boundary check uses "> 4" instead of ">= 4", allowing index 4 to
cause an out-of-bounds access.

The Linux kernel CVE team has assigned CVE-2026-64209 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 7.0 with commit 81791c45c8e0eaeba9a40927eecd082a8500f709 and fixed in 7.0.11 with commit cb35af6e7f3d5628178b58c631e305b1def8edf7
	Issue introduced in 7.0 with commit 81791c45c8e0eaeba9a40927eecd082a8500f709 and fixed in 7.1 with commit ea17fc4d7dc2ba6459b1a318962960520201baf1

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64209
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/phy/qualcomm/phy-qcom-qmp-usbc.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/cb35af6e7f3d5628178b58c631e305b1def8edf7
	https://git.kernel.org/stable/c/ea17fc4d7dc2ba6459b1a318962960520201baf1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.