net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup (Linux Linux)

CVE-2026-23256
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup In setup_nic_devices(), the initialization loop jumps to the label setup_nic_dev_free on failure. The current cleanup loop while(i--) skip the failing index i, causing a memory leak. Fix this by changing the loop to iterate from the current index i down to 0. Compile tested only. Issue found using code review.

Faiblesses (CWE)

  • CWE-193 — Erreur de décalage d'une unité

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < bd680e56e316be92c01568be98d85d7a6c9bd92c ; affected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < 01fbca1e93ec3f39f76c31a8f9afa32ce00da48a ; affected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < 71a56b89203ec7e5670d94a61a9b4ae617eca804 ; affected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < 3bf519e39b51cb08a93c0599870b35a23db1031e ; affected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < 52b19b3a22306fe452ec9e8ff96063f4bfb77b99 ; affected 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 < 4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 5.10.250 ≤ 5.10.* ; unaffected 5.15.200 ≤ 5.15.* ; unaffected 6.1.163 ≤ 6.1.* ; unaffected 6.6.124 ≤ 6.6.*

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