CVE-2024-36481 tracing/probes: fix error check in parse_btf_field()
A missing error check in the Linux kernel tracing subsystem can lead to a null pointer dereference, causing a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-36481?
CVE-2024-36481 is a medium-severity vulnerability in Linux kernel, published on 21 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-754
Which versions are affected by CVE-2024-36481?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-36481?
Apply the vendor's patch.
Is CVE-2024-36481 being exploited?
There is no known exploitation of CVE-2024-36481 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-42834, AZL-42854, BELL-CVE-2024-36481, DEBIAN-CVE-2024-36481, GHSA-c2wq-m25g-5c8w, UBUNTU-CVE-2024-36481.