CVE Catalog

CVE-2025-38111

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In the mdiobus subsystem in the Linux kernel, there is an out-of-bounds read/write vulnerability in the statistics array. The ioctl function does not validate the MDIO address, allowing values greater than PHY_MAX_ADDR (32), leading to out-of-bounds access.

Risk Assessment

An attacker could exploit this vulnerability to read or write kernel memory out of bounds, potentially leading to privilege escalation or information disclosure.

Recommendation

Apply the Linux kernel patch for CVE-2025-38111, which adds MDIO address validation before read/write operations.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS