← Search CVEs

CVE-2025-39689

HIGH 7.8 ALL-YEARS

Published 2025-09-05 · Last modified 2026-10-15 · Linux · NVD: Modified

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.

ELEVATED IMPACT

Severe if exploited (CVSS 7.8); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.

Exploitation likelihood

0.2%chance of exploitation in 30 days · 9th percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

7.8CVSS 3.1 · HIGH · CNA

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ⚠Access: Requires local access to the host
  • ⚠Privileges: Requires a low-privilege account
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Linux Siemens Debian

Products Linux SIMATIC CN 4100 SIMATIC S7-1500 CPU 1518-4 PN/DP MFP SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP SIPLUS S7-1500 CPU 1518-4 PN/DP MFP Linux Kernel Debian Linux

Weakness (CWE)

  • CWE-416: Use after free

CVSS vector

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

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 200 vendor product statements; 168 omitted. Read the full vendor advisory.

  • kernel.src as a component of Red Hat Enterprise Linux 10 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel?arch=src

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-kdump-devel as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-kdump-devel

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-debug-devel as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-debug-devel

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-modules-extra as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt-modules-extra

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-zfcpdump-modules as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-zfcpdump-modules

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-64k-debug-core as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-64k-debug-core

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-64k-modules-extra as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-64k-modules-extra

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-debug-modules-core

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-modules as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-modules

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-64k-debug-devel-matched as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt-64k-debug-devel-matched

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-64k-modules-core as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt-64k-modules-core

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-debug-modules-extra as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt-debug-modules-extra

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-selftests-internal as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-rt-selftests-internal

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-zfcpdump-modules as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/kernel-zfcpdump-modules

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • rv as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rv

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • none available: Fix deferred
    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • bpftool as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/bpftool

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-abi-whitelists as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-abi-whitelists

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-debug as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-debug

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-debug-devel as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-debug-devel

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-doc as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-doc

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-kdump as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-kdump

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-debug-devel as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt-debug-devel

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-debug-kvm as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt-debug-kvm

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-doc as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt-doc

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-trace as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt-trace

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-rt-trace-kvm as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-rt-trace-kvm

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-tools as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-tools

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel-tools-libs as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel-tools-libs

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • kernel.src as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/kernel?arch=src

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
  • python-perf as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-perf

    Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00

Known Affected Software Configurations

VendorProductVersion range
LinuxLinux Kernel≥ 4.12 and < 5.4.297
LinuxLinux Kernel≥ 5.5 and < 5.10.241
LinuxLinux Kernel≥ 5.11 and < 5.15.190
LinuxLinux Kernel≥ 5.16 and < 6.1.149
LinuxLinux Kernel≥ 6.2 and < 6.6.103
LinuxLinux Kernel≥ 6.7 and < 6.12.44
LinuxLinux Kernel≥ 6.13 and < 6.16.4
LinuxLinux Kernel6.17
LinuxLinux Kernel6.17
DebianDebian Linux11.0

All CVSS metrics

  • HIGH 7.8 v3.1 · CNA Primary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • HIGH 7.8 v3.1 · NVD Secondary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Patches & mitigations

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS