CVE-2025-40252

Source
https://cve.org/CVERecord?id=CVE-2025-40252
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40252.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40252
Downstream
Related
Published
2025-12-04T16:08:14.393Z
Modified
2026-03-20T12:43:14.333148Z
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:

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

The loops in 'qedetpacont()' and 'qedetpaend()', 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40252.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40252.json"

Linux / Kernel

Package

Name
Kernel

Affected 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40252.json"