Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix UAF in bpf_trampoline_multi_attach_free on update failure

When bpf_trampoline_update() fails before modify_fentry_multi()/
unregister_fentry_multi() is called, cur_image is unchanged
(cur_image == old_image) and ftrace still calls into it. Freeing
old_image in that case causes a UAF.

Only free old_image when it differs from cur_image.
Published: 2026-09-17
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free allowing arbitrary code execution or privilege escalation
Action: Apply Patch
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s BPF subsystem, specifically in the bpf_trampoline_update path. When an update fails before unregistering an old trampoline image, the ftrace engine continues to reference the freed image, leading to a use‑after‑free. An attacker who can influence the BPF update can potentially execute code using the dereferenced memory, resulting in arbitrary code execution or privilege escalation.

Affected Systems

All Linux kernel implementations that include the bpf_trampoline_multi_attach_free path are potentially vulnerable. No specific kernel versions are listed, so you should verify whether your running kernel contains the unpatched implementation.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score is below 1%, indicating a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Attackers would need the ability to load or modify BPF programs, typically requiring normal user privileges but may be constrained by system policies. Based on the description, the likely attack vector involves submitting a BPF program that triggers the bpf_trampoline_update failure, leading to the use‑after‑free. The flaw can be mitigated by applying the kernel patch that ensures the old image is freed only when it differs from the current image.

Generated by OpenCVE AI on September 20, 2026 at 03:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that addresses the bpf_trampoline_multi_attach_free use‑after‑free flaw
  • If patching is not immediately possible, limit the ability of processes to load or modify BPF programs by disabling CONFIG_BPF or removing the cap_bpf capability from untrusted processes
  • Monitor kernel logs and system stability for signs of BPF failures or crashes to confirm the presence of the vulnerability

Generated by OpenCVE AI on September 20, 2026 at 03:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 20 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 19 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF in bpf_trampoline_multi_attach_free on update failure When bpf_trampoline_update() fails before modify_fentry_multi()/ unregister_fentry_multi() is called, cur_image is unchanged (cur_image == old_image) and ftrace still calls into it. Freeing old_image in that case causes a UAF. Only free old_image when it differs from cur_image.
Title bpf: Fix UAF in bpf_trampoline_multi_attach_free on update failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-18T17:53:47.303Z

Reserved: 2026-09-11T19:38:34.793Z

Link: CVE-2026-90210

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:17:16.217

Modified: 2026-09-18T18:17:46.723

Link: CVE-2026-90210

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T03:45:12Z

Weaknesses