CVEvulnerability

CVE-2024-36481

5.5 MEDIUM Published 2024-06-21 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-06-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-754

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 configurations

• linux linux kernel (< 6.6) • linux linux kernel (>= 6.6.1 < 6.6.33) • linux linux kernel (>= 6.9 < 6.9.4) • linux linux kernel 6.10.0

Related

Weakness · CWE (1)

  • CWE-754 Improper Check for Unusual or Exceptional Conditions weakness

References