phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 6 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() The size of array 'priv->ports[]' is INNO_PHY_PORT_NUM. In the for loop, 'i' is used as the index for array 'priv->ports[]' with a check (i > INNO_PHY_PORT_NUM) which indicates that INNO_PHY_PORT_NUM is allowed value for 'i' in the same loop. This > comparison needs to be changed to >=, otherwise it potentially leads to an out of bounds write on the next iteration through the loop
Faiblesses (CWE)
- CWE-125 — Lecture hors limites
Références
- https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010
- https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0
- https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8
- https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677
- https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39
- https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd
- https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2023-59846
- GCVE · GCVE-0-2023-53238
Avis du CERT-FR
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0921 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.17 < 4.19.291cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.253cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.190cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.124cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.43cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.4.8cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < 2843a2e703f5cb85c9eeca11b7ee90861635a010 ; affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < 195e806b2afb0bad6470c9094f7e45e0cf109ee0 ; affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8 ; affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < 6d8a71e4c3a2fa4960cc50996e76a42b62fab677 ; affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < 01cb355bb92e8fcf8306e11a4774d610c5864e39 ; affected ba8b0ee81fbbc249e60f84bf097bd56e8047c742 < ce69eac840db0b559994dc4290fce3d7c0d7bccd |
| Linux · Linux | affected 4.17 ; unaffected 0 < 4.17 ; unaffected 4.19.291 ≤ 4.19.* ; unaffected 5.4.253 ≤ 5.4.* ; unaffected 5.10.190 ≤ 5.10.* ; unaffected 5.15.124 ≤ 5.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |