Bug 2395418 (CVE-2023-53238) - CVE-2023-53238 kernel: phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
Summary: CVE-2023-53238 kernel: phy: hisilicon: Fix an out of bounds check in hisi_inn...
Keywords:
Status: NEW
Alias: CVE-2023-53238
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:12 UTC by OSIDB Bzimport
Modified: 2025-11-26 09:14 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:12:45 UTC
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


Note You need to log in before you can comment on or make changes to this bug.