CVE-2023-53019
net: mdio: validate parameter addr in mdiobus_get_phy()
- State
- Published
- Severity
- Not scored
- Published
- Mar 27, 2025
- Updated
- May 11, 2026
- Reserved
- Mar 27, 2025
Description
In the Linux kernel, the following vulnerability has been resolved:
net: mdio: validate parameter addr in mdiobus_get_phy()
The caller may pass any value as addr, what may result in an out-of-bounds access to array mdio_map. One existing case is stmmac_init_phy() that may pass -1 as addr. Therefore validate addr before using it.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f
- https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8
- https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0
- https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8
- https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85
- https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973
- https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.