Skip to content
Heist/ feed
Critical

net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end() The loops in 'qede_tpa_cont()' and 'qede_tpa_end()', iterate over 'cqe->len_list[]' using only a zero-length terminator as the stopping condition. If the terminator was missing or malformed, the loop could run past the end of the fixed-size array. Add an explicit bound check using ARRAY_SIZE() in both loops to prevent a potential out-of-bounds access. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Announced Source revision 1
Original source ↗

CVE-2025-40252

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-40252

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "ecbb12caf399d7cf364b7553ed5aebeaa2f255bc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "a778912b4a53587ea07d85526d152f85d109cbfe",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "f0923011c1261b33a2ac1de349256d39cb750dd0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "917a9d02182ac8b4f25eb47dc02f3ec679608c24",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "e441db07f208184e0466abf44b389a81d70c340e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "55482edc25f0606851de42e73618f813f310d009",
        "lessThan": "896f1a2493b59beb2b5ccdf990503dbb16cb2256",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/qlogic/qede/qede_fp.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.6",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.197",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.159",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.118",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.60",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.17.10",
        "versionType": "semver",
        "lessThanOrEqual": "6.17.*"
      },
      {
        "status": "unaffected",
        "version": "6.18",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/qlogic/qede/qede_fp.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-40252

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#30700 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement