CVE-2023-53238

published 15 Sep 2025 · updated 11 May 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 01cb355bb92e8fcf8306e11a4774d610c5864e39, Kernel 13c088cf3657d70893d75cf116be937f1509cc0f, Kernel 195e806b2afb0bad6470c9094f7e45e0cf109ee0 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.17, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <01cb355bb92e8fcf8306e11a4774d610c5864e39, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <13c088cf3657d70893d75cf116be937f1509cc0f, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <195e806b2afb0bad6470c9094f7e45e0cf109ee0, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <2843a2e703f5cb85c9eeca11b7ee90861635a010, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <6d8a71e4c3a2fa4960cc50996e76a42b62fab677, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8, >=ba8b0ee81fbbc249e60f84bf097bd56e8047c742 <ce69eac840db0b559994dc4290fce3d7c0d7bccd01cb355bb92e8fcf8306e11a4774d610c5864e39, 13c088cf3657d70893d75cf116be937f1509cc0f, 195e806b2afb0bad6470c9094f7e45e0cf109ee0, 2843a2e703f5cb85c9eeca11b7ee90861635a010, 6d8a71e4c3a2fa4960cc50996e76a42b62fab677, ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8, ce69eac840db0b559994dc4290fce3d7c0d7bccd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53238 severity on Zeptric[![CVE-2023-53238](https://zeptric.io/badge/cve/CVE-2023-53238.svg)](https://zeptric.io/cve/CVE-2023-53238)