{
  "id": "CVE-2025-40252",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40252",
  "published_at": "2025-12-04T16:08:14.393Z",
  "title": "net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()\n\nThe loops in 'qede_tpa_cont()' and 'qede_tpa_end()', iterate\nover 'cqe-\u003elen_list[]' using only a zero-length terminator as\nthe stopping condition. If the terminator was missing or\nmalformed, the loop could run past the end of the fixed-size array.\n\nAdd an explicit bound check using ARRAY_SIZE() in both loops to prevent\na potential out-of-bounds access.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c ecbb12caf399d7cf364b7553ed5aebeaa2f255bc",
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c a778912b4a53587ea07d85526d152f85d109cbfe",
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c f0923011c1261b33a2ac1de349256d39cb750dd0",
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c 917a9d02182ac8b4f25eb47dc02f3ec679608c24",
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c e441db07f208184e0466abf44b389a81d70c340e",
          "\u003e= 55482edc25f0606851de42e73618f813f310d009, \u003c 896f1a2493b59beb2b5ccdf990503dbb16cb2256"
        ],
        "fixed_in": [
          "ecbb12caf399d7cf364b7553ed5aebeaa2f255bc",
          "a778912b4a53587ea07d85526d152f85d109cbfe",
          "f0923011c1261b33a2ac1de349256d39cb750dd0",
          "917a9d02182ac8b4f25eb47dc02f3ec679608c24",
          "e441db07f208184e0466abf44b389a81d70c340e",
          "896f1a2493b59beb2b5ccdf990503dbb16cb2256"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.6"
        ],
        "fixed_in": [
          "0",
          "5.15.197",
          "6.1.159",
          "6.6.118",
          "6.12.60",
          "6.17.10",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ecbb12caf399d7cf364b7553ed5aebeaa2f255bc or a778912b4a53587ea07d85526d152f85d109cbfe or f0923011c1261b33a2ac1de349256d39cb750dd0 or 917a9d02182ac8b4f25eb47dc02f3ec679608c24 or e441db07f208184e0466abf44b389a81d70c340e or 896f1a2493b59beb2b5ccdf990503dbb16cb2256 or later.",
      "Upgrade Linux to 0 or 5.15.197 or 6.1.159 or 6.6.118 or 6.12.60 or 6.17.10 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
