Vendors › Linux

CVE-2025-22035

High (7.8) EPSS 0.3% Linux · kernel

Linux kernel: tracing: Fix use-after-free in print_graph_function_flags during tracer switching

A vulnerability in the Linux kernel kernel subsystem (kernel/trace/trace_functions_graph.c), assigned CVE-2025-22035. The issue was introduced in kernel 5.4.255 and is fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15. Updating to a fixed stable release resolves it.

Published2025-04-16
Updated2026-08-05
AffectedLinux kernel 5.4.255 and later, before the fix (fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15)
FixUpdate to kernel 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2025-22035

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-22035CWE-416Memory CorruptionCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.