# CVE-2026-99125: s390/pai: Handle multiple PMU stop callback invocations

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-28T10:34:40.025Z
- Modified: 2026-10-28T11:17:32.210Z
- Assigned by: Linux

## Description

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

s390/pai: Handle multiple PMU stop callback invocations

Handle the following scenario:
The kernel protects itself against a very high sampling load and
throttles the sampling using:

  perf_event_throttle() --> PMU->stop()

Shortly later the scheduler may terminate the task and removes it from the
CPU. It again calls

  PMU->stop()

which results in two invocations of PMU->stop() called back to back.
Protect against this and check the PERF_HES_STOPPED bit on function
entry.  If it is already set return.
Clear bit PERF_HES_STOPPED in PMU->start().

Prohibit ioctl(fd, PERF_EVENT_IOC_PERIOD, ...) call for this event.
It sets perf_event::event_limit to a positive value and causes
perf_event_overflow() to invoke pai_stop() call back function when
perf_event::event_limit hits zero. This is not supported because the
sample events CRYPTO_ALL and NNPA_ALL are only taken at schedule out
of a task.

Use list_for_each_entry_safe() for safe iteration over syswide_list
in pai_have_samples().

(As written by CVE List.)

## Affected

- Linux Linux: from 9f66572f2889a5e72a9d7e17787e52f03b1f7bd8 before cf348ec613f75b9774291e47b804fd7010835a6c; from 9f66572f2889a5e72a9d7e17787e52f03b1f7bd8 before f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40; 6.11 (not affected: before 6.11; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/cf348ec613f75b9774291e47b804fd7010835a6c>
- <https://git.kernel.org/stable/c/f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40>

## Sources

- CVE List: [CVE-2026-99125](https://www.cve.org/CVERecord?id=CVE-2026-99125), CVE Terms of Use, modified 2026-10-28
- NVD: [CVE-2026-99125](https://nvd.nist.gov/vuln/detail/CVE-2026-99125), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-99125 · Whole record: https://cve.day/CVE-2026-99125.json · Rebuilt by cve.day 2026-11-25T22:59:47.570Z
