CVE-2023-53238
phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.17
References 7
git.kernel.org
- stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010
- stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0
- stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8
- stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677
- stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39
- stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd
- stable/c/13c088cf3657d70893d75cf116be937f1509cc0f