Skip to main content
Network Thinking Solutions Logo

CVE-2025-38111

Linux kernel: net/mdiobus: Fix potential out-of-bounds read/write access

All CVEs
CVE-2025-38111Published 7/3/2025

Linux kernel: net/mdiobus: Fix potential out-of-bounds read/write access

Vendor advisory
CVSS7.8High

Overview

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.

Published
7/3/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.6, < 5.10.239

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.186

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.142

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.94

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.34

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.3

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < 19c5875e26c4ed5686d82a7d8f7051385461b9eb

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < 014ad9210373d2104f6ef10e6bb999a7a0a4c50e

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < 73d478234a619f3476028cb02dee699c30ae8262

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < bab6bca0834cbb5be2a7cfe59ec6ad016ec72608

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < b02d9d2732483e670bc34cb233d28e1d43b15da4

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < 049af7ac45a6b407748ee0995278fd861e36df8f

Verify advisory

Source
Linux
Linux
≥ 080bb352fad00d04995102f681b134e3754bfb6e, < 0e629694126ca388916f059453a1c36adde219c4

Verify advisory

Source
Linux
Linux
5.6

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.