CVE-2023-53238

phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()

HIGH
7.1
CVSS Score
Published: September 15, 2025 at 02:22 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.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() The size of array 'priv->ports[]' is INNO_PHY_PORT_NUM. In the for loop, 'i' is used as the index for array 'priv->ports[]' with a check (i > INNO_PHY_PORT_NUM) which indicates that INNO_PHY_PORT_NUM is allowed value for 'i' in the same loop. This > comparison needs to be changed to >=, otherwise it potentially leads to an out of bounds write on the next iteration through the loop

Affected

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

4.17 ≤ v < 4.19.2914.17 ≤ v < 5.10.1904.17 ≤ v < 5.15.1244.17 ≤ v < 5.4.2534.17 ≤ v < 6.1.434.17 ≤ v < 6.4.84.17 ≤ v < 6.54.20 ≤ v < 5.4.2535.11 ≤ v < 5.15.1245.16 ≤ v < 6.1.435.5 ≤ v < 5.10.1906.2 ≤ v < 6.4.84.176.5 rc16.5 rc26.5 rc3ba8b0ee81fbbc249e60f84bf097bd56e8047c742
Vendor states this is fixed in 01cb355bb92e8fcf8306e11a4774d610c5864e39 (fixed)
Vendor states this is fixed in 13c088cf3657d70893d75cf116be937f1509cc0f (fixed)
Vendor states this is fixed in 195e806b2afb0bad6470c9094f7e45e0cf109ee0 (fixed)
Vendor states this is fixed in 2843a2e703f5cb85c9eeca11b7ee90861635a010 (fixed)
Vendor states this is fixed in 6d8a71e4c3a2fa4960cc50996e76a42b62fab677 (fixed)
Vendor states this is fixed in ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8 (fixed)
Vendor states this is fixed in ce69eac840db0b559994dc4290fce3d7c0d7bccd (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 4.19.291 (unaffected)
Vendor states this is fixed in 5.10.190 (unaffected)
Vendor states this is fixed in 5.15.124 (unaffected)
Vendor states this is fixed in 5.4.253 (unaffected)
Vendor states this is fixed in 6.1.43 (unaffected)
Vendor states this is fixed in 6.4.8 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-125

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