CVE-2025-40252
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/12/2025
Last modified:
06/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()<br />
<br />
The loops in &#39;qede_tpa_cont()&#39; and &#39;qede_tpa_end()&#39;, iterate<br />
over &#39;cqe->len_list[]&#39; using only a zero-length terminator as<br />
the stopping condition. If the terminator was missing or<br />
malformed, the loop could run past the end of the fixed-size array.<br />
<br />
Add an explicit bound check using ARRAY_SIZE() in both loops to prevent<br />
a potential out-of-bounds access.<br />
<br />
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256
- https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24
- https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe
- https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e
- https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc
- https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0



