CVE-2026-98790

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

No CVSS score yet EPSS 0.22%

Published 18 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98790

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98790 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.82% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before 6e454fbe3e646d119ab75e907035950e0e857c09
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before 655acfa713bce9ae9c81a654459890c2f58cb4e8
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before 672b8a9ce8f51b991481dfde26fba5cc4340a91a
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before 524063fea29f8a841e49927ea7a8085194ad3ec2
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21
affected from 97ba62b278674293762c3d91f724f1bb922f04e0, before ffb684f2aa141eeb0caa6308422e7e05d1ded7c4
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.56 up to and including 6.18.*
unaffected from 7.2.10 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98790 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98790

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98790
trivy image --scanners vuln IMAGE | grep CVE-2026-98790

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98790 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.