Skip to main content

Linux Kernel EUVDEUVD-2026-138919

| CVE-2026-139214 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-mm9r-fr8x-j39r
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege shell
  2. Delivery
    Spawn concurrent attach/detach perf threads
  3. Exploit
    Win cmpxchg race window
  4. Execution
    Trigger UAF on freed perf_ctx_data
  5. Persist
    Corrupt kernel memory via stale refcount
  6. Impact
    Escalate to kernel privileges

Vulnerability Assessment

Exploitation Conditions

Requires local code execution as an unprivileged or low-privileged user on a kernel built with perf events support (CONFIG_PERF_EVENTS), with the ability to invoke the perf path that calls attach_task_ctx_data()/detach_task_ctx_data() concurrently against a shared task's perf_ctx_data. Exploitation is fundamentally a timing race: the attacker must win the cmpxchg retry window where attach reloads a pointer that a concurrent detach is freeing under RCU, so success depends on hitting a narrow concurrency window (SMP/multi-core strongly favors the attacker). Limiting factors: no remote vector (AV:L), low privileges still required (PR:L), the race is probabilistic rather than deterministic, and systems that restrict perf access via perf_event_paranoid or lack CONFIG_PERF_EVENTS reduce or remove exposure.

Impact

Signals are consistent and point to a genuine but not emergency-grade local privilege-escalation risk. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8) correctly reflects a local, low-privilege flaw with high impact to confidentiality, integrity and availability - characteristic of a kernel use-after-free that can lead to memory corruption and potential root escalation. However, the description makes clear this is a concurrency race (concurrent attach_task_ctx_data()/detach_task_ctx_data() on task->perf_ctx_data), so the AC:L in the supplied vector likely understates real difficulty; winning the cmpxchg race window reliably is non-trivial, which argues for AC:H. EPSS is low at 0.18% (8th percentile) and there is no CISA KEV listing and no public exploit identified, so there is no evidence of active or imminent exploitation. The vuln.today decision label is 'this_week', consistent with a patch-available, high-impact local kernel bug that should be scheduled promptly but is not an act-now emergency. No key signals conflict; the main caveat is that the 'Buffer Overflow' tag mischaracterizes the mechanism (this is a UAF, not an overflow), and the EUVD affected-version strings contain implausible kernel numbers (7.3.6, 7.4-rc1) that cannot be reconciled with real Linux versioning.

Exploit ScenarioDerived

A local, low-privileged user on a multi-core system repeatedly attaches and detaches perf context data to a shared task from multiple threads, racing the cmpxchg retry loop so that detach_task_ctx_data() frees a perf_ctx_data object (cd1) while attach_task_ctx_data() still holds and dereferences the stale pointer. Hitting the window triggers a use-after-free and subsequent refcount_inc on freed memory, which can be shaped into kernel memory corruption and potential privilege escalation. No public exploit identified at time of analysis, and the narrow race window makes reliable exploitation difficult.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Local privilege escalation in the Linux kernel perf subsystem allows a low-privileged user to race attach_task_ctx_data() against detach_task_ctx_data() and trigger a use-after-free on the RCU-protected task->perf_ctx_data pointer, potentially causing memory corruption and code execution with kernel privileges. The flaw requires local access on a kernel built with CONFIG_PERF_EVENTS, and exploitation depends on winning a narrow concurrency window (assessed AC:H); systems that restrict perf access via perf_event_paranoid or omit perf events support reduce exposure. No public exploit has been identified at time of analysis, EPSS is low at 0.18% (8th percentile), and vendor patches are available in Linux 6.18.65, 7.3.6, and 7.4-rc1.

RemediationAI

Apply the vendor-released kernel fixes by upgrading to Linux 6.18.65, 7.3.6, or 7.4-rc1, which contain stable commits 64ea0e8226ed98d14e0231af1beae10c3d5c043a, b455bcb13502696e588c7a0e60a196851fb87474, and 5d1869d012b475e9165c201a5cc71ad1ac92115a; updating is the complete fix for the race. Treat this as a this-week remediation priority per the supplied decision label. If an immediate kernel update is not possible, reduce exposure by setting kernel.perf_event_paranoid to 3 so unprivileged users cannot open perf events, or by building the kernel without CONFIG_PERF_EVENTS; the trade-off is that the first option removes unprivileged performance profiling while the second removes perf events support entirely. Reference advisories and fixes are available at https://git.kernel.org/stable/c/64ea0e8226ed98d14e0231af1beae10c3d5c043a, https://git.kernel.org/stable/c/b455bcb13502696e588c7a0e60a196851fb87474, https://git.kernel.org/stable/c/5d1869d012b475e9165c201a5cc71ad1ac92115a, and https://nvd.nist.gov/vuln/detail/CVE-2026-139214.

Affected VersionsENISA

Linux patch: 0
Linux 506e64e710ff9573fd2b86686528762b7901b5e4 <64ea0e8226ed98d14e0231af1beae10c3d5c043a
Linux patch: 6.18.65
Linux 506e64e710ff9573fd2b86686528762b7901b5e4 <b455bcb13502696e588c7a0e60a196851fb87474
Linux 6.15
Linux patch: 7.3.6
Linux 506e64e710ff9573fd2b86686528762b7901b5e4 <5d1869d012b475e9165c201a5cc71ad1ac92115a
Linux patch: 7.4-rc1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux perf subsystem keeps per-task context data in task->perf_ctx_data, an RCU-protected pointer managed with reference counting. detach_task_ctx_data() drops the reference and frees the object through perf_free_ctx_data_rcu() after an RCU grace period. In attach_task_ctx_data(), the try_cmpxchg retry loop runs without holding rcu_read_lock(); when the compare-exchange fails because another thread already installed cd1, the loop reloads old = cd1. A concurrent detach can then drop the last reference, free cd1 after the RCU grace period, and the subsequent refcount_inc_not_zero(&old->refcount) dereferences freed memory, causing a use-after-free and possible memory corruption if the object is reclaimed. The supplied fix takes rcu_read_lock across the race window. The trigger is a concurrency race between perf attach and detach paths operating on a shared task's perf_ctx_data; no CWE identifier is assigned in the available data, and no CPE strings were provided.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local low-priv access (AV:L/PR:L); AC:H because triggering requires winning a narrow concurrent attach/detach race window; UAF yields full kernel C/I/A impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Nov 30, 2026 - 15:04 EUVD
CVE Published
Nov 30, 2026 - 14:18 cve.org
HIGH 7.8
CVE Published
Nov 30, 2026 - 14:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

perf: Fix UAF in attach_task_ctx_data()

struct perf_ctx_data is RCU protected. In attach_task_ctx_data(), the cmpxchg retry loop runs without holding rcu_read_lock(). If task->perf_ctx_data already holds a pointer (call it cd1), then try_cmpxchg(&task->perf_ctx_data, &old, cd) fails and loads old = cd1. A concurrent thread running detach_task_ctx_data() could free cd1 leading to UAF and further memory corruption when cd1 is reclaimed by another thread.

CPU 0: attach_task_ctx_data() CPU 1: detach_task_ctx_data() ----------------------------- ----------------------------- try_cmpxchg(&task->perf_ctx_data, &old, cd2) -> fails; loads old = cd1

refcount_dec_and_test(&cd1->refcount) try_cmpxchg(&task->perf_ctx_data, &cd1, NULL) perf_free_ctx_data_rcu(cd1) [ RCU grace period -> kfree(cd1) ]

refcount_inc_not_zero(&old->refcount) -> UAF on freed cd1

Fix this by taking rcu_read_lock across the race window.

Executive ViewAI

Why It Matters

CVE-2026-139214 is a high-severity local privilege escalation vulnerability in the Linux kernel's perf subsystem that allows an authenticated low-privileged user to gain kernel-level code execution. This poses a significant risk to multi-user and containerized environments where Linux hosts are shared, as a compromised or malicious user account could lead to full system compromise. Leadership should prioritize patching due to the potential for lateral movement and data breach.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
Linux kernel runs across a huge fraction of production environments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy