ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate() (Linux Linux)

CVE-2024-47686
HIGH 7.1

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate() The psc->div[] array has psc->num_div elements. These values come from when we call clk_hw_register_div(). It's adc_divisors and ARRAY_SIZE(adc_divisors)) and so on. So this condition needs to be >= instead of > to prevent an out of bounds read.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 < 7a5bd2fb92388c51d267f6ce57c40f1cca8af1e0 ; affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 < 66e78ade976dbd9bea09166aa8d66afc0963cde4 ; affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 < 27f493e141823db052586010c1532b70b164507c ; affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 < ae59eaf36a1ad396e9f657ec9b8b52da6206ed5f ; affected 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 < c7f06284a6427475e3df742215535ec3f6cd9662
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.6.54 ≤ 6.6.* ; unaffected 6.10.13 ≤ 6.10.* ; unaffected 6.11.2 ≤ 6.11.*

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