CVE-2024-47675: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix use-after-free in bpfuprobemultilinkattach()
If bpflinkprime() fails, bpfuprobemultilinkattach() goes to the errorfree label and frees the array of bpfuprobe's without calling bpfuprobeunregister().
This leaks bpfuprobe->uprobe and worse, this frees bpfuprobe->consumer without removing it from the uprobe->consumers list.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47675?
CVE-2024-47675 has a severity rating that indicates a potential risk for a use-after-free vulnerability in the Linux kernel.
How do I fix CVE-2024-47675?
To fix CVE-2024-47675, upgrade the Linux kernel to a version that patches the vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-47675?
CVE-2024-47675 affects Linux kernel versions from 6.6 to 6.6.54, 6.7 to 6.10.13, and 6.11 to 6.11.2.
What is a use-after-free vulnerability in the context of CVE-2024-47675?
In the context of CVE-2024-47675, a use-after-free vulnerability allows a program to access memory that has already been freed, potentially leading to security issues.
Is CVE-2024-47675 easily exploitable?
Exploitation of CVE-2024-47675 may require specific conditions, so its ease of exploitation depends on the environment and usage of the affected kernel functions.