{"id":"CVE-2026-98790","aliases":["CVE-2026-98790"],"related":[],"kind":"vulnerability","state":"published","title":"perf: Fix race between perf_event_exit_task() and perf_pending_task()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Fix race between perf_event_exit_task() and perf_pending_task()\n\nA race condition exists between perf_event_exit_task() and\nperf_pending_task() during begin_new_exec().\n\nDuring begin_new_exec(), perf_event_exit_task() may be called, and the\nPF_EXITING flag is not set on task. So perf_sigtrap() continues to execute\nand triggers WARN_ON_ONCE(event->ctx->task != current).\n\nSince both task exit and exec paths can call perf_event_exit_task() which\nsets ctx->task to TASK_TOMBSTONE, fix this by explicitly checking if\nevent->ctx->task equals TASK_TOMBSTONE and dropping the redundant\nPF_EXITING check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Fix race between perf_event_exit_task() and perf_pending_task()\n\nA race condition exists between perf_event_exit_task() and\nperf_pending_task() during begin_new_exec().\n\nDuring begin_new_exec(), perf_event_exit_task() may be called, and the\nPF_EXITING flag is not set on task. So perf_sigtrap() continues to execute\nand triggers WARN_ON_ONCE(event->ctx->task != current).\n\nSince both task exit and exec paths can call perf_event_exit_task() which\nsets ctx->task to TASK_TOMBSTONE, fix this by explicitly checking if\nevent->ctx->task equals TASK_TOMBSTONE and dropping the redundant\nPF_EXITING check.","source":"cvelist"}],"published":"2026-10-18T15:48:27.412Z","modified":"2026-10-30T13:21:28.013Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"6e454fbe3e646d119ab75e907035950e0e857c09","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"655acfa713bce9ae9c81a654459890c2f58cb4e8","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"672b8a9ce8f51b991481dfde26fba5cc4340a91a","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"524063fea29f8a841e49927ea7a8085194ad3ec2","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"81e61e3f8befa1bae3ec8e779d8ada5e5e362c21","status":"affected"},{"type":"git","introduced":"97ba62b278674293762c3d91f724f1bb922f04e0","fixed":"ffb684f2aa141eeb0caa6308422e7e05d1ded7c4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6e454fbe3e646d119ab75e907035950e0e857c09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/655acfa713bce9ae9c81a654459890c2f58cb4e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/672b8a9ce8f51b991481dfde26fba5cc4340a91a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/524063fea29f8a841e49927ea7a8085194ad3ec2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81e61e3f8befa1bae3ec8e779d8ada5e5e362c21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffb684f2aa141eeb0caa6308422e7e05d1ded7c4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98790","url":"https://www.cve.org/CVERecord?id=CVE-2026-98790","licence":"CVE Terms of Use","modified":"2026-10-30T12:39:50.548Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98790","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98790","licence":"Public domain","modified":"2026-10-30T13:21:28.013Z"}],"updatedAt":"2026-11-25T22:59:45.303Z","epss":{"score":0.00179,"percentile":0.0782,"date":"2026-12-01T12:00:22.000Z"}}