Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39697

published high CVSS 3.1 · 7.8

NFS: Fix a race when updating an existing write

Published
05 Sep 2025, 17:21:03 UTC
Updated
15 Oct 2026, 01:08:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77 · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < c32e3c71aaa1c1ba05da88605e2ddd493c58794f · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 181feb41f0b268e6288bf9a7b984624d7fe2031d · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 92278ae36935a54e65fef9f8ea8efe7e80481ace · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 202a3432d21ac060629a760fff3b0a39859da3ea · bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 76d2e3890fb169168c73f2e4f8375c7cc24a765e · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.14 (affected) · 0 to < 4.14 (unaffected · semver) · 5.10.242 through 5.10.* (unaffected · semver) · 5.15.191 through 5.15.* (unaffected · semver) · 6.1.150 through 6.1.* (unaffected · semver) · 6.6.104 through 6.6.* (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC CN 41000 to < V5.0 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-104 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
Debian bookworm linux Advisory build 6.1.153-1 DSA-6009-1
Show 105 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-089 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1186 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1208 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
AlmaLinux 8 kernel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.85.1.rt7.426.el8_10 ALSA-2025:21920
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 perf Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.85.1.el8_10 ALSA-2025:21917
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-124.13.1.el10_1 ELSA-2025-21118
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-55.41.1.0.1.el10_0 ELSA-2025-19106
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix a race when updating an existing write After nfs_lock_and_join_requests() tests for whether the request is still attached to the mapping, nothing prevents a call to nfs_inode_remove_request() from succeeding until we actually lock the page group. The reason is that whoever called nfs_inode_remove_request() doesn't necessarily have a lock on the page group head. So in order to avoid races, let's take the page group lock earlier in nfs_lock_and_join_requests(), and hold it across the removal of the request in nfs_inode_remove_request().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

71

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is in the NFS client's buffered-write path and is reached through local `write(2)`/mmap dirtying plus writeback-forcing syscalls (`fsync`, `sync_file_range`, `ftruncate`); a purely remote party cannot create the required local writer, though a malicious NFS server can precisely time the racing removal side via its RPC replies. AC:L - The attacker controls both sides of the race — one thread issues overlapping buffered writes to the same folio while another forces writeback/invalidation — and can retry the loop indefinitely with no precondition outside their control; server-induced short writes or errors widen the window further. PR:L - Only an unprivileged local account with write access to any file on an NFS mount is required, which is the norm on NFS-backed home directories, HPC scratch, and container/Kubernetes NFS volumes. UI:N - The attacker's own process performs all the writes, writeback triggers, and truncation; no action by any other user is needed beyond the NFS mount already existing. S:U - The corruption and resulting crash are confined to the kernel's own security authority on the affected host; no VM, IOMMU, or sandbox boundary is crossed. C:H - Detaching the folio from NFS's private bookkeeping while requests are still live breaks the writeback-state invariant, allowing mismatched `folio_start/end_writeback` and stale `req->wb_head`/folio references so freed or recycled page contents can be transmitted to the server and read back, and truncated-mapping pointers are dereferenced. I:H - Writes acknowledged to userspace are silently discarded — the merged request is detached and freed while the folio's dirty bit is consumed by writeback with no RPC sent — corrupting NFS file data for any process on the client, and kernel request/refcount/`nrequests` state is left inconsistent. A:H - The zombie request lets the folio be truncated or reclaimed with `folio->mapping` set to NULL while completion paths unconditionally dereference `folio->mapping->host` (`nfs_page_to_inode`, `nfs_inode_remove_request`, `nfs_folio_end_writeback`), producing a kernel oops, and the `WARN_ON_ONCE` splats panic systems running `panic_on_warn`.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77 (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < c32e3c71aaa1c1ba05da88605e2ddd493c58794f (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 181feb41f0b268e6288bf9a7b984624d7fe2031d (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 92278ae36935a54e65fef9f8ea8efe7e80481ace (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 202a3432d21ac060629a760fff3b0a39859da3ea (affected · git)bd37d6fce184836bd5e7cd90ce40116a4fadaf2a to < 76d2e3890fb169168c73f2e4f8375c7cc24a765e (affected · git)Default: unaffected Linux · cna
Linux Linux 4.14 (affected)0 to < 4.14 (unaffected · semver)5.10.242 through 5.10.* (unaffected · semver)5.15.191 through 5.15.* (unaffected · semver)6.1.150 through 6.1.* (unaffected · semver)6.6.104 through 6.6.* (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC CN 4100 0 to < V5.0 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

4

Linux · cna

NFS: Fix a race when updating an existing write

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
23524adf8bd7ecadef00d49559db26c7be567080337fe0300b158b681af296fa
Ingested
15 Oct 2026, 13:12:09 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected