CVE-2026-89580
Last modified
CVE-2026-89580 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpf: Disable preemption in __bpf_get_stack get_perf_callchain() returns a per-CPU perf_callchain_entry buffer and releases its recursion slot via put_callchain_entry() before returning, so nothing keeps the entry reserved while __bpf_get_stack() consumes it below. A preemptible BPF program (e.g. a non-sleepable raw tracepoint program on a PREEMPT kernel, which runs under migrate_disable() but not preempt_disable()) can be scheduled out between obtaining the entry and the copy. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Disable preemption in __bpf_get_stack get_perf_callchain() returns a per-CPU perf_callchain_entry buffer and releases its recursion slot via put_callchain_entry() before returning, so nothing keeps the entry reserved while __bpf_get_stack() consumes it below. A preemptible BPF program (e.g. a non-sleepable raw tracepoint program on a PREEMPT kernel, which runs under migrate_disable() but not preempt_disable()) can be scheduled out between obtaining the entry and the copy. Another task scheduled on the same CPU then reuses the same per-CPU buffer and overwrites trace->nr with a larger value. copy_len is then computed from the inflated trace->nr and can exceed the caller's buffer, causing an out-of-bounds write in the memcpy() and in the build_id path. The rcu_read_lock() taken here alone does not prevent this. It is only taken on the may_fault path, and under CONFIG_PREEMPT_RCU it does not disable preemption; it merely keeps perf's callchain buffer array alive (freed via call_rcu()) and does nothing to stop another task from reusing the entry. Disable preemption around obtaining the callchain entry and copying it into the caller's buffer, so the entry cannot be reused underneath us and trace->nr stays bounded by max_depth. Build ID resolution may fault and is therefore deferred until after preemption is re-enabled; by then the instruction pointers have already been copied into buf, so it operates only on that private copy. Note, preempt_disable() also subsumes the buffer-lifetime guarantee the rcu_read_lock() provided, since a preempt-disabled section is an RCU read-side critical section for the callchain buffers' call_rcu() reclaim. [ changed Fixes: commit ]
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c195651e565ae7f41a68acb7d4aa7390ad215de1, < 8c5ba022f2085ea42d011497a6e92e527d123b9b; >= c195651e565ae7f41a68acb7d4aa7390ad215de1, < dbfecc8a6631c0d3626c14ba1f1a485a4498445a; >= c195651e565ae7f41a68acb7d4aa7390ad215de1, < 9a23747909fcae707990c8466c381a0e7acfaa4e; >= c195651e565ae7f41a68acb7d4aa7390ad215de1, < b1a47b2708d4e95dbd23aee2ec83752190897b3f |
| Linux | Linux | 4.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89580?
How severe is CVE-2026-89580?
How do I fix CVE-2026-89580?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89575In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89576In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89577In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89578In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89579In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-8958Information disclosure, sandbox escape in the Security: Proc…8.6
- CVE-2026-89581In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89582In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89583In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-89584In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89585In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89586In the Linux kernel, the following vulnerability has been re…8.2
Are you affected by CVE-2026-89580?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
