Skip to main content

In the Linux kernel, the following vulnerability has been resolved: bpf: Disable preemption in __bpf_get_stack get_perf_callchain() returns a… (CVE-2026-89580)

0
High
Published: 09/11/2026 (09/11/2026, 21:31:32 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's BPF subsystem related to preemption handling in __bpf_get_stack was resolved. The issue involved a race condition where a preemptible BPF program could be scheduled out after obtaining a per-CPU perf_callchain_entry buffer but before copying it, allowing another task to overwrite the buffer and cause an out-of-bounds write. The fix disables preemption around the critical section to prevent reuse of the buffer and bounds trace->nr by max_depth.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 01:06:17 UTC

Technical Analysis

The Linux kernel vulnerability (CVE-2026-89580) concerns the BPF subsystem's __bpf_get_stack function. The get_perf_callchain() function returns a per-CPU perf_callchain_entry buffer and releases its recursion slot before returning, which allows a preemptible BPF program to be scheduled out between obtaining and copying the entry. This scheduling out permits another task on the same CPU to reuse and overwrite the buffer, inflating trace->nr and causing an out-of-bounds write during memcpy and build_id resolution. The existing rcu_read_lock() does not prevent this race under CONFIG_PREEMPT_RCU. The fix involves disabling preemption during the critical section to ensure the buffer is not reused and trace->nr remains bounded, deferring build ID resolution until after preemption is re-enabled.

Potential Impact

This vulnerability can lead to out-of-bounds memory writes in the kernel, which may cause memory corruption, system instability, or potential escalation of privileges if exploited. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented that disables preemption around obtaining and copying the callchain entry to prevent buffer reuse and out-of-bounds writes. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9w72-pq5v-mqv8
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89580"]

Threat ID: 6aa4a00f55bf5e2cf5a866a5

Added to database: 09/12/2026, 00:42:55 UTC

Last enriched: 09/12/2026, 01:06:17 UTC

Last updated: 09/12/2026, 01:06:17 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses