CVE-2024-36481

tracing/probes: fix error check in parse_btf_field()

State
Published
Severity
Not scored
Published
Jun 21, 2024
Updated
May 11, 2026
Reserved
Jun 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c440adfbe30257dde905adc1fce51131145f7245 to before ad4b202da2c498fefb69e5d87f67b946e7fe1e6aAffected
  • c440adfbe30257dde905adc1fce51131145f7245 to before 4ed468edfeb54c7202e559eba74c25fac6a0dad0Affected
  • c440adfbe30257dde905adc1fce51131145f7245 to before e569eb34970281438e2b48a3ef11c87459fcfbcbAffected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.9.4 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.