همهٔ گزارش‌ها
متوسط

kernel: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-47675

احتمال بهره‌برداری در ۳۰ روز آینده: 0.24%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach() If bpf_link_prime() fails, bpf_uprobe_multi_link_attach() goes to the error_free label and frees the array of bpf_uprobe's without calling bpf_uprobe_unregister(). This leaks bpf_uprobe->uprobe and worse, this frees bpf_uprobe->consumer without removing it from the uprobe->consumers list.

A flaw was found in the Linux kernel's extended Berkeley Packet Filter (eBPF) subsystem. A privileged local attacker, with CAP_SYS_ADMIN capabilities or root access, could exploit a use-after-free vulnerability in the bpf_uprobe_multi_link_attach() function. This issue arises when bpf_link_prime() fails, leading to improper memory handling. Successful exploitation could result in memory corruption, potentially allowing for a denial of service or privilege escalation.