{"id":"CVE-2026-99125","aliases":[],"title":"s390/pai: Handle multiple PMU stop callback invocations","titleSource":"Linux","descriptionSource":"Linux","products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"9f66572f2889a5e72a9d7e17787e52f03b1f7bd8","status":"affected","lessThan":"cf348ec613f75b9774291e47b804fd7010835a6c","versionType":"git"},{"version":"9f66572f2889a5e72a9d7e17787e52f03b1f7bd8","status":"affected","lessThan":"f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40","versionType":"git"}],"defaultStatus":"unaffected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99125"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99125"}],"remediation":[],"description":"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().","severity":"unknown","score":null,"published":"2026-10-28T10:34:40.025Z","modified":"2026-10-28T10:34:40.025Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://git.kernel.org/stable/c/cf348ec613f75b9774291e47b804fd7010835a6c","https://git.kernel.org/stable/c/f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40"],"sources":[{"name":"CVE","id":"CVE-2026-99125","modified":"2026-10-28T10:34:40.025Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99125"}],"assessments":[],"sourceAffected":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:20:36.067Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}