CVE Database›CVE-2025-38346

CVE-2025-38346

kernel: ftrace: Fix UAF when lookup kallsym after ftrace disabled

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · July 10, 2025

Updated · October 31, 2026

Description

A flaw was found in the Linux kernel's Function Tracer (ftrace) subsystem. When an internal error disables function tracing and a kernel module is subsequently removed, the kernel fails to properly release tracking references associated with the unloaded module. A local user querying the kernel symbol table can trigger a use-after-free condition by accessing this deallocated memory, leading to a system crash and causing a Denial of Service (DoS).

Statement

This vulnerability is rated as Moderate impact for Red Hat Enterprise Linux because triggering the condition requires an unusual combination of an active kernel tracing failure and privileged module unloading, limiting the overall impact to a local denial of service. If an error disables function tracing and a kernel module is subsequently removed, unreleased tracking references allow local users querying kernel symbol tables to access deallocated memory and induce a system crash. Exploitation does not allow privilege escalation or data exposure, and normal operational environments rarely encounter the requisite tracer fault state.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-416 · Use After Free