# CVE-2023-53238: phy: hisilicon: Fix an out of bounds check in hisi\_inno\_phy\_probe()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-15 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53238, DEBIAN-CVE-2023-53238
- Record: https://cvemate.com/vulnerability/CVE-2023-53238 · JSON: https://cvemate.com/vulnerability/CVE-2023-53238/json

## Description

```text
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
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.17%, percentile 6.659%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 123)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.11-1
- ubuntu linux (Ubuntu): \< 5.4.0-169.187 \| \< 5.15.0-88.98
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1116.126 \| \< 5.15.0-1049.54
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1049.54~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1116.126~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1116.126+fips1 \| All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1121.128 \| \< 5.15.0-1051.59
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1051.59~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010>
- <https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0>
- <https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8>
- <https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677>
- <https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39>
- <https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd>
- <https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f>
- <https://ubuntu.com/security/CVE-2023-53238>
- <https://www.cve.org/CVERecord?id=CVE-2023-53238>
- <https://git.kernel.org/linus/13c088cf3657d70893d75cf116be937f1509cc0f>
- <https://security-tracker.debian.org/tracker/CVE-2023-53238>

---

Data as of 2026-12-06T05:02:41.964Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
