CVE-2026-23052
Last modified
CVE-2026-23052 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: ftrace: Do not over-allocate ftrace memory The pg_remaining calculation in ftrace_process_locs() assumes that ENTRIES_PER_PAGE multiplied by 2^order equals the actual capacity of the allocated page group. However, ENTRIES_PER_PAGE is PAGE_SIZE / ENTRY_SIZE (integer division). EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ftrace: Do not over-allocate ftrace memory The pg_remaining calculation in ftrace_process_locs() assumes that ENTRIES_PER_PAGE multiplied by 2^order equals the actual capacity of the allocated page group. However, ENTRIES_PER_PAGE is PAGE_SIZE / ENTRY_SIZE (integer division). When PAGE_SIZE is not a multiple of ENTRY_SIZE (e.g. 4096 / 24 = 170 with remainder 16), high-order allocations (like 256 pages) have significantly more capacity than 256 * 170. This leads to pg_remaining being underestimated, which in turn makes skip (derived from skipped - pg_remaining) larger than expected, causing the WARN(skip != remaining) to trigger. Extra allocated pages for ftrace: 2 with 654 skipped WARNING: CPU: 0 PID: 0 at kernel/trace/ftrace.c:7295 ftrace_process_locs+0x5bf/0x5e0 A similar problem in ftrace_allocate_records() can result in allocating too many pages. This can trigger the second warning in ftrace_process_locs(). Extra allocated pages for ftrace WARNING: CPU: 0 PID: 0 at kernel/trace/ftrace.c:7276 ftrace_process_locs+0x548/0x580 Use the actual capacity of a page group to determine the number of pages to allocate. Have ftrace_allocate_pages() return the number of allocated pages to avoid having to calculate it. Use the actual page group capacity when validating the number of unused pages due to skipped entries. Drop the definition of ENTRIES_PER_PAGE since it is no longer used.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= dc06779d338de4e5a46166a93ec124222e09f40a, < bf802b936a7b269917e4dc233e49f6a928db8286; >= 2a6ce8bddd8aafa61aaa705e76eae810f22429be, < 23936d19e4383c8dfb03931f032473d4baf92533; >= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, < 9aef476717994e96dadfb359641c4b82b521aa36; >= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, < be55257fab181b93af38f8c4b1b3cb453a78d742 |
| Linux | Linux | 6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-23052?
How severe is CVE-2026-23052?
How do I fix CVE-2026-23052?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-23047In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23048In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23049In the Linux kernel, the following vulnerability has been re…
- CVE-2026-2305The AddFunc Head & Footer Code plugin for WordPress is vulne…6.4
- CVE-2026-23050In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23051In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23053In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23054In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23055In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23056In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23057In the Linux kernel, the following vulnerability has been re…
- CVE-2026-23058In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-23052?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
