CVE-2025-38111 in Debian Linux and 2 more products
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.
Affects 3 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Linux | Linux Kernel | 6.16 ≥ 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+1 more≥ 6.13, < 6.15.3 |
| Linux | Linux | 5.6 |
| Siemens | — | — |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-38111 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-256175-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| Published | 2025-07-03 |
| Last modified | 2026-10-15 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation for mdio addresses in the mdiobus module to prevent out-of-bounds access.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.