{"id":"CVE-2024-27047","summary":"net: phy: fix phy_get_internal_delay accessing an empty array","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: fix phy_get_internal_delay accessing an empty array\n\nThe phy_get_internal_delay function could try to access to an empty\narray in the case that the driver is calling phy_get_internal_delay\nwithout defining delay_values and rx-internal-delay-ps or\ntx-internal-delay-ps is defined to 0 in the device-tree.\nThis will lead to \"unable to handle kernel NULL pointer dereference at\nvirtual address 0\". To avoid this kernel oops, the test should be delay\n\u003e= 0. As there is already delay \u003c 0 test just before, the test could\nonly be size == 0.","modified":"2026-03-20T12:35:22.726137Z","published":"2024-05-01T12:54:25.156Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27047.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0307cf443308ecc6be9b2ca312bb31bae5e5a7ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/06dd21045a7e8bc8701b0ebedcd9a30a6325878b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0e939a002c8a7d66e60bd0ea6b281fb39d713c1a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a2ff709511617de9c6c072eeee82bcbbdfecaf8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4469c0c5b14a0919f5965c7ceac96b523eb57b79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/589ec16174dd9378953b8232ae76fad0a96e1563"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0691de7df1d51482a52cac93b7fe82fd9dd296b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27047.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27047"},{"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":"92252eec913b2dd5e7b5de11ea3efa2e64d65cf4"},{"fixed":"06dd21045a7e8bc8701b0ebedcd9a30a6325878b"},{"fixed":"0e939a002c8a7d66e60bd0ea6b281fb39d713c1a"},{"fixed":"2a2ff709511617de9c6c072eeee82bcbbdfecaf8"},{"fixed":"589ec16174dd9378953b8232ae76fad0a96e1563"},{"fixed":"c0691de7df1d51482a52cac93b7fe82fd9dd296b"},{"fixed":"0307cf443308ecc6be9b2ca312bb31bae5e5a7ad"},{"fixed":"4469c0c5b14a0919f5965c7ceac96b523eb57b79"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27047.json"}}],"schema_version":"1.7.5"}