CVE-2025-38110 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/mdiobus: Fix potential out-of-bounds clause 45 read/write access When using publicly available tools like 'mdio-tools' to read/write data from/to network interface and its PHY via C45 (clause 45) 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 C45 read/write operation. While this excludes this access from any statistics, it improves security of read/write operation.
A vulnerability allowing out-of-bounds read/write access has been identified in the Linux kernel's net/mdiobus component. This issue arises when using 'mdio-tools' to interact with network interfaces and their PHYs via Clause 45 of the MDIO bus. The vulnerability exists because the ioctl function does not validate the parameters, allowing any MDIO address to be accepted. Although the kernel supports 32 addresses, it is possible to specify a higher value through ioctl. While operations should typically fail in such cases, the MDIO bus provides a stats array that can be exploited for out-of-bounds read/write operations by using an incorrect address. The vulnerability has been addressed by implementing address verification before performing Clause 45 read/write operations, enhancing the security of these operations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/260388f79e94fb3026c419a208ece8358bb7b555 | kernel.org | Patch |
| https://git.kernel.org/stable/c/31bf7b2b92563a352788cf9df3698682f659bacc | kernel.org | Patch |
| https://git.kernel.org/stable/c/4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/abb0605ca00979a49572a6516f6db22c3dc57223 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.94 >= 6.7, < 6.12.34 >= 6.13, < 6.15.3 6.16 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 20, 2025 | Initial Analysis | [email protected] |
| Jul 3, 2025 | New CVE Received | kernel.org |