{"id":"CVE-2023-53238","summary":"phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()","details":"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-\u003eports[]' is INNO_PHY_PORT_NUM.\n\nIn the for loop, 'i' is used as the index for array 'priv-\u003eports[]'\nwith a check (i \u003e INNO_PHY_PORT_NUM) which indicates that\nINNO_PHY_PORT_NUM is allowed value for 'i' in the same loop.\n\nThis \u003e comparison needs to be changed to \u003e=, otherwise it potentially leads\nto an out of bounds write on the next iteration through the loop","modified":"2026-04-02T09:43:51.258196Z","published":"2025-09-15T14:22:12.160Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53238.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01cb355bb92e8fcf8306e11a4774d610c5864e39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13c088cf3657d70893d75cf116be937f1509cc0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/195e806b2afb0bad6470c9094f7e45e0cf109ee0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2843a2e703f5cb85c9eeca11b7ee90861635a010"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d8a71e4c3a2fa4960cc50996e76a42b62fab677"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce69eac840db0b559994dc4290fce3d7c0d7bccd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53238.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53238"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ba8b0ee81fbbc249e60f84bf097bd56e8047c742"},{"fixed":"2843a2e703f5cb85c9eeca11b7ee90861635a010"},{"fixed":"195e806b2afb0bad6470c9094f7e45e0cf109ee0"},{"fixed":"ad249aa3c38f329f91fba8b4b3cd087e79fb0ce8"},{"fixed":"6d8a71e4c3a2fa4960cc50996e76a42b62fab677"},{"fixed":"01cb355bb92e8fcf8306e11a4774d610c5864e39"},{"fixed":"ce69eac840db0b559994dc4290fce3d7c0d7bccd"},{"fixed":"13c088cf3657d70893d75cf116be937f1509cc0f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53238.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}