CVE-2025-40252

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

State
Published
Severity
9.8 Critical
Published
Dec 4, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 55482edc25f0606851de42e73618f813f310d009 to before ecbb12caf399d7cf364b7553ed5aebeaa2f255bcAffected
  • 55482edc25f0606851de42e73618f813f310d009 to before a778912b4a53587ea07d85526d152f85d109cbfeAffected
  • 55482edc25f0606851de42e73618f813f310d009 to before f0923011c1261b33a2ac1de349256d39cb750dd0Affected
  • 55482edc25f0606851de42e73618f813f310d009 to before 917a9d02182ac8b4f25eb47dc02f3ec679608c24Affected
  • 55482edc25f0606851de42e73618f813f310d009 to before e441db07f208184e0466abf44b389a81d70c340eAffected
  • 55482edc25f0606851de42e73618f813f310d009 to before 896f1a2493b59beb2b5ccdf990503dbb16cb2256Affected
LinuxLinux
  • 4.6Affected
  • before 4.6Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.118 through 6.6.*Not affected
  • 6.12.60 through 6.12.*Not affected
  • 6.17.10 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.