CVE-2024-36481
JSON

5.5medium

tracing/probes: fix error check in parse_btf_field()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c440adfbe30257dde905adc1fce51131145f7245 before ad4b202da2c498fefb69e5d87f67b946e7fe1e6a, from c440adfbe30257dde905adc1fce51131145f7245 before 4ed468edfeb54c7202e559eba74c25fac6a0dad0, from c440adfbe30257dde905adc1fce51131145f7245 before e569eb34970281438e2b48a3ef11c87459fcfbcb, 6.6
Not affected: before 6.6, from 6.6.33 up to 6.6.*, from 6.9.4 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelbefore 6.6, from 6.6.1 before 6.6.33, from 6.9 before 6.9.4, 6.10.0NVD

Classification

CWE-754

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36481 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-36481 changed 2026-06-17Public domain