CVE-2025-39689
HIGH 7.8 ALL-YEARSIn 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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel-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:00kernel.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:00python-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
| Vendor | Product | Version range |
|---|---|---|
| Linux | Linux Kernel | ≥ 4.12 and < 5.4.297 |
| Linux | Linux Kernel | ≥ 5.5 and < 5.10.241 |
| Linux | Linux Kernel | ≥ 5.11 and < 5.15.190 |
| Linux | Linux Kernel | ≥ 5.16 and < 6.1.149 |
| Linux | Linux Kernel | ≥ 6.2 and < 6.6.103 |
| Linux | Linux Kernel | ≥ 6.7 and < 6.12.44 |
| Linux | Linux Kernel | ≥ 6.13 and < 6.16.4 |
| Linux | Linux Kernel | 6.17 |
| Linux | Linux Kernel | 6.17 |
| Debian | Debian Linux | 11.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
- https://git.kernel.org/stable/c/12064e1880fc9202be75ff668205b1703d92f74f CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/3b114a3282ab1a12cb4618a8f45db5d7185e784a CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/64db338140d2bad99a0a8c6a118dd60b3e1fb8cb CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/a40c69f4f1ed96acbcd62e9b5ff3a596f0a91309 CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/bfb336cf97df7b37b2b2edec0f69773e06d11955 CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/c4cd93811e038d19f961985735ef7bb128078dfb CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/c591ba1acd081d4980713e47869dd1cc3d963d19 CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://git.kernel.org/stable/c/e0b6b223167e1edde5c82edf38e393c06eda1f13 CVE record · Linux · Updated 2026-08-05T12:04:34.544Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160
Advisories
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html CVE record · CVE · Updated 2025-11-03T17:42:22.147Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html CVE record · CVE · Updated 2025-11-03T17:42:22.147Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-39689.json Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-31536 EUVD · EUVD-2025-31536
Technical & other
- https://cert-portal.siemens.com/productcert/html/ssa-032379.htmlCVE record · siemens-SADP · Updated 2026-10-15T01:08:00.783Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://cert-portal.siemens.com/productcert/html/ssa-082556.htmlCVE record · siemens-SADP · Updated 2026-10-15T01:08:00.783Z
NVD · CVE-2025-39689 · Updated 2026-10-19T21:10:00.160 - https://access.redhat.com/security/cve/CVE-2025-39689 Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2393517 Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
- https://lore.kernel.org/linux-cve-announce/2025090546-CVE-2025-39689-f538@gregkh/T Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2025-39689 Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
- https://www.cve.org/CVERecord?id=CVE-2025-39689 Red Hat · CVE-2025-39689 · Updated 2026-11-05T15:07:43+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS