CVE-2026-90210
bpf: Fix UAF in bpf_trampoline_multi_attach_free on update failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From aef4dfa790b22d8052cfb78044eadbe03c876c39 · fixed in 65c3939656fd7848e9274faa07c26748b5bf049c; From aef4dfa790b22d8052cfb78044eadbe03c876c39 · fixed in 0253073fb7d79a2dd2eae9581ea16db2aef395a6
- Linux Linux
7.2
- KernelLinux
From 7.2.0 · fixed in 7.2.6