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

perf: Fix race between perf_event_exit_task() and perf_pending_task()

A race condition exists between perf_event_exit_task() and
perf_pending_task() during begin_new_exec().

During begin_new_exec(), perf_event_exit_task() may be called, and the
PF_EXITING flag is not set on task. So perf_sigtrap() continues to execute
and triggers WARN_ON_ONCE(event->ctx->task != current).

Since both task exit and exec paths can call perf_event_exit_task() which
sets ctx->task to TASK_TOMBSTONE, fix this by explicitly checking if
event->ctx->task equals TASK_TOMBSTONE and dropping the redundant
PF_EXITING check.
Published: 2026-10-18
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Kernel Crash
Action: Apply Patch
AI Analysis

Impact

A race condition exists in the Linux perf subsystem between the functions perf_event_exit_task() and perf_pending_task() during the begin_new_exec() phase of a process transition. When perf_event_exit_task() is invoked, the PF_EXITING flag has not yet been set on the task. As a result, perf_sigtrap() continues to execute and may trigger WARN_ON_ONCE if the event’s context task differs from the current task. When both functions run concurrently, the context task can become TASK_TOMBSTONE, causing repeated warnings that can culminate in a kernel panic. The flaw therefore leads to system unavailability through a kernel crash rather than exposing a direct code‑execution path.

Affected Systems

Every Linux kernel build that does not contain the fix introduced by the commit series referenced in the CVE is affected. This includes kernels distributed by all major Linux distributions—Ubuntu, Debian, RHEL, CentOS, Fedora, SUSE, and others—prior to the inclusion of the patch. Systems whose kernel packages have not been updated to include the commit are susceptible.

Risk and Exploitability

Risk and exploitability: The CVSS score of 4.7 indicates moderate severity, and the EPSS score of <1% reflects a very low likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. Exploitation requires an attacker to operate within a perf context during the brief transition between task exit and exec, which typically implies local or privileged access. Triggering the race can induce a kernel crash, resulting in a denial of service.

Generated by OpenCVE AI on October 24, 2026 at 01:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit that fixes the race between perf_event_exit_task() and perf_pending_task().
  • Reboot the system so the new kernel image is loaded and the bug is no longer present.
  • If an immediate kernel upgrade is not possible, mitigate by limiting perf activity—set kernel.perf_event_paranoid to a restrictive value or disable the perf subsystem in the kernel configuration until the patch can be applied.

Generated by OpenCVE AI on October 24, 2026 at 01:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 13:00:00 +0000


Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 21 Oct 2026 13:15:00 +0000


Sun, 18 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: perf: Fix race between perf_event_exit_task() and perf_pending_task() A race condition exists between perf_event_exit_task() and perf_pending_task() during begin_new_exec(). During begin_new_exec(), perf_event_exit_task() may be called, and the PF_EXITING flag is not set on task. So perf_sigtrap() continues to execute and triggers WARN_ON_ONCE(event->ctx->task != current). Since both task exit and exec paths can call perf_event_exit_task() which sets ctx->task to TASK_TOMBSTONE, fix this by explicitly checking if event->ctx->task equals TASK_TOMBSTONE and dropping the redundant PF_EXITING check.
Title perf: Fix race between perf_event_exit_task() and perf_pending_task()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:39:50.548Z

Reserved: 2026-09-25T10:25:14.370Z

Link: CVE-2026-98790

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:32.987

Modified: 2026-10-30T13:21:28.013

Link: CVE-2026-98790

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98790 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T01:45:17Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-366

    Race Condition within a Thread