CVE-2025-40252
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < ecbb12caf399d7cf364b7553ed5aebeaa2f255bc | affected |
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < a778912b4a53587ea07d85526d152f85d109cbfe | affected |
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < f0923011c1261b33a2ac1de349256d39cb750dd0 | affected |
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < 917a9d02182ac8b4f25eb47dc02f3ec679608c24 | affected |
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < e441db07f208184e0466abf44b389a81d70c340e | affected |
| Linux | Linux | 55482edc25f0606851de42e73618f813f310d009 < 896f1a2493b59beb2b5ccdf990503dbb16cb2256 | affected |
| Linux | Linux | 4.6 | affected |
| Linux | Linux | 0 < 4.6 | unaffected |
| Linux | Linux | 5.15.197 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.159 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.118 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.60 <= 6.12.* | unaffected |
| Linux | Linux | 6.17.10 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
ADP Enrichment
Additional References
References
- https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc
- https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe
- https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0
- https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24
- https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e
- https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.