CVE-2026-98477 (GCVE-0-2026-98477)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:15 – Updated: 2026-10-21 12:55
VLAI
Title
perf/core: Fix NULL pmu_ctx passed to pmu->sched_task()
Summary
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix NULL pmu_ctx passed to pmu->sched_task() perf_pmu_sched_task() returns early when cpuctx->task_ctx is set, and cpc->task_epc is only non-NULL while a task context is scheduled in on this CPU. __perf_pmu_sched_task() therefore always passes NULL: Unable to handle kernel NULL pointer dereference at virtual address 00 pc : armv8pmu_sched_task+0x14/0x50 Call trace: armv8pmu_sched_task+0x14/0x50 (P) perf_pmu_sched_task+0xac/0x108 __perf_event_task_sched_out+0x6c/0xe0 Pass &cpc->epc instead, the CPU-wide context for this PMU, which the function already dereferences a few lines up to find pmu. armv8pmu_sched_task() is the only in-tree implementation that dereferences the argument, and it only reads ->pmu, so the oops needs BRBE, added in v6.17.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: bd27568117664b8b3e259721393df420ed51f57b , < 98181f9721f75f1a544dc563b0d8fed1d5c398d5 (git)
Affected: bd27568117664b8b3e259721393df420ed51f57b , < b5409311b606d536cc485f3706c242c2afa93edb (git)
Affected: bd27568117664b8b3e259721393df420ed51f57b , < 249a2bd87a0e57dc28f36e992807edc9cae309b5 (git)
Affected: bd27568117664b8b3e259721393df420ed51f57b , < ec15f6a50183fc01f470af74ad49900fb3731fca (git)
Affected: bd27568117664b8b3e259721393df420ed51f57b , < 36bb85cf36cab15fb611cb44b78a5df06e4e69a2 (git)
Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.6.160 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
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": "98181f9721f75f1a544dc563b0d8fed1d5c398d5",
              "status": "affected",
              "version": "bd27568117664b8b3e259721393df420ed51f57b",
              "versionType": "git"
            },
            {
              "lessThan": "b5409311b606d536cc485f3706c242c2afa93edb",
              "status": "affected",
              "version": "bd27568117664b8b3e259721393df420ed51f57b",
              "versionType": "git"
            },
            {
              "lessThan": "249a2bd87a0e57dc28f36e992807edc9cae309b5",
              "status": "affected",
              "version": "bd27568117664b8b3e259721393df420ed51f57b",
              "versionType": "git"
            },
            {
              "lessThan": "ec15f6a50183fc01f470af74ad49900fb3731fca",
              "status": "affected",
              "version": "bd27568117664b8b3e259721393df420ed51f57b",
              "versionType": "git"
            },
            {
              "lessThan": "36bb85cf36cab15fb611cb44b78a5df06e4e69a2",
              "status": "affected",
              "version": "bd27568117664b8b3e259721393df420ed51f57b",
              "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": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "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": "6.6.160",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()\n\nperf_pmu_sched_task() returns early when cpuctx-\u003etask_ctx is set, and\ncpc-\u003etask_epc is only non-NULL while a task context is scheduled in on\nthis CPU. __perf_pmu_sched_task() therefore always passes NULL:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 00\n  pc : armv8pmu_sched_task+0x14/0x50\n  Call trace:\n   armv8pmu_sched_task+0x14/0x50 (P)\n   perf_pmu_sched_task+0xac/0x108\n   __perf_event_task_sched_out+0x6c/0xe0\n\nPass \u0026cpc-\u003eepc instead, the CPU-wide context for this PMU, which the\nfunction already dereferences a few lines up to find pmu.\n\narmv8pmu_sched_task() is the only in-tree implementation that\ndereferences the argument, and it only reads -\u003epmu, so the oops needs\nBRBE, added in v6.17."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:55:10.170Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/98181f9721f75f1a544dc563b0d8fed1d5c398d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5409311b606d536cc485f3706c242c2afa93edb"
        },
        {
          "url": "https://git.kernel.org/stable/c/249a2bd87a0e57dc28f36e992807edc9cae309b5"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec15f6a50183fc01f470af74ad49900fb3731fca"
        },
        {
          "url": "https://git.kernel.org/stable/c/36bb85cf36cab15fb611cb44b78a5df06e4e69a2"
        }
      ],
      "title": "perf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98477",
    "datePublished": "2026-10-18T15:15:51.475Z",
    "dateReserved": "2026-09-25T10:25:14.351Z",
    "dateUpdated": "2026-10-21T12:55:10.170Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98477",
      "date": "2026-11-18",
      "epss": "0.00168",
      "percentile": "0.06146"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:39:30.000Z",
      "cve": "CVE-2026-98477",
      "id": "msrc_CVE-2026-98477",
      "initial_release_date": "2026-10-20T01:08:30.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "perf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98477.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "98181f9721f75f1a544dc563b0d8fed1d5c398d5",
                    "status": "affected",
                    "version": "bd27568117664b8b3e259721393df420ed51f57b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b5409311b606d536cc485f3706c242c2afa93edb",
                    "status": "affected",
                    "version": "bd27568117664b8b3e259721393df420ed51f57b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "249a2bd87a0e57dc28f36e992807edc9cae309b5",
                    "status": "affected",
                    "version": "bd27568117664b8b3e259721393df420ed51f57b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ec15f6a50183fc01f470af74ad49900fb3731fca",
                    "status": "affected",
                    "version": "bd27568117664b8b3e259721393df420ed51f57b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "36bb85cf36cab15fb611cb44b78a5df06e4e69a2",
                    "status": "affected",
                    "version": "bd27568117664b8b3e259721393df420ed51f57b",
                    "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": "6.2"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()\n\nperf_pmu_sched_task() returns early when cpuctx-\u003etask_ctx is set, and\ncpc-\u003etask_epc is only non-NULL while a task context is scheduled in on\nthis CPU. __perf_pmu_sched_task() therefore always passes NULL:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 00\n  pc : armv8pmu_sched_task+0x14/0x50\n  Call trace:\n   armv8pmu_sched_task+0x14/0x50 (P)\n   perf_pmu_sched_task+0xac/0x108\n   __perf_event_task_sched_out+0x6c/0xe0\n\nPass \u0026cpc-\u003eepc instead, the CPU-wide context for this PMU, which the\nfunction already dereferences a few lines up to find pmu.\n\narmv8pmu_sched_task() is the only in-tree implementation that\ndereferences the argument, and it only reads -\u003epmu, so the oops needs\nBRBE, added in v6.17."
          }
        ],
        "id": "CVE-2026-98477",
        "lastModified": "2026-10-21T13:21:31.320",
        "metrics": {},
        "published": "2026-10-18T16:16:58.243",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/249a2bd87a0e57dc28f36e992807edc9cae309b5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/36bb85cf36cab15fb611cb44b78a5df06e4e69a2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/98181f9721f75f1a544dc563b0d8fed1d5c398d5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b5409311b606d536cc485f3706c242c2afa93edb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ec15f6a50183fc01f470af74ad49900fb3731fca"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-07T11:30:10+00:00",
      "cve": "CVE-2026-98477",
      "id": "CVE-2026-98477",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "110",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: perf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98477.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…