CVE-2025-39973

i40e: add validation for ring_len param

HIGH 8.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: i40e: add validation for ring_len param The `ring_len` parameter provided by the virtual function (VF) is assigned directly to the hardware memory context (HMC) without any validation. To address this, introduce an upper boundary check for both Tx and Rx queue lengths. The maximum number of descriptors supported by the hardware is 8k-32. Additionally, enforce alignment constraints: Tx rings must be a multiple of 8, and Rx rings must be a multiple of 32.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < 0543d40d6513cdf1c7882811086e59a6455dfe97 ; affected 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9 ; affected 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985 ; affected 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < d3b0d3f8d11fa957171fbb186e53998361a88d4e ; affected 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < c0c83f4cd074b75cecef107bfc349be7d516c9c4 ; affected 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd < 05fe81fb9db20464fa532a3835dc8300d68a2f84
Linux · Linuxaffected 3.12 ; unaffected 0 < 3.12 ; unaffected 5.4.300 ≤ 5.4.* ; unaffected 5.10.245 ≤ 5.10.* ; unaffected 5.15.194 ≤ 5.15.* ; unaffected 6.1.155 ≤ 6.1.*

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