Bugzilla – Bug 1226870
VUL-0: CVE-2024-36481: kernel: tracing/probes: fix error check in parse_btf_field()
Last modified: 2024-07-01 13:37:25 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36481 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36481.mbox https://git.kernel.org/stable/c/ad4b202da2c498fefb69e5d87f67b946e7fe1e6a https://git.kernel.org/stable/c/4ed468edfeb54c7202e559eba74c25fac6a0dad0 https://git.kernel.org/stable/c/e569eb34970281438e2b48a3ef11c87459fcfbcb https://www.cve.org/CVERecord?id=CVE-2024-36481 https://bugzilla.redhat.com/show_bug.cgi?id=2293640
All done, closing.