CVE-2024-47675
published high CVSS 3.1 · 7.8bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 790c630ab0e7d7aba6d186581d4627c09fce60f3 · 89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee · 89ae89f53d201143560f1e9ed4bfa62eee34f88e to < cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c · 89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 5fe6e308abaea082c20fbf2aa5df8e14495622cf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.54 through 6.6.* (unaffected · semver) · 6.10.13 through 6.10.* (unaffected · semver) · 6.11.2 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.4.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through the local `bpf(BPF_LINK_CREATE)` syscall with a `BPF_TRACE_UPROBE_MULTI` attach type, and the freed memory is subsequently dereferenced by executing a local file. There is no remote or adjacent-network path into `bpf_uprobe_multi_link_attach()`. AC:L - The failing condition is `bpf_link_prime()` returning `-EMFILE` from `get_unused_fd_flags()`, which the attacker forces deterministically by exhausting or lowering `RLIMIT_NOFILE` before the call — no race and no uncontrolled state. The attacker also chooses the freed allocation size via `cnt` and triggers the dangling consumer at will by exec'ing their own uprobe'd binary. PR:L - Loading the `BPF_PROG_TYPE_KPROBE` program requires `CAP_BPF`+`CAP_PERFMON`, which is a restricted tracing capability set rather than full administrative control, and it is routinely delegated to unprivileged contexts via BPF tokens (bpffs `delegate_cmds`/`delegate_progs`) or granted to non-root observability/container workloads. Such a caller has no other authority over the kernel, so this is low privilege, not high. UI:N - The attacker performs every step themselves — attach the multi-uprobe link, force the `bpf_link_prime()` failure, spray the freed slab, then execute their own traced binary to hit the breakpoint. No victim action is required. S:U - The use-after-free corrupts kernel heap memory and hijacks kernel control flow within the same kernel security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The freed `struct bpf_uprobe` array is reclaimed by attacker-sprayed data and then used as a `struct uprobe_consumer` with attacker-controlled `handler`/`next`/`link` pointers, yielding arbitrary kernel-memory read via the resulting indirect calls and `bpf_prog_run()` dereferences. That is full disclosure of kernel memory. I:H - The dangling `uc->handler(uc, regs)` call in `handler_chain()` and the `prog->bpf_func()` dispatch reached through the freed `uprobe->link` give control-flow hijack from an attacker-sized, attacker-timed heap object, which is a standard route to arbitrary kernel write and privilege escalation. A:H - Even without exploitation, walking the freed consumer list on the next breakpoint hit dereferences poisoned or reused slab memory, producing a KASAN slab-use-after-free and a kernel oops/panic — exactly what syzbot reported. It can be re-triggered at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 790c630ab0e7d7aba6d186581d4627c09fce60f3 (affected · git)89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 7c1d782e5afbf7c50ba74ecc4ddc18a05d63e5ee (affected · git)89ae89f53d201143560f1e9ed4bfa62eee34f88e to < cdf27834c3dd5d9abf7eb8e4ee87ee9e307eb25c (affected · git)89ae89f53d201143560f1e9ed4bfa62eee34f88e to < 5fe6e308abaea082c20fbf2aa5df8e14495622cf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.54 through 6.6.* (unaffected · semver)6.10.13 through 6.10.* (unaffected · semver)6.11.2 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 88159299acdc56d254c49c86f4dc08c746fad7f9aa353d788f15150f3af43b4b
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record