VDB

CVE-2025-38110

CVE-2025-38110 PUBLISHED CVSS 7.8 HIGH

net/mdiobus: Fix potential out-of-bounds clause 45 read/write access

Reported by linux · Published July 3, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.12.35-55.103.amzn2023
kernel-tools-develAmazon Linux6.12.35-55.103.amzn2023
bpftoolAmazon Linux6.12.35-55.103.amzn2023
kernel-modules-extra-commonAmazon Linux6.12.35-55.103.amzn2023
kernel-libbpf-staticAmazon Linux6.12.35-55.103.amzn2023
linux_kernellinux6.15.3, 6.12.34, 6.6.94
LinuxLinuxabb0605ca00979a49572a6516f6db22c3dc57223, 4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7, 260388f79e94fb3026c419a208ece8358bb7b555

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a
LinuxLinux6.3, 0, 6.6.94
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
LinuxLinux6.6.94, 0, 6.3
linuxlinux_kernel6.3, 6.3, 6.3
amazon:2023kernel-devel0
amazon:2023perf6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.12.35-55.1030

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (239 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (253 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38110
vulnetix vdb fixes CVE-2025-38110

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38110/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›