CVE-2025-38111 Details
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.
A vulnerability allowing out-of-bounds read and 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 the mdiobus. The vulnerability exists because the ioctl parameters are not properly validated, allowing any MDIO address to be accepted. While the kernel supports 32 addresses, it is possible to specify a higher value through ioctl. Although read/write operations should typically fail in this scenario, the mdiobus stats array can be manipulated to enable out-of-bounds access. The vulnerability has been addressed by implementing address verification before 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.
CISA-ADP
Assessed Oct 15, 2026References 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://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://git.kernel.org/stable/c/014ad9210373d2104f6ef10e6bb999a7a0a4c50e | kernel.org | Patch |
| https://git.kernel.org/stable/c/049af7ac45a6b407748ee0995278fd861e36df8f | kernel.org | Patch |
| https://git.kernel.org/stable/c/0e629694126ca388916f059453a1c36adde219c4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/19c5875e26c4ed5686d82a7d8f7051385461b9eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/73d478234a619f3476028cb02dee699c30ae8262 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b02d9d2732483e670bc34cb233d28e1d43b15da4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bab6bca0834cbb5be2a7cfe59ec6ad016ec72608 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.6, < 5.10.239 >= 5.11, < 5.15.186 >= 5.16, < 6.1.142 >= 6.2, < 6.6.94 >= 6.7, < 6.12.34 >= 6.13, < 6.15.3 6.16 rc1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Dec 16, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 3, 2025 | New CVE Received | kernel.org |