2084AI Security Observatory

CVE

CVE-2023-53238

CVE-2023-53238HIGH 7.1EPSS 6%

CNA 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 versions

All Linux kernel vulnerabilities →

  • 6.5-rc3This version only
  • 6.5-rc2This version only
  • 6.5-rc1This version only
  • ≥ 6.2, < 6.4.8Fixed in 6.4.8
  • ≥ 5.16, < 6.1.43Fixed in 6.1.43
  • ≥ 5.11, < 5.15.124Fixed in 5.15.124
  • ≥ 5.5, < 5.10.190Fixed in 5.10.190
  • ≥ 4.20, < 5.4.253Fixed in 5.4.253
  • ≥ 4.17, < 4.19.291Fixed in 4.19.291

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.