2084AI Security Observatory

CVE

CVE-2025-38111

CVE-2025-38111HIGH 7.1EPSS 17%

CNA description

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.

Affected versions

All Linux kernel vulnerabilities →

  • 6.16-rc1This version only
  • ≥ 6.13, < 6.15.3Fixed in 6.15.3
  • ≥ 6.7, < 6.12.34Fixed in 6.12.34
  • ≥ 6.2, < 6.6.94Fixed in 6.6.94
  • ≥ 5.16, < 6.1.142Fixed in 6.1.142
  • ≥ 5.11, < 5.15.186Fixed in 5.15.186
  • ≥ 5.6, < 5.10.239Fixed in 5.10.239

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.