{"id":"CVE-2026-99125","summary":"s390/pai: Handle multiple PMU stop callback invocations","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pai: Handle multiple PMU stop callback invocations\n\nHandle the following scenario:\nThe kernel protects itself against a very high sampling load and\nthrottles the sampling using:\n\n  perf_event_throttle() --\u003e PMU-\u003estop()\n\nShortly later the scheduler may terminate the task and removes it from the\nCPU. It again calls\n\n  PMU-\u003estop()\n\nwhich results in two invocations of PMU-\u003estop() called back to back.\nProtect against this and check the PERF_HES_STOPPED bit on function\nentry.  If it is already set return.\nClear bit PERF_HES_STOPPED in PMU-\u003estart().\n\nProhibit ioctl(fd, PERF_EVENT_IOC_PERIOD, ...) call for this event.\nIt sets perf_event::event_limit to a positive value and causes\nperf_event_overflow() to invoke pai_stop() call back function when\nperf_event::event_limit hits zero. This is not supported because the\nsample events CRYPTO_ALL and NNPA_ALL are only taken at schedule out\nof a task.\n\nUse list_for_each_entry_safe() for safe iteration over syswide_list\nin pai_have_samples().","modified":"2026-10-30T02:47:23.129853825Z","published":"2026-10-28T10:34:40.025Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99125.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/cf348ec613f75b9774291e47b804fd7010835a6c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99125.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99125"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9f66572f2889a5e72a9d7e17787e52f03b1f7bd8"},{"fixed":"cf348ec613f75b9774291e47b804fd7010835a6c"},{"fixed":"f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99125.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99125.json"}}],"schema_version":"1.9.2"}