You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jira SECO-54
cve CVE-2023-6931
commit 382c27f
upstream-diff trivial diff against upstream as we do not have
PERF_FORMAT_LOST(119a784) in 8.8. PERF_FORMAT_LOST is a counter
that was exposed to userspace post 8.8 so we do not need it backported.
Budimir noted that perf_event_validate_size() only checks the size of
the newly added event, even though the sizes of all existing events
can also change due to not all events having the same read_format.
When we attach the new event, perf_group_attach(), we do re-compute
the size for all events.
Fixes: a723968 ("perf: Fix u16 overflows")
Reported-by: Budimir Markovic <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
(cherry picked from commit 382c27f)
Signed-off-by: Ronnie Sahlberg <[email protected]>
0 commit comments