PT-2023-9717 · Linux+7 · Linux Kernel+7
Shuai Xue
·
Published
2023-09-12
·
Updated
2025-09-29
·
CVE-2023-52835
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the perf/core component of the Linux kernel, where a large AUX area request can cause the system to fail with a "Cannot allocate memory" error, revealing a WARNING with alloc pages(). This occurs when the size of the pointer array
rb->aux pages crosses the limitation set by MAX ORDER. The allocated page for this array is physically contiguous and virtually contiguous with an order of 0..MAX ORDER.Technical details about exploitation include:
- The
rb alloc auxfunction is involved in the allocation of therb->aux pagesarray. - The
perf mmapfunction is used to map the AUX area into memory. - The
/usr/bin/perf recordcommand with a large AUX area can trigger the issue, for example:#perf record -C 0 -m ,4G -e arm spe 0// -- sleep 1. - The
alloc pagesfunction is where the WARNING is triggered.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Out of bounds Read
Improper Validation of Array Index
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse