CVE-2024-27047

In the Linux kernel, the following vulnerability has been resolved: net: phy: fix phy_get_internal_delay accessing an empty array The phy_get_internal_delay function could try to access to an empty array in the case that the driver is calling phy_get_internal_delay without defining delay_values and rx-internal-delay-ps or tx-internal-delay-ps is defined to 0 in the device-tree. This will lead to "unable to handle kernel NULL pointer dereference at virtual address 0". To avoid this kernel oops, the test should be delay >= 0. As there is already delay < 0 test just before, the test could only be size == 0.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Dec 2024, 19:14

Type Values Removed Values Added
CWE CWE-476
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/0307cf443308ecc6be9b2ca312bb31bae5e5a7ad - () https://git.kernel.org/stable/c/0307cf443308ecc6be9b2ca312bb31bae5e5a7ad - Patch
References () https://git.kernel.org/stable/c/06dd21045a7e8bc8701b0ebedcd9a30a6325878b - () https://git.kernel.org/stable/c/06dd21045a7e8bc8701b0ebedcd9a30a6325878b - Patch
References () https://git.kernel.org/stable/c/0e939a002c8a7d66e60bd0ea6b281fb39d713c1a - () https://git.kernel.org/stable/c/0e939a002c8a7d66e60bd0ea6b281fb39d713c1a - Patch
References () https://git.kernel.org/stable/c/2a2ff709511617de9c6c072eeee82bcbbdfecaf8 - () https://git.kernel.org/stable/c/2a2ff709511617de9c6c072eeee82bcbbdfecaf8 - Patch
References () https://git.kernel.org/stable/c/4469c0c5b14a0919f5965c7ceac96b523eb57b79 - () https://git.kernel.org/stable/c/4469c0c5b14a0919f5965c7ceac96b523eb57b79 - Patch
References () https://git.kernel.org/stable/c/589ec16174dd9378953b8232ae76fad0a96e1563 - () https://git.kernel.org/stable/c/589ec16174dd9378953b8232ae76fad0a96e1563 - Patch
References () https://git.kernel.org/stable/c/c0691de7df1d51482a52cac93b7fe82fd9dd296b - () https://git.kernel.org/stable/c/c0691de7df1d51482a52cac93b7fe82fd9dd296b - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Patch

21 Nov 2024, 09:03

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
References () https://git.kernel.org/stable/c/0307cf443308ecc6be9b2ca312bb31bae5e5a7ad - () https://git.kernel.org/stable/c/0307cf443308ecc6be9b2ca312bb31bae5e5a7ad -
References () https://git.kernel.org/stable/c/06dd21045a7e8bc8701b0ebedcd9a30a6325878b - () https://git.kernel.org/stable/c/06dd21045a7e8bc8701b0ebedcd9a30a6325878b -
References () https://git.kernel.org/stable/c/0e939a002c8a7d66e60bd0ea6b281fb39d713c1a - () https://git.kernel.org/stable/c/0e939a002c8a7d66e60bd0ea6b281fb39d713c1a -
References () https://git.kernel.org/stable/c/2a2ff709511617de9c6c072eeee82bcbbdfecaf8 - () https://git.kernel.org/stable/c/2a2ff709511617de9c6c072eeee82bcbbdfecaf8 -
References () https://git.kernel.org/stable/c/4469c0c5b14a0919f5965c7ceac96b523eb57b79 - () https://git.kernel.org/stable/c/4469c0c5b14a0919f5965c7ceac96b523eb57b79 -
References () https://git.kernel.org/stable/c/589ec16174dd9378953b8232ae76fad0a96e1563 - () https://git.kernel.org/stable/c/589ec16174dd9378953b8232ae76fad0a96e1563 -
References () https://git.kernel.org/stable/c/c0691de7df1d51482a52cac93b7fe82fd9dd296b - () https://git.kernel.org/stable/c/c0691de7df1d51482a52cac93b7fe82fd9dd296b -

05 Nov 2024, 10:16

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

25 Jun 2024, 22:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: net:phy: fix phy_get_internal_delay accediendo a un array vacío La función phy_get_internal_delay podría intentar acceder a un array vacío en el caso de que el driver esté llamando a phy_get_internal_delay sin definir delay_values y rx-internal- delay-ps o tx-internal-delay-ps se define en 0 en el árbol de dispositivos. Esto provocará que "no se pueda manejar la desreferencia del puntero NULL del kernel en la dirección virtual 0". Para evitar este problema del kernel, la prueba debe tener un retraso &gt;= 0. Como ya hay un retraso &lt; 0 en la prueba justo antes, la prueba solo podría tener un tamaño == 0.
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

01 May 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-01 13:15

Updated : 2024-12-23 19:14


NVD link : CVE-2024-27047

Mitre link : CVE-2024-27047

CVE.ORG link : CVE-2024-27047


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference