# CVE-2026-23052: ftrace: Do not over-allocate ftrace memory

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2026-02-04T16:04:21.739Z
- **Modified:** 2026-07-04T12:16:54.070Z

## Who should check

- Anyone running Linux \>= dc06779d338de4e5a46166a93ec124222e09f40a, \< bf802b936a7b269917e4dc233e49f6a928db8286; \>= 2a6ce8bddd8aafa61aaa705e76eae810f22429be, \< 23936d19e4383c8dfb03931f032473d4baf92533; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< 9aef476717994e96dadfb359641c4b82b521aa36; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< be55257fab181b93af38f8c4b1b3cb453a78d742
- Anyone running Linux 6.15

## 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.

## Affected and fixed versions

- Linux: \>= dc06779d338de4e5a46166a93ec124222e09f40a, \< bf802b936a7b269917e4dc233e49f6a928db8286; \>= 2a6ce8bddd8aafa61aaa705e76eae810f22429be, \< 23936d19e4383c8dfb03931f032473d4baf92533; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< 9aef476717994e96dadfb359641c4b82b521aa36; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< be55257fab181b93af38f8c4b1b3cb453a78d742 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23052. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23052.md
Affected: Linux >= dc06779d338de4e5a46166a93ec124222e09f40a, < bf802b936a7b269917e4dc233e49f6a928db8286; >= 2a6ce8bddd8aafa61aaa705e76eae810f22429be, < 23936d19e4383c8dfb03931f032473d4baf92533; >= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, < 9aef476717994e96dadfb359641c4b82b521aa36; >= 4a3efc6baff931da9a85c6d…
Fixed in: Linux 23936d19e4383c8dfb03931f032473d4baf92533, Linux 9aef476717994e96dadfb359641c4b82b521aa36

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23052 being exploited?

There is no confirmed exploitation: CVE-2026-23052 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23052?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-23052?

Linux \>= dc06779d338de4e5a46166a93ec124222e09f40a, \< bf802b936a7b269917e4dc233e49f6a928db8286; \>= 2a6ce8bddd8aafa61aaa705e76eae810f22429be, \< 23936d19e4383c8dfb03931f032473d4baf92533; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< 9aef476717994e96dadfb359641c4b82b521aa36; \>= 4a3efc6baff931da9a85c6d2e42c87bd9a827399, \< be55257fab181b93af38f8c4b1b3cb453a78d742; Linux 6.15.

### Is there a fix for CVE-2026-23052?

Yes. Fixed in Linux 23936d19e4383c8dfb03931f032473d4baf92533, Linux 9aef476717994e96dadfb359641c4b82b521aa36. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23052?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bf802b936a7b269917e4dc233e49f6a928db8286>
- other: <https://git.kernel.org/stable/c/23936d19e4383c8dfb03931f032473d4baf92533>
- other: <https://git.kernel.org/stable/c/9aef476717994e96dadfb359641c4b82b521aa36>
- other: <https://git.kernel.org/stable/c/be55257fab181b93af38f8c4b1b3cb453a78d742>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23052>

HTML: <https://flawdb.com/CVE-2026-23052> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23052>
