CVE-2024-36481

In the Linux kernel, the following vulnerability has been resolved: tracing/probes: fix error check in parse_btf_field() btf_find_struct_member() might return NULL or an error via the ERR_PTR() macro. However, its caller in parse_btf_field() only checks for the NULL condition. Fix this by using IS_ERR() and returning the error up the stack.
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:6.10.0:rc1:*:*:*:*:*:*

History

24 Jun 2024, 18:35

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10.0:rc1:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo/sondas: corrección de verificación de errores en parse_btf_field() btf_find_struct_member() puede devolver NULL o un error a través de la macro ERR_PTR(). Sin embargo, su llamador en parse_btf_field() solo verifica la condición NULL. Solucione este problema usando IS_ERR() y devolviendo el error en la pila.
CWE CWE-754
References () https://git.kernel.org/stable/c/4ed468edfeb54c7202e559eba74c25fac6a0dad0 - () https://git.kernel.org/stable/c/4ed468edfeb54c7202e559eba74c25fac6a0dad0 - Mailing List, Patch
References () https://git.kernel.org/stable/c/ad4b202da2c498fefb69e5d87f67b946e7fe1e6a - () https://git.kernel.org/stable/c/ad4b202da2c498fefb69e5d87f67b946e7fe1e6a - Mailing List, Patch
References () https://git.kernel.org/stable/c/e569eb34970281438e2b48a3ef11c87459fcfbcb - () https://git.kernel.org/stable/c/e569eb34970281438e2b48a3ef11c87459fcfbcb - Mailing List, Patch

21 Jun 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-21 12:15

Updated : 2024-06-24 18:35


NVD link : CVE-2024-36481

Mitre link : CVE-2024-36481

CVE.ORG link : CVE-2024-36481


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-754

Improper Check for Unusual or Exceptional Conditions