First published: Mon Dec 04 2023(Updated: )
A flaw was found in the Linux kernel. It is possible to overflow a perf_event's read_size, causing an out-of-bounds write in perf_read_group(). The check meant to prevent such an overflow in perf_event_validate_size() does not account for groups of events with mixed read_format values. The flaw can be triggered with events created with PERF_FORMAT_GROUP or events added with PERF_FORMAT_GROUP after some preconditions. The bug was introduced around fa8c269353d5 ("perf/core: Invert perf_read_group() loops"). Fixes: a723968c0ed3 ("perf: Fix u16 overflows"). Reference: <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Linux kernel |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
REDHAT-BUG-2252731 has a high severity due to its potential to cause out-of-bounds writes in the Linux kernel.
To fix REDHAT-BUG-2252731, update to the latest version of the Linux kernel that addresses this vulnerability.
The affected systems for REDHAT-BUG-2252731 are any systems running vulnerable versions of the Linux kernel.
To mitigate risks from REDHAT-BUG-2252731, implement kernel-level security features and apply relevant patches.
Yes, REDHAT-BUG-2252731 may be exploited by attackers to execute arbitrary code, increasing the urgency of applying patches.