{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bd27568117664b8b3e259721393df420ed51f57b"
            },
            {
              "fixed": "b5409311b606d536cc485f3706c242c2afa93edb"
            },
            {
              "fixed": "249a2bd87a0e57dc28f36e992807edc9cae309b5"
            },
            {
              "fixed": "ec15f6a50183fc01f470af74ad49900fb3731fca"
            },
            {
              "fixed": "36bb85cf36cab15fb611cb44b78a5df06e4e69a2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.55"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98477.json"
  },
  "details": "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",
  "modified": "2026-10-19T02:31:07.299994434Z",
  "published": "2026-10-18T15:15:51.475Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/249a2bd87a0e57dc28f36e992807edc9cae309b5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/36bb85cf36cab15fb611cb44b78a5df06e4e69a2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b5409311b606d536cc485f3706c242c2afa93edb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ec15f6a50183fc01f470af74ad49900fb3731fca"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98477.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98477"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "perf/core: Fix NULL pmu_ctx passed to pmu-\u003esched_task()"
}