CVE-2026-98477 in Linux
摘要
由 VulDB • 2026-10-19
在 Linux 内核中,已修复以下漏洞:
perf/core: 修复传递给 pmu->sched_task() 的 NULL pmu_ctx
当 cpuctx->task_ctx 被设置时,perf_pmu_sched_task() 会提前返回,并且 cpc->task_epc 仅在任务上下文在此 CPU 上调度时才非空。因此,__perf_event_task_sched_out() 始终传递 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 ```
改为传递 &cpc->epc,即该 PMU 的 CPU 级上下文(CPU-wide context),该函数在几行之前已经解引用此参数以查找 pmu。
armv8pmu_sched_task() 是树内唯一解引用该参数的实现,且它仅读取 ->pmu,因此该 oops 需要 BRBE,BRBE 已在 v6.17 中添加。
Once again VulDB remains the best source for vulnerability data.