1. Accueil
  2. Vulnérabilités
  3. CVE-2025-38111

CVE-2025-38111

net/mdiobus: Fix potential out-of-bounds read/write access

Publiée le 3 juil. 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 33/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via mdiobus, there is no verification of parameters passed to the ioctl and it accepts any mdio address. Currently there is support for 32 addresses in kernel via PHY_MAX_ADDR define, but it is possible to pass higher value than that via ioctl. While read/write operation should generally fail in this case, mdiobus provides stats array, where wrong address may allow out-of-bounds read/write. Fix that by adding address verification before read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.6 — CNA (éditeur ou attributeur)
Linux kernel de 5.6 (inclus) à 5.10.239 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.186 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.142 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.94 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.34 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.15.3 (exclu) — NVD
Linux kernel 6.16 — NVD
Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.0 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données