{"id":"CVE-2023-53238","state":"PUBLISHED","title":"phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()","description":"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","publishedAt":"2025-09-15T14:22:12.160Z","updatedAt":"2026-05-11T19:40:54.830Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"2843a2e703f5cb85c9eeca11b7ee90861635a010","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"195e806b2afb0bad6470c9094f7e45e0cf109ee0","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"6d8a71e4c3a2fa4960cc50996e76a42b62fab677","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"01cb355bb92e8fcf8306e11a4774d610c5864e39","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"ce69eac840db0b559994dc4290fce3d7c0d7bccd","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"13c088cf3657d70893d75cf116be937f1509cc0f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/hisilicon/phy-hisi-inno-usb2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"4.19.291","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.253","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.190","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.124","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.43","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.8","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/hisilicon/phy-hisi-inno-usb2.c"]}],"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"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53238.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53238","state":"PUBLISHED","datePublished":"2025-09-15T14:22:12.160Z","dateUpdated":"2026-05-11T19:40:54.830Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-15T14:19:21.847Z"},"containers":{"cna":{"title":"phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"2843a2e703f5cb85c9eeca11b7ee90861635a010","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"195e806b2afb0bad6470c9094f7e45e0cf109ee0","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"6d8a71e4c3a2fa4960cc50996e76a42b62fab677","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"01cb355bb92e8fcf8306e11a4774d610c5864e39","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"ce69eac840db0b559994dc4290fce3d7c0d7bccd","versionType":"git"},{"version":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742","status":"affected","lessThan":"13c088cf3657d70893d75cf116be937f1509cc0f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/hisilicon/phy-hisi-inno-usb2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"4.19.291","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.253","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.190","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.124","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.43","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.8","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/hisilicon/phy-hisi-inno-usb2.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010"},{"url":"https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0"},{"url":"https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8"},{"url":"https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677"},{"url":"https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39"},{"url":"https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd"},{"url":"https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:40:54.830Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"4.19.291"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.4.253"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.10.190"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.15.124"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.1.43"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.4.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2023-53238","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-01-14T17:57:04.079363Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-14T18:02:50.243Z"}}]}}}