Linux Kernel Out-of-Bounds Read/Write Vulnerability in net/mdiobus

Vulnerability

A vulnerability allowing out-of-bounds read and write access has been identified in the Linux kernel's net/mdiobus component. This issue arises when using 'mdio-tools' to interact with network interfaces and their PHYs via the mdiobus. The vulnerability exists because the ioctl parameters are not properly validated, allowing any MDIO address to be accepted. While the kernel supports 32 addresses, it is possible to specify a higher value through ioctl. Although read/write operations should typically fail in this scenario, the mdiobus stats array can be manipulated to enable out-of-bounds access. The vulnerability has been addressed by implementing address verification before read/write operations, enhancing the security of these operations.

Impact

Exploitation of this vulnerability could lead to arbitrary memory access, allowing for potential memory corruption or manipulation of kernel data structures.

Added: Jul 3, 2025, 11:17 AM
Updated: Jul 3, 2025, 11:17 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.