{"id":"CVE-2025-40252","aliases":["CVE-2025-40252"],"related":[],"kind":"vulnerability","state":"published","title":"net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()","summary":"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->len_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->len_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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: qlogic/qede: corrige posible lectura fuera de límites en qede_tpa_cont() y qede_tpa_end()\n\nLos bucles en 'qede_tpa_cont()' y 'qede_tpa_end()' iteran sobre 'cqe -> len_list[]' utilizando únicamente un terminador de longitud cero como condición de parada. Si el terminador faltaba o estaba malformado, el bucle podría ejecutarse más allá del final del array de tamaño fijo.\n\nAñade una comprobación de límites explícita utilizando ARRAY_SIZE() en ambos bucles para prevenir un posible acceso fuera de límites.\n\nEncontrado por Linux Verification Center (linuxtesting.org) con SVACE.","source":"nvd"}],"published":"2025-12-04T16:08:14.393Z","modified":"2026-10-19T19:10:00.130Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"ecbb12caf399d7cf364b7553ed5aebeaa2f255bc","status":"affected"},{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"a778912b4a53587ea07d85526d152f85d109cbfe","status":"affected"},{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"f0923011c1261b33a2ac1de349256d39cb750dd0","status":"affected"},{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"917a9d02182ac8b4f25eb47dc02f3ec679608c24","status":"affected"},{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"e441db07f208184e0466abf44b389a81d70c340e","status":"affected"},{"type":"git","introduced":"55482edc25f0606851de42e73618f813f310d009","fixed":"896f1a2493b59beb2b5ccdf990503dbb16cb2256","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.118","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.60","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.10","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-15T21:58:26.223Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40252","url":"https://www.cve.org/CVERecord?id=CVE-2025-40252","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:41.799Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40252","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40252","licence":"Public domain","modified":"2026-10-19T19:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:08.276Z","epss":{"score":0.00645,"percentile":0.52249,"date":"2026-12-01T12:00:22.000Z"}}