Description
In the Linux kernel, the following vulnerability has been resolved:

s390/pai: Support CPU hotplug for PMU PAI

The command 'perf stat -e pai_crypto/CRYPTO_ALL/ -- <command>'
crashes the kernel when CPUs are hotplug added during that run.

Root cause is the missing allocation of per-CPU data structures
for that new CPU. The allocation is dynamic and the first
event that has task context creates such a structure for
each online CPU. This is not sufficient. CPUs may be offline
during event creation and can be set online during the
perf run time. For example commands

# echo 0 > /sys/devices/system/cpu/cpu1/online
# perf stat -e cycles -i -- stress-ng -t10s --matrix X
# sleep 1
# echo 1 > /sys/devices/system/cpu/cpu1/online

Currently without a CPU hotplug handler, that new CPU has no
per-CPU data infrastructure. The scheduler runs PMU call back
function pai_add() to install the PMU support for that CPU before
the task is being scheduled on that new CPU.
In pai_add() instructions

mp = this_cpu_ptr(pai_root[idx].mapptr);
cpump = mp->mapptr;

return a NULL pointer and the result is a kernel panic as variable
cpump is used inside that function.

Add CPU hotplug support for CPU add and delete and create
the necessary per-CPU data infrastructure during CPU hotplug
add processing. Same for CPU hotplug remove.
This is done when the CPU is offline to ensure the data structures
are available when CPU is made online and tasks are scheduled on it.

[hca@linux.ibm.com: fixup error path in pai_init()]
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Kernel Crash
Action: Patch
AI Analysis

Impact

The vulnerability exists in the Linux kernel’s s390 architecture, specifically in the distribution of per‑CPU data for PMU Performance Accumulation Interface (PAI) events. During a perf stat session when the CPU set changes because a CPU is hot‑added, the code that allocates per‑CPU objects runs only for CPUs that are currently online. The new CPU, which was previously offlined, therefore receives a NULL pointer in the structure that is later accessed. This dereference causes a kernel panic, abruptly killing the operating system and denying service to all running workloads. The vulnerability requires only the ability to run perf and perform hot‑plug actions, typically available to privileged users, and does not provide arbitrary code execution.

Affected Systems

Linux kernel instances on s390 platforms that compile with or enable PMU PAI event support are impacted. Any kernel that has not yet incorporated the patch adding hot‑plug handling for per‑CPU data structures is vulnerable. No specific vendor or version list is enumerated in the CNA data, so all s390 kernels before the commit containing the fix are potentially affected.

Risk and Exploitability

The CVSS score of 5.5 reflects a moderate severity denial of service, while the EPSS score of <1% indicates a very low probability of public exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation appears to require privileged access to perform CPU hot‑plug operations and to run perf stat. Because the flaw causes a kernel crash rather than privilege escalation or data disclosure, the risk is limited to service disruption rather than broader compromise.

Generated by OpenCVE AI on October 1, 2026 at 10:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch enabling CPU hot‑plug support for PMU PAI events.
  • If a kernel upgrade cannot be performed immediately, avoid invoking perf or equivalent PMU tools while CPUs are being hot‑plugged; run such profiling workloads only when the CPU set is stable.
  • Consider disabling automatic CPU hot‑plug for production workloads or scheduling CPU‑to‑gain and loss operations outside of periods when perf is executed to prevent the crash.

Generated by OpenCVE AI on October 1, 2026 at 10:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 26 Sep 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/pai: Support CPU hotplug for PMU PAI The command 'perf stat -e pai_crypto/CRYPTO_ALL/ -- <command>' crashes the kernel when CPUs are hotplug added during that run. Root cause is the missing allocation of per-CPU data structures for that new CPU. The allocation is dynamic and the first event that has task context creates such a structure for each online CPU. This is not sufficient. CPUs may be offline during event creation and can be set online during the perf run time. For example commands # echo 0 > /sys/devices/system/cpu/cpu1/online # perf stat -e cycles -i -- stress-ng -t10s --matrix X # sleep 1 # echo 1 > /sys/devices/system/cpu/cpu1/online Currently without a CPU hotplug handler, that new CPU has no per-CPU data infrastructure. The scheduler runs PMU call back function pai_add() to install the PMU support for that CPU before the task is being scheduled on that new CPU. In pai_add() instructions mp = this_cpu_ptr(pai_root[idx].mapptr); cpump = mp->mapptr; return a NULL pointer and the result is a kernel panic as variable cpump is used inside that function. Add CPU hotplug support for CPU add and delete and create the necessary per-CPU data infrastructure during CPU hotplug add processing. Same for CPU hotplug remove. This is done when the CPU is offline to ensure the data structures are available when CPU is made online and tasks are scheduled on it. [hca@linux.ibm.com: fixup error path in pai_init()]
Title s390/pai: Support CPU hotplug for PMU PAI
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:21:28.923Z

Reserved: 2026-09-24T16:01:01.152Z

Link: CVE-2026-97526

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:02.767

Modified: 2026-09-25T11:17:02.767

Link: CVE-2026-97526

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97526 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T10:15:06Z

Weaknesses