Back to CVE records
High 7.8Published Jul 3, 2025

CVE-2025-38111net/mdiobus: Fix potential out-of-bounds read/write access

Updated under an hour ago ()

Does this affect you?

It affects Linux and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
080bb352fad00d04995102f681b134e3754bfb6e builds before 19c5875e26c4ed5686d82a7d8f7051385461b9eb; 080bb352fad00d04995102f681b134e3754bfb6e builds before 014ad9210373d2104f6ef10e6bb999a7a0a4c50e; 080bb352fad00d04995102f681b134e3754bfb6e builds before 73d478234a619f3476028cb02dee699c30ae8262; from 080bb352fad00d04995102f681b134e3754bfb6e before bab6bca0834cbb5be2a7cfe59ec6ad016ec72608; from 080bb352fad00d04995102f681b134e3754bfb6e before b02d9d2732483e670bc34cb233d28e1d43b15da4; 080bb352fad00d04995102f681b134e3754bfb6e builds before 049af7ac45a6b407748ee0995278fd861e36df8f; 080bb352fad00d04995102f681b134e3754bfb6e builds before 0e629694126ca388916f059453a1c36adde219c4
CNA record
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name)
from V3.1.5
CISA ADP
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.5
CISA ADP
linux linux_kernel
linux:linux_kernel
from 5.6 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3; 6.16
NVD
debian debian_linux
debian:debian_linux
11.0
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • mailing-list, third-party-advisory
  • mailing-list, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.