# CVE-2026-90210: bpf: Fix UAF in bpf_trampoline_multi_attach_free on update failure

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-09-17T16:07:24.772Z
- Modified: 2026-10-19T09:19:11.170Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from aef4dfa790b22d8052cfb78044eadbe03c876c39 before 65c3939656fd7848e9274faa07c26748b5bf049c; from aef4dfa790b22d8052cfb78044eadbe03c876c39 before 0253073fb7d79a2dd2eae9581ea16db2aef395a6; 7.2 (not affected: before 7.2; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/65c3939656fd7848e9274faa07c26748b5bf049c>
- <https://git.kernel.org/stable/c/0253073fb7d79a2dd2eae9581ea16db2aef395a6>

## Sources

- CVE List: [CVE-2026-90210](https://www.cve.org/CVERecord?id=CVE-2026-90210), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90210](https://nvd.nist.gov/vuln/detail/CVE-2026-90210), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90210 · Whole record: https://cve.day/CVE-2026-90210.json · Rebuilt by cve.day 2026-11-25T22:59:39.342Z
