CVE-2026-98790 (GCVE-0-2026-98790)
Vulnerability from cvelistv5
Published
2026-10-18 15:48
Modified
2026-10-30 12:39
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Version: 97ba62b278674293762c3d91f724f1bb922f04e0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/events/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6e454fbe3e646d119ab75e907035950e0e857c09",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "655acfa713bce9ae9c81a654459890c2f58cb4e8",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "672b8a9ce8f51b991481dfde26fba5cc4340a91a",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "524063fea29f8a841e49927ea7a8085194ad3ec2",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "81e61e3f8befa1bae3ec8e779d8ada5e5e362c21",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            },
            {
              "lessThan": "ffb684f2aa141eeb0caa6308422e7e05d1ded7c4",
              "status": "affected",
              "version": "97ba62b278674293762c3d91f724f1bb922f04e0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/events/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003ectx-\u003etask != current).\n\nSince both task exit and exec paths can call perf_event_exit_task() which\nsets ctx-\u003etask to TASK_TOMBSTONE, fix this by explicitly checking if\nevent-\u003ectx-\u003etask equals TASK_TOMBSTONE and dropping the redundant\nPF_EXITING check."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:39:50.548Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6e454fbe3e646d119ab75e907035950e0e857c09"
        },
        {
          "url": "https://git.kernel.org/stable/c/a8a6fe5601fa2d2c0fbfb3e531a1063f73c1eae3"
        },
        {
          "url": "https://git.kernel.org/stable/c/655acfa713bce9ae9c81a654459890c2f58cb4e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/672b8a9ce8f51b991481dfde26fba5cc4340a91a"
        },
        {
          "url": "https://git.kernel.org/stable/c/524063fea29f8a841e49927ea7a8085194ad3ec2"
        },
        {
          "url": "https://git.kernel.org/stable/c/81e61e3f8befa1bae3ec8e779d8ada5e5e362c21"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffb684f2aa141eeb0caa6308422e7e05d1ded7c4"
        }
      ],
      "title": "perf: Fix race between perf_event_exit_task() and perf_pending_task()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98790",
    "datePublished": "2026-10-18T15:48:27.412Z",
    "dateReserved": "2026-09-25T10:25:14.370Z",
    "dateUpdated": "2026-10-30T12:39:50.548Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…