# CVE-2023-53019: net: mdio: validate parameter addr in mdiobus\_get\_phy()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-03-27T16:43:46.493Z
- **Modified:** 2026-11-05T21:17:07.220Z

## Who should check

- Anyone running Linux \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< c431a3d642593bbdb99e8a9e3eed608b730db6f8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 8a7b9560a3a8eb8724888c426e05926752f73aa0; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< ad67de330d83e8078372b52af18ffe8d39e26c85; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 7879626296e6ffd838ae0f2af1ab49ee46354973; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 867dbe784c5010a466f00a7d1467c1c5ea569c75
- Anyone running Linux 4.5

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

## Affected and fixed versions

- Linux: \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< c431a3d642593bbdb99e8a9e3eed608b730db6f8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 8a7b9560a3a8eb8724888c426e05926752f73aa0; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< ad67de330d83e8078372b52af18ffe8d39e26c85; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 7879626296e6ffd838ae0f2af1ab49ee46354973; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 867dbe784c5010a466f00a7d1467c1c5ea569c75 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- Upgrade Linux to 867dbe784c5010a466f00a7d1467c1c5ea569c75 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53019. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53019.md
Affected: Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, < 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, < c431a3d642593bbdb99e8a9e3eed608b730db6f8; >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, < 8a7b9560a3a8eb8724888c426e05926752f73aa0; >= 7f854420fbfe9d49afe2ffb…
Fixed in: Linux 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f, Linux 8a7b9560a3a8eb8724888c426e05926752f73aa0, Linux 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8, Linux 7879626296e6ffd838ae0f2af1ab49ee46354973, Linux 867dbe784c5010a466f00a7d1467c1c5ea569c75

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53019 being exploited?

There is no confirmed exploitation: CVE-2023-53019 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53019?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53019?

Linux \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< c431a3d642593bbdb99e8a9e3eed608b730db6f8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 8a7b9560a3a8eb8724888c426e05926752f73aa0; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< ad67de330d83e8078372b52af18ffe8d39e26c85; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 7879626296e6ffd838ae0f2af1ab49ee46354973; \>= 7f854420fbfe9d49afe2ffb1df052cfe8e215541, \< 867dbe784c5010a466f00a7d1467c1c5ea569c75; Linux 4.5.

### Is there a fix for CVE-2023-53019?

Yes. Fixed in Linux 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f, Linux 8a7b9560a3a8eb8724888c426e05926752f73aa0, Linux 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8, Linux 7879626296e6ffd838ae0f2af1ab49ee46354973, Linux 867dbe784c5010a466f00a7d1467c1c5ea569c75. Upgrade Linux to 867dbe784c5010a466f00a7d1467c1c5ea569c75 or later.

### How do I check if I'm affected by CVE-2023-53019?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53019>

HTML: <https://flawdb.com/CVE-2023-53019> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53019>
