{"id":"CVE-2025-40252","summary":"net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()","details":"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.","modified":"2026-05-06T07:44:17.815865139Z","published":"2025-12-04T16:08:14.393Z","related":["ALSA-2026:13577","ALSA-2026:13578","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40252.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256"},{"type":"WEB","url":"https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40252.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40252"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"55482edc25f0606851de42e73618f813f310d009"},{"fixed":"ecbb12caf399d7cf364b7553ed5aebeaa2f255bc"},{"fixed":"a778912b4a53587ea07d85526d152f85d109cbfe"},{"fixed":"f0923011c1261b33a2ac1de349256d39cb750dd0"},{"fixed":"917a9d02182ac8b4f25eb47dc02f3ec679608c24"},{"fixed":"e441db07f208184e0466abf44b389a81d70c340e"},{"fixed":"896f1a2493b59beb2b5ccdf990503dbb16cb2256"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40252.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"5.15.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.60"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40252.json"}}],"schema_version":"1.7.5"}