CVE-2025-38110
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| bpftool | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.12.35-55.103.amzn2023 |
| linux_kernel | linux | 6.15.3, 6.12.34, 6.6.94 |
| Linux | Linux | abb0605ca00979a49572a6516f6db22c3dc57223, 4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7, 260388f79e94fb3026c419a208ece8358bb7b555 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a |
| Linux | Linux | 6.3, 0, 6.6.94 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 6.6.94, 0, 6.3 |
| linux | linux_kernel | 6.3, 6.3, 6.3 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
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