# CVE-2023-53019: net: mdio: validate parameter addr in mdiobus_get_phy()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2025-03-27T16:43:46.493Z
- Modified: 2026-11-05T21:17:07.220Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before c431a3d642593bbdb99e8a9e3eed608b730db6f8; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 8a7b9560a3a8eb8724888c426e05926752f73aa0; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before ad67de330d83e8078372b52af18ffe8d39e26c85; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 7879626296e6ffd838ae0f2af1ab49ee46354973; from 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 867dbe784c5010a466f00a7d1467c1c5ea569c75; 4.5 (not affected: before 4.5; from 4.14.305 up to 4.14.*; from 4.19.272 up to 4.19.*; from 5.4.231 up to 5.4.*; from 5.10.166 up to 5.10.*; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 4.5 before 4.14.305; from 4.15 before 4.19.272; from 4.20 before 5.4.231; from 5.5 before 5.10.166; from 5.11 before 5.15.91; from 5.16 before 6.1.9; 6.2

## References

- <https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f> (patch)
- <https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8> (patch)
- <https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0> (patch)
- <https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8> (patch)
- <https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85> (patch)
- <https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973> (patch)
- <https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75> (patch)

## Sources

- CVE List: [CVE-2023-53019](https://www.cve.org/CVERecord?id=CVE-2023-53019), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53019](https://nvd.nist.gov/vuln/detail/CVE-2023-53019), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53019 · Whole record: https://cve.day/CVE-2023-53019.json · Rebuilt by cve.day 2026-11-25T22:58:34.604Z
