PT-2024-7580 · Linux+5 · Linux Kernel+5

Published

2024-09-05

·

Updated

2025-09-29

·

CVE-2024-47675

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.58
Description The issue is related to a use-after-free vulnerability in the bpf uprobe multi link attach() function. If bpf link prime() fails, bpf uprobe multi link attach() frees the array of bpf uprobes without calling bpf uprobe unregister(), leading to a leak of bpf uprobe->uprobe and freeing bpf uprobe->consumer without removing it from the uprobe->consumers list. This vulnerability may allow an attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider disabling the bpf uprobe multi link attach() function until a patch is available. Restrict access to the vulnerable bpf trace.c module to minimize the risk of exploitation. Avoid using the bpf uprobe parameter in the affected API endpoints until the issue is resolved.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:11486
ALSA-2024_11486
ALSA-2025_16880
AZL-51008
BDU:2024-08986
CVE-2024-47675
INFSA-2024_11486
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2296
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3986-1
OPENSUSE-SU-2025:14705-1
RHSA-2024:10942
RHSA-2024:11486
RHSA-2024_11486
SUSE-SU-2024:3984-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1

Affected Products

Almalinux
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu