CVE-2024-47675

published 21 Oct 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5fe6e308abaea082c20fbf2aa5df8e14495622cf, Kernel 790c630ab0e7d7aba6d186581d4627c09fce60f3, Kernel 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=89ae89f53d201143560f1e9ed4bfa62eee34f88e <5fe6e308abaea082c20fbf2aa5df8e14495622cf, >=89ae89f53d201143560f1e9ed4bfa62eee34f88e <790c630ab0e7d7aba6d186581d4627c09fce60f3, >=89ae89f53d201143560f1e9ed4bfa62eee34f88e <7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee, >=89ae89f53d201143560f1e9ed4bfa62eee34f88e <cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c5fe6e308abaea082c20fbf2aa5df8e14495622cf, 790c630ab0e7d7aba6d186581d4627c09fce60f3, 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee, cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-47675 severity on Zeptric[![CVE-2024-47675](https://zeptric.io/badge/cve/CVE-2024-47675.svg)](https://zeptric.io/cve/CVE-2024-47675)