Expired Pointer Dereference Affecting rv package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RV-23300775
  • published2 Dec 2026
  • disclosed30 Nov 2026

Introduced: 30 Nov 2026

NewCVE-2026-139214  (opens in a new tab)
CWE-825  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rv.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rv package and not the rv package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1