CVE-2026-98477
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-98477",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:16:58.243",
"lastModified": "2026-10-21T13:21:31.320",
"vulnStatus": "Received",
"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->sched_task()\n\nperf_pmu_sched_task() returns early when cpuctx->task_ctx is set, and\ncpc->task_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 &cpc->epc 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 ->pmu, so the oops needs\nBRBE, added in v6.17."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/events/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "bd27568117664b8b3e259721393df420ed51f57b",
"lessThan": "98181f9721f75f1a544dc563b0d8fed1d5c398d5",
"versionType": "git",
"status": "affected"
},
{
"version": "bd27568117664b8b3e259721393df420ed51f57b",
"lessThan": "b5409311b606d536cc485f3706c242c2afa93edb",
"versionType": "git",
"status": "affected"
},
{
"version": "bd27568117664b8b3e259721393df420ed51f57b",
"lessThan": "249a2bd87a0e57dc28f36e992807edc9cae309b5",
"versionType": "git",
"status": "affected"
},
{
"version": "bd27568117664b8b3e259721393df420ed51f57b",
"lessThan": "ec15f6a50183fc01f470af74ad49900fb3731fca",
"versionType": "git",
"status": "affected"
},
{
"version": "bd27568117664b8b3e259721393df420ed51f57b",
"lessThan": "36bb85cf36cab15fb611cb44b78a5df06e4e69a2",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/events/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.2",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.112",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.55",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.9",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"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",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}