Bug 2255286 - kernel: heap out-of-bounds write in perf_read_group
Summary: kernel: heap out-of-bounds write in perf_read_group
Keywords:
Status: CLOSED DUPLICATE of bug 2252731
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2255287
Blocks: 2255284
TreeView+ depends on / blocked
 
Reported: 2023-12-19 21:15 UTC by Robb Gatica
Modified: 2024-01-03 00:28 UTC (History)
41 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's Performance Events system component. A condition can be triggered that allows data to be written past the end or before the beginning of the intended memory buffer. This may lead to a system crash, code execution, or local privilege escalation.
Clone Of:
Environment:
Last Closed: 2023-12-26 12:01:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2023-12-19 21:15:49 UTC
A heap out-of-bounds write vulnerability in the Linux kernel's Performance Events system component can be exploited to achieve local privilege escalation.

A perf_event's read_size can overflow, leading to an heap out-of-bounds increment or write in perf_read_group().

We recommend upgrading past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b
https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b

Comment 1 Robb Gatica 2023-12-19 21:17:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2255287]

Comment 3 Justin M. Forbes 2023-12-19 22:12:22 UTC
This was fixed for Fedora with the 6.6.7 stable kernel updates.

Comment 7 Alex 2023-12-26 12:01:17 UTC

*** This bug has been marked as a duplicate of bug 2252731 ***


Note You need to log in before you can comment on or make changes to this bug.