Bug 1226870 (CVE-2024-36481) - VUL-0: CVE-2024-36481: kernel: tracing/probes: fix error check in parse_btf_field()
Summary: VUL-0: CVE-2024-36481: kernel: tracing/probes: fix error check in parse_btf_f...
Status: RESOLVED FIXED
Alias: CVE-2024-36481
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411782/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36481:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-24 10:32 UTC by SMASH SMASH
Modified: 2024-07-01 13:37 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-24 10:32:01 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
Comment 2 Andrea Mattiazzo 2024-07-01 13:37:25 UTC
All done, closing.