Skip to main content
VulnerabilityPublished

CVE-2026-139214: Linux kernel · perf: Fix UAF in attach_task_ctx_data()

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139214

Not known to be exploited · fixed in b455bcb13502696e588c7a0e60a196851fb87474 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in b455bcb13502696e588c7a0e60a196851fb87474, 64ea0e8226ed98d14e0231af1beae10c3d5c043a, 5d1869d012b475e9165c201a5cc71ad1ac92115a

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to b455bcb13502696e588c7a0e60a196851fb87474, 64ea0e8226ed98d14e0231af1beae10c3d5c043a or 5d1869d012b475e9165c201a5cc71ad1ac92115a.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 506e64e710ff9573fd2b86686528762b7901b5e4, < b455bcb13502696e588c7a0e60a196851fb87474
Fixed in
  • b455bcb13502696e588c7a0e60a196851fb87474
LinuxLinuxAffected
  • ≥ 506e64e710ff9573fd2b86686528762b7901b5e4, < 64ea0e8226ed98d14e0231af1beae10c3d5c043a
Fixed in
  • 64ea0e8226ed98d14e0231af1beae10c3d5c043a
LinuxLinuxAffected
  • ≥ 506e64e710ff9573fd2b86686528762b7901b5e4, < 5d1869d012b475e9165c201a5cc71ad1ac92115a
Fixed in
  • 5d1869d012b475e9165c201a5cc71ad1ac92115a
LinuxLinuxAffected
  • =6.15
Fixed in–

Description

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.

References

Community reviews

Loading reviews…