CVE-2024-36481 — tracing/probes: fix error check in parse_btf_field()
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…
Published: 2024-06-21 · CVSS: Unscored
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7