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

CVE-2025-40252
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.60 % · centile 49 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 55482edc25f0606851de42e73618f813f310d009 < ecbb12caf399d7cf364b7553ed5aebeaa2f255bc ; affected 55482edc25f0606851de42e73618f813f310d009 < a778912b4a53587ea07d85526d152f85d109cbfe ; affected 55482edc25f0606851de42e73618f813f310d009 < f0923011c1261b33a2ac1de349256d39cb750dd0 ; affected 55482edc25f0606851de42e73618f813f310d009 < 917a9d02182ac8b4f25eb47dc02f3ec679608c24 ; affected 55482edc25f0606851de42e73618f813f310d009 < e441db07f208184e0466abf44b389a81d70c340e ; affected 55482edc25f0606851de42e73618f813f310d009 < 896f1a2493b59beb2b5ccdf990503dbb16cb2256
Linux · Linuxaffected 4.6 ; unaffected 0 < 4.6 ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 6.1.* ; unaffected 6.6.118 ≤ 6.6.* ; unaffected 6.12.60 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD