{"id":"CVE-2026-99125","aliases":["CVE-2026-99125"],"related":[],"kind":"vulnerability","state":"published","title":"s390/pai: Handle multiple PMU stop callback invocations","summary":"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() --> PMU->stop()\n\nShortly later the scheduler may terminate the task and removes it from the\nCPU. It again calls\n\n  PMU->stop()\n\nwhich results in two invocations of PMU->stop() 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->start().\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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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() --> PMU->stop()\n\nShortly later the scheduler may terminate the task and removes it from the\nCPU. It again calls\n\n  PMU->stop()\n\nwhich results in two invocations of PMU->stop() 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->start().\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().","source":"cvelist"}],"published":"2026-10-28T10:34:40.025Z","modified":"2026-10-28T11:17:32.210Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9f66572f2889a5e72a9d7e17787e52f03b1f7bd8","fixed":"cf348ec613f75b9774291e47b804fd7010835a6c","status":"affected"},{"type":"git","introduced":"9f66572f2889a5e72a9d7e17787e52f03b1f7bd8","fixed":"f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cf348ec613f75b9774291e47b804fd7010835a6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99125","url":"https://www.cve.org/CVERecord?id=CVE-2026-99125","licence":"CVE Terms of Use","modified":"2026-10-28T10:34:40.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99125","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99125","licence":"Public domain","modified":"2026-10-28T11:17:32.210Z"}],"updatedAt":"2026-11-25T22:59:47.570Z","epss":{"score":0.00156,"percentile":0.05011,"date":"2026-12-01T12:00:22.000Z"}}