{"id":"CVE-2026-31528","published":"2026-04-22T13:54:41Z","modified":"2026-10-19T18:45:55Z","title":"perf: Make sure to use pmu_ctx->pmu for groups","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Make sure to use pmu_ctx->pmu for groups\n\nOliver reported that x86_pmu_del() ended up doing an out-of-bound memory access\nwhen group_sched_in() fails and needs to roll back.\n\nThis *should* be handled by the transaction callbacks, but he found that when\nthe group leader is a software event, the transaction handlers of the wrong PMU\nare used. Despite the move_group case in perf_event_open() and group_sched_in()\nusing pmu_ctx->pmu.\n\nTurns out, inherit uses event->pmu to clone the events, effectively undoing the\nmove_group case for all inherited contexts. Fix this by also making inherit use\npmu_ctx->pmu, ensuring all inherited counters end up in the same pmu context.\n\nSimilarly, __perf_event_read() should use equally use pmu_ctx->pmu for the\ngroup case.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00182,"percentile":0.0456,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/656f35b463995bee024d948440128230aacd81e1","tags":[]},{"url":"https://git.kernel.org/stable/c/3a696e84a8b1fafdd774bb30d62919faf844d9e4","tags":[]},{"url":"https://git.kernel.org/stable/c/35f7914e54fe7f13654c22ee045b05e4b6d8062b","tags":[]},{"url":"https://git.kernel.org/stable/c/4c759446046500a1a6785b25725725c3ff087ace","tags":[]},{"url":"https://git.kernel.org/stable/c/4b9ce671960627b2505b3f64742544ae9801df97","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.91},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bd27568117664b8b3e259721393df420ed51f57b, < 656f35b463995bee024d948440128230aacd81e1",">= bd27568117664b8b3e259721393df420ed51f57b, < 3a696e84a8b1fafdd774bb30d62919faf844d9e4",">= bd27568117664b8b3e259721393df420ed51f57b, < 35f7914e54fe7f13654c22ee045b05e4b6d8062b",">= bd27568117664b8b3e259721393df420ed51f57b, < 4c759446046500a1a6785b25725725c3ff087ace",">= bd27568117664b8b3e259721393df420ed51f57b, < 4b9ce671960627b2505b3f64742544ae9801df97"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:10:38.614462Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24921","exploited":false,"provenance":"source"}}