CVE-2025-39689

Updated: 2026-02-27 03:44:16.399203

Description:

In the Linux kernel, the following vulnerability has been resolved: ftrace: Also allocate and copy hash for reading of filter files Currently the reader of set_ftrace_filter and set_ftrace_notrace just adds the pointer to the global tracer hash to its iterator. Unlike the writer that allocates a copy of the hash, the reader keeps the pointer to the filter hashes. This is problematic because this pointer is static across function calls that release the locks that can update the global tracer hashes. This can cause UAF and similar bugs. Allocate and copy the hash for reading the filter files like it is done for the writers. This not only fixes UAF bugs, but also makes the code a bit simpler as it doesn't have to differentiate when to free the iterator's hash between writers and readers.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2026:1771239384 2026-02-16 15:28:44
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Needs Triage 2026-02-06 07:58:20
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH In Testing 2026-02-19 12:16:44
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Needs Triage 2026-02-06 07:58:26
Oracle Linux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2026-02-21 21:19:28 Not affected: This flaw exists only in kernels that include commit c20489dad156, which introduced th...
Oracle Linux 7 ELS kernel-uek 5.4.17 7.8 HIGH Already Fixed 2026-02-06 09:10:05 Not affected: This flaw exists only in kernels that include commit c20489dad156, which introduced th...
TuxCare 9.6 ESU kernel 5.14.0 7.8 HIGH In Progress 2026-02-12 05:13:07
Ubuntu 16.04 ELS linux-hwe 4.15.0 7.8 HIGH Needs Triage 2026-02-04 08:57:06
Ubuntu 18.04 ELS linux 4.15.0 7.8 HIGH Needs Triage 2026-02-04 09:18:16
Ubuntu 20.04 ELS linux 5.4.0 7.8 HIGH In Testing 2026-02-18 09:56:22