CVE-2026-23052
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23052 is a vulnerability in the Linux kernel's ftrace subsystem involving incorrect memory allocation calculations that can trigger kernel warnings. The flaw exists in ftrace_process_locs() and ftrace_allocate_records(), where the pg_remaining calculation incorrectly assumes ENTRIES_PER_PAGE * 2^order equals the actual capacity of an allocated page group, leading to over- or under-allocation of ftrace memory. This causes WARN() assertions to fire during kernel initialization. It was published on February 4, 2026, and is estimated to be of Medium severity with an EPSS score of 0.000180 (Feedly, CVE.org).

Technical details

The root cause is an integer arithmetic error (related to CWE-682: Incorrect Calculation) in the Linux kernel's ftrace subsystem (kernel/trace/ftrace.c). ENTRIES_PER_PAGE is computed as PAGE_SIZE / ENTRY_SIZE using integer division; when PAGE_SIZE is not a multiple of ENTRY_SIZE (e.g., 4096 / 24 = 170 remainder 16), high-order page allocations have more actual capacity than the formula accounts for. This causes pg_remaining to be underestimated, inflating the skip value and triggering WARN(skip != remaining) at lines 7276 and 7295 of ftrace.c. The fix involves using the actual capacity of each page group to determine allocation counts and having ftrace_allocate_pages() return the number of allocated pages directly (Feedly, Kernel Patch 1, Kernel Patch 2).

Impact

The primary impact is kernel stability: the miscalculation triggers WARN() assertions during boot or ftrace initialization, which can cause kernel warnings and potentially affect system reliability depending on kernel configuration (e.g., CONFIG_BUG_ON_DATA_CORRUPTION or panic-on-warn settings). There is no evidence of direct confidentiality or integrity impact; the vulnerability does not appear to enable privilege escalation or arbitrary code execution. The affected asset scope is limited to Linux kernel systems using ftrace with specific page size and entry size combinations (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that correct the pg_remaining calculation in ftrace_process_locs() and ftrace_allocate_records(). The fixes are available in the stable kernel tree at commits 9aef476717994e96dadfb359641c4b82b521aa36 and be55257fab181b93af38f8c4b1b3cb453a78d742. Users should update to a patched kernel version once their distribution (e.g., Red Hat, Ubuntu, SUSE) releases an updated package incorporating these fixes (Kernel Patch 1, Kernel Patch 2, Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management