Kernel allocation warning via oversized AUX mmap
Published May 21, 2024 · Updated May 11, 2026
Improper size validation in affected Linux kernel releases allows local users to trigger an allocation warning through a perf AUX mmap. kernel/events/ring_buffer.c lets rb_alloc_aux pass an oversized rb->aux_pages pointer-array request to kcalloc without first enforcing the MAX_ORDER allocation bound. A low-privileged user must be able to open and map an AUX-capable perf event; the oversized request fails with ENOMEM after reaching the kernel allocator warning path.
Summary
What happened
Improper size validation in affected Linux kernel releases allows local users to trigger an allocation warning through a perf AUX mmap. kernel/events/ring_buffer.c lets rb_alloc_aux pass an oversized rb->aux_pages pointer-array request to kcalloc without first enforcing the MAX_ORDER allocation bound. A low-privileged user must be able to open and map an AUX-capable perf event; the oversized request fails with ENOMEM after reaching the kernel allocator warning path.
The record
- CVE
- CVE-2023-52835
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.1
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <1a2a4202c60fcdffbf04f259002ce9bff39edece
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <2424410f94a94d91230ced094062d859714c984a
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <2e905e608e38cf7f8dcddcf8a6036e91a78444cb
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <54aee5f15b83437f23b2b2469bcf21bdd9823916
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <788c0b3442ead737008934947730a6d1ff703734
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <8c504f615d7ed60ae035c51d0c789137ced6797f
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <9ce4e87a8efd37c85766ec08b15e885cab08553a
- Affected versionversion=45bfb2e50471abbbfd83d40d28c986078b0d24ff <fd0df3f8719201dbe61a4d39083d5aecd705399a
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo