CVEvulnerability

CVE-2023-53238

7.1 HIGH Published 2025-09-15 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-09-15
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

Description

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 configurations

• linux linux kernel (>= 4.17 < 4.19.291) • linux linux kernel (>= 4.20 < 5.4.253) • linux linux kernel (>= 5.5 < 5.10.190) • linux linux kernel (>= 5.11 < 5.15.124) • linux linux kernel (>= 5.16 < 6.1.43) • linux linux kernel (>= 6.2 < 6.4.8) • linux linux kernel 6.5

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References