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: 2026-06-29 20:14 UTC (History)
2 users (show)

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

Comment 1 Jon Moroney 2025-09-15 17:08:03 UTC Comment hidden (spam)

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