<Vulnerability name="CVE-2026-64225">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-07-24T00:00:00</PublicDate>
    <Bugzilla id="2506824" url="https://bugzilla.redhat.com/show_bug.cgi?id=2506824" xml:lang="en:us">
kernel: octeontx2-af: CGX: add bounds check to cgx_speed_mbps index
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>5.5</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-125</CWE>
    <Details xml:lang="en:us" source="Mitre">
In the Linux kernel, the following vulnerability has been resolved:

octeontx2-af: CGX: add bounds check to cgx_speed_mbps index

cgx_speed_mbps has 13 elements but RESP_LINKSTAT_SPEED can yield values
0-15. If it returns a value &gt;= 13, this causes an out-of-bounds array
access. Add a bounds check and default to speed 0 if the index is out of
range.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in the Linux kernel's `octeontx2-af: CGX` component. This vulnerability arises from an out-of-bounds array access. Specifically, the `RESP_LINKSTAT_SPEED` function can produce an index value that exceeds the allocated size of the `cgx_speed_mbps` array, leading to memory corruption. This could result in a system crash (Denial of Service).
    </Details>
    <Statement xml:lang="en:us">
A flaw was found in the Linux kernel octeontx2-af driver, in the CGX (Converged Gigabit Ethernet) firmware interface used by Marvell OcteonTX2 network adapters. The RESP_LINKSTAT_SPEED handling can produce a link speed index value that exceeds the bounds of the cgx_speed_mbps lookup array. Because this index is not validated before use, an unexpected firmware response can cause an out-of-bounds array access, leading to memory corruption and a kernel crash. This is classified as CWE-125 (Out-of-bounds Read) and results in a Denial of Service impact. Exploitation requires a system with an affected OcteonTX2 CGX-based network adapter present, consistent with the AV:L and PR:L values in the CVSS vector.
    </Statement>
    <Mitigation xml:lang="en:us">
There is no mitigation for this issue other than applying the fix. Systems that do not use OcteonTX2 CGX-based network hardware are not affected.
    </Mitigation>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>libkrun</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/a:redhat:enterprise_linux_nvidia:">
        <ProductName>Red Hat Enterprise Linux for NVIDIA 26</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>erlang27</PackageName>
    </PackageState>
    <PackageState impact="moderate" cpe="cpe:/a:redhat:openshift:4">
        <ProductName>Red Hat OpenShift Container Platform 4</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhcos</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-64225
https://nvd.nist.gov/vuln/detail/CVE-2026-64225
https://lore.kernel.org/linux-cve-announce/2026072417-CVE-2026-64225-a263@gregkh/T
    </References>
</Vulnerability>