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


