Skip to main content

In the Linux kernel, the following vulnerability has been resolved: perf: Fix race between perf_event_exit_task() and perf_pending_task() A race… (CVE-2026-98790)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:03 UTC)
Source: GCVE Database

Description

A race condition vulnerability in the Linux kernel's perf subsystem was resolved. The issue occurs between perf_event_exit_task() and perf_pending_task() during the begin_new_exec() process. The flaw involves a timing conflict where the PF_EXITING flag is not set on the task, causing perf_sigtrap() to execute improperly and trigger a warning. The fix involves checking if event->ctx->task equals TASK_TOMBSTONE to avoid redundant checks and race conditions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:20:56 UTC

Technical Analysis

This vulnerability in the Linux kernel's perf subsystem arises from a race condition between perf_event_exit_task() and perf_pending_task() during the execution of begin_new_exec(). Specifically, perf_event_exit_task() may be called while the PF_EXITING flag is not set, allowing perf_sigtrap() to continue and trigger WARN_ON_ONCE(event->ctx->task != current). Both task exit and exec paths can call perf_event_exit_task(), which sets ctx->task to TASK_TOMBSTONE. The fix explicitly checks if event->ctx->task equals TASK_TOMBSTONE, removing the redundant PF_EXITING check and preventing the race condition.

Potential Impact

The race condition could lead to improper execution flow in the perf subsystem, potentially causing kernel warnings or instability during task exit and execution transitions. No known exploits in the wild have been reported. The impact is limited to kernel-level perf event handling and may affect system stability or debugging accuracy.

Mitigation Recommendations

A fix has been implemented to address this race condition by adding explicit checks for TASK_TOMBSTONE in the perf subsystem code. Since the vulnerability has been resolved, users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the input data; therefore, verify with the vendor or Linux kernel advisory for the current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-hx5j-phv4-m97w
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98790"]

Threat ID: 6ad520aa2cdf04f65699399e

Added to database: 10/18/2026, 19:40:26 UTC

Last enriched: 10/18/2026, 22:20:56 UTC

Last updated: 10/18/2026, 22:20:56 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses