net: stmmac: make sure that ptp_rate is not 0 before configuring EST (Linux Linux)

CVE-2025-38125
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: make sure that ptp_rate is not 0 before configuring EST If the ptp_rate recorded earlier in the driver happens to be 0, this bogus value will propagate up to EST configuration, where it will trigger a division by 0. Prevent this division by 0 by adding the corresponding check and error code.

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 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b ; affected 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74 ; affected 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b92ec4a848728460f181def33735605f154d438f ; affected 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < 451ee661d0f6272017fa012f99617101aa8ddf2c ; affected 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d5e3bfdba0dc419499b801937128957f77503761 ; affected 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < cbefe2ffa7784525ec5d008ba87c7add19ec631a
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.15.199 ≤ 5.15.* ; unaffected 6.1.162 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.* ; unaffected 6.12.34 ≤ 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