CVE-2023-53019

net: mdio: validate parameter addr in mdiobus_get_phy()

HIGH
7.8
CVSS Score
Published: March 27, 2025 at 04:43 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2724.20 ≤ v < 5.4.2314.5 ≤ v < 4.14.3054.5 ≤ v < 4.19.2724.5 ≤ v < 5.10.1664.5 ≤ v < 5.15.914.5 ≤ v < 5.4.2314.5 ≤ v < 6.1.94.5 ≤ v < 6.25.11 ≤ v < 5.15.915.16 ≤ v < 6.1.95.5 ≤ v < 5.10.1664.56.2 rc16.2 rc26.2 rc36.2 rc47f854420fbfe9d49afe2ffb1df052cfe8e215541
Vendor states this is fixed in 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f (fixed)
Vendor states this is fixed in 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8 (fixed)
Vendor states this is fixed in 7879626296e6ffd838ae0f2af1ab49ee46354973 (fixed)
Vendor states this is fixed in 867dbe784c5010a466f00a7d1467c1c5ea569c75 (fixed)
Vendor states this is fixed in 8a7b9560a3a8eb8724888c426e05926752f73aa0 (fixed)
Vendor states this is fixed in ad67de330d83e8078372b52af18ffe8d39e26c85 (fixed)
Vendor states this is fixed in c431a3d642593bbdb99e8a9e3eed608b730db6f8 (fixed)
Vendor states this is fixed in 4.14.305 (unaffected)
Vendor states this is fixed in 4.19.272 (unaffected)
Vendor states this is fixed in 4.5 (unaffected)
Vendor states this is fixed in 5.10.166 (unaffected)
Vendor states this is fixed in 5.15.91 (unaffected)
Vendor states this is fixed in 5.4.231 (unaffected)
Vendor states this is fixed in 6.1.9 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-129

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card