{"id":"CVE-2023-53238","aliases":["CVE-2023-53238"],"related":[],"kind":"vulnerability","state":"published","title":"phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()\n\nThe size of array 'priv->ports[]' is INNO_PHY_PORT_NUM.\n\nIn the for loop, 'i' is used as the index for array 'priv->ports[]'\nwith a check (i > INNO_PHY_PORT_NUM) which indicates that\nINNO_PHY_PORT_NUM is allowed value for 'i' in the same loop.\n\nThis > comparison needs to be changed to >=, otherwise it potentially leads\nto an out of bounds write on the next iteration through the loop","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()\n\nThe size of array 'priv->ports[]' is INNO_PHY_PORT_NUM.\n\nIn the for loop, 'i' is used as the index for array 'priv->ports[]'\nwith a check (i > INNO_PHY_PORT_NUM) which indicates that\nINNO_PHY_PORT_NUM is allowed value for 'i' in the same loop.\n\nThis > comparison needs to be changed to >=, otherwise it potentially leads\nto an out of bounds write on the next iteration through the loop","source":"cvelist"}],"published":"2025-09-15T14:22:12.160Z","modified":"2026-06-17T06:44:35.840Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"2843a2e703f5cb85c9eeca11b7ee90861635a010","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"195e806b2afb0bad6470c9094f7e45e0cf109ee0","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"6d8a71e4c3a2fa4960cc50996e76a42b62fab677","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"01cb355bb92e8fcf8306e11a4774d610c5864e39","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"ce69eac840db0b559994dc4290fce3d7c0d7bccd","status":"affected"},{"type":"git","introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","fixed":"13c088cf3657d70893d75cf116be937f1509cc0f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"4.19.291","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.253","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.190","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.124","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.43","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.8","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.17","fixed":"4.19.291"},{"status":"affected","introduced":"4.20","fixed":"5.4.253"},{"status":"affected","introduced":"5.5","fixed":"5.10.190"},{"status":"affected","introduced":"5.11","fixed":"5.15.124"},{"status":"affected","introduced":"5.16","fixed":"6.1.43"},{"status":"affected","introduced":"6.2","fixed":"6.4.8"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T17:57:04.079Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53238","url":"https://www.cve.org/CVERecord?id=CVE-2023-53238","licence":"CVE Terms of Use","modified":"2026-05-11T19:40:54.830Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53238","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53238","licence":"Public domain","modified":"2026-06-17T06:44:35.840Z"}],"updatedAt":"2026-11-25T22:58:34.790Z","epss":{"score":0.0017,"percentile":0.06716,"date":"2026-12-01T12:00:22.000Z"}}