# CVE-2026-98790: perf: Fix race between perf\_event\_exit\_task() and perf\_pending\_task()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:48:27.412Z
- **Modified:** 2026-10-30T13:21:28.013Z

## Who should check

- Anyone running Linux \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 6e454fbe3e646d119ab75e907035950e0e857c09; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 655acfa713bce9ae9c81a654459890c2f58cb4e8; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 672b8a9ce8f51b991481dfde26fba5cc4340a91a; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 524063fea29f8a841e49927ea7a8085194ad3ec2; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< ffb684f2aa141eeb0caa6308422e7e05d1ded7c4
- Anyone running Linux 5.13

## 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.

## Affected and fixed versions

- Linux: \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 6e454fbe3e646d119ab75e907035950e0e857c09; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 655acfa713bce9ae9c81a654459890c2f58cb4e8; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 672b8a9ce8f51b991481dfde26fba5cc4340a91a; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 524063fea29f8a841e49927ea7a8085194ad3ec2; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< ffb684f2aa141eeb0caa6308422e7e05d1ded7c4 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98790. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98790.md
Affected: Linux >= 97ba62b278674293762c3d91f724f1bb922f04e0, < 6e454fbe3e646d119ab75e907035950e0e857c09; >= 97ba62b278674293762c3d91f724f1bb922f04e0, < a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3; >= 97ba62b278674293762c3d91f724f1bb922f04e0, < 655acfa713bce9ae9c81a654459890c2f58cb4e8; >= 97ba62b278674293762c3d9…
Fixed in: Linux 6e454fbe3e646d119ab75e907035950e0e857c09, Linux 655acfa713bce9ae9c81a654459890c2f58cb4e8, Linux 672b8a9ce8f51b991481dfde26fba5cc4340a91a, Linux 524063fea29f8a841e49927ea7a8085194ad3ec2, Linux 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98790 being exploited?

There is no confirmed exploitation: CVE-2026-98790 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98790?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98790?

Linux \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 6e454fbe3e646d119ab75e907035950e0e857c09; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 655acfa713bce9ae9c81a654459890c2f58cb4e8; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 672b8a9ce8f51b991481dfde26fba5cc4340a91a; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 524063fea29f8a841e49927ea7a8085194ad3ec2; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21; \>= 97ba62b278674293762c3d91f724f1bb922f04e0, \< ffb684f2aa141eeb0caa6308422e7e05d1ded7c4; Linux 5.13.

### Is there a fix for CVE-2026-98790?

Yes. Fixed in Linux 6e454fbe3e646d119ab75e907035950e0e857c09, Linux 655acfa713bce9ae9c81a654459890c2f58cb4e8, Linux 672b8a9ce8f51b991481dfde26fba5cc4340a91a, Linux 524063fea29f8a841e49927ea7a8085194ad3ec2, Linux 81e61e3f8befa1bae3ec8e779d8ada5e5e362c21. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98790?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6e454fbe3e646d119ab75e907035950e0e857c09>
- other: <https://git.kernel.org/stable/c/a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3>
- other: <https://git.kernel.org/stable/c/655acfa713bce9ae9c81a654459890c2f58cb4e8>
- other: <https://git.kernel.org/stable/c/672b8a9ce8f51b991481dfde26fba5cc4340a91a>
- other: <https://git.kernel.org/stable/c/524063fea29f8a841e49927ea7a8085194ad3ec2>
- other: <https://git.kernel.org/stable/c/81e61e3f8befa1bae3ec8e779d8ada5e5e362c21>
- other: <https://git.kernel.org/stable/c/ffb684f2aa141eeb0caa6308422e7e05d1ded7c4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98790>

HTML: <https://flawdb.com/CVE-2026-98790> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98790>
