---
id: CVE-2023-53019
title: 'net: mdio: validate parameter addr in mdiobus_get_phy()'
summary: |-
  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 existi…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    1d80c259dfbadefa61b7ea334dfce5cb57f8c72f
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    c431a3d642593bbdb99e8a9e3eed608b730db6f8
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    8a7b9560a3a8eb8724888c426e05926752f73aa0
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    4bc5f1f6bc94e695dfd912122af96e7115a0ddb8
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    ad67de330d83e8078372b52af18ffe8d39e26c85
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    7879626296e6ffd838ae0f2af1ab49ee46354973
  - >-
    Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 <
    867dbe784c5010a466f00a7d1467c1c5ea569c75
  - Linux 4.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:14:40.020005Z'
published: '2025-03-27'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:54.506Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53019'
references:
  - url: 'https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f'
  - url: 'https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8'
  - url: 'https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0'
  - url: 'https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8'
  - url: 'https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85'
  - url: 'https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973'
  - url: 'https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75'
tags:
  - cve.org
epss: 0.00201
epssPercentile: 0.10104
ingestedAt: '2026-11-05T22:38:31.760Z'
---

## Overview

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

- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < c431a3d642593bbdb99e8a9e3eed608b730db6f8`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < 8a7b9560a3a8eb8724888c426e05926752f73aa0`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < ad67de330d83e8078372b52af18ffe8d39e26c85`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < 7879626296e6ffd838ae0f2af1ab49ee46354973`
- `Linux >= 7f854420fbfe9d49afe2ffb1df052cfe8e215541 < 867dbe784c5010a466f00a7d1467c1c5ea569c75`
- `Linux 4.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
