Time-of-check Time-of-use (TOCTOU) Affecting perf package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.31% (26th 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-PERF-23179016
  • published1 Dec 2026
  • disclosed30 Nov 2026

Introduced: 30 Nov 2026

NewCVE-2026-139085  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 perf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf 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:

Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()

l2cap_sock_shutdown() has the race condition

[Task 1]                      [Task 2]
l2cap_sock_shutdown           l2cap_sock_connect
  l2cap_chan_lock               l2cap_chan_connect
  conn = ... /* == NULL*/
  l2cap_chan_unlock ------------> l2cap_chan_lock
  if (conn) /* false */
                                  __l2cap_chan_add(conn, chan)
  l2cap_chan_lock <-------------- l2cap_chan_unlock
  l2cap_chan_close /* chan->conn->lock not held! */

conn->lock protects conn->chan_l and is not properly held here.

Use the l2cap_chan_close_unlocked() helper that ensures conn->lock is held for l2cap_chan_close().

CVSS Base Scores

version 3.1