What’s Vulnerable › Vulnerabilities

CVE-2024-36481: tracing/probes: fix error check in parse_btf_field()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.6, 6.6.33, 6.9.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36481 or the next vulnerability affects your stack