CVE-2023-53238

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

High · published September 15, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Published
2025-09-15T14:22Z
EPSS history
Timeline
  • 15 SEP 14:22Z
    phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    cvelistv5