Bug 2393481 (CVE-2025-39697) - CVE-2025-39697 kernel: NFS: Fix a race when updating an existing write
Summary: CVE-2025-39697 kernel: NFS: Fix a race when updating an existing write
Keywords:
Status: NEW
Alias: CVE-2025-39697
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-05 18:01 UTC by OSIDB Bzimport
Modified: 2025-11-25 00:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:19106 0 None None None 2025-10-27 18:31:37 UTC
Red Hat Product Errata RHSA-2025:21051 0 None None None 2025-11-12 00:31:15 UTC
Red Hat Product Errata RHSA-2025:21091 0 None None None 2025-11-12 08:08:43 UTC
Red Hat Product Errata RHSA-2025:21118 0 None None None 2025-11-12 12:22:09 UTC
Red Hat Product Errata RHSA-2025:21128 0 None None None 2025-11-12 13:48:43 UTC
Red Hat Product Errata RHSA-2025:21136 0 None None None 2025-11-12 15:05:09 UTC
Red Hat Product Errata RHSA-2025:21469 0 None None None 2025-11-17 09:26:43 UTC
Red Hat Product Errata RHSA-2025:21760 0 None None None 2025-11-19 12:27:22 UTC
Red Hat Product Errata RHSA-2025:21917 0 None None None 2025-11-24 02:36:08 UTC
Red Hat Product Errata RHSA-2025:21920 0 None None None 2025-11-24 06:19:23 UTC
Red Hat Product Errata RHSA-2025:22006 0 None None None 2025-11-25 00:37:19 UTC

Description OSIDB Bzimport 2025-09-05 18:01:19 UTC
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().

Comment 1 Praise Ogwuche 2025-09-05 21:52:58 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025090548-CVE-2025-39697-5284@gregkh/T

Comment 3 errata-xmlrpc 2025-10-27 18:31:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:19106 https://access.redhat.com/errata/RHSA-2025:19106

Comment 6 errata-xmlrpc 2025-11-12 00:31:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:21051 https://access.redhat.com/errata/RHSA-2025:21051

Comment 7 errata-xmlrpc 2025-11-12 08:08:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:21091 https://access.redhat.com/errata/RHSA-2025:21091

Comment 8 errata-xmlrpc 2025-11-12 12:22:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:21118 https://access.redhat.com/errata/RHSA-2025:21118

Comment 9 errata-xmlrpc 2025-11-12 13:48:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:21128 https://access.redhat.com/errata/RHSA-2025:21128

Comment 10 errata-xmlrpc 2025-11-12 15:05:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:21136 https://access.redhat.com/errata/RHSA-2025:21136

Comment 11 errata-xmlrpc 2025-11-17 09:26:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:21469 https://access.redhat.com/errata/RHSA-2025:21469

Comment 12 errata-xmlrpc 2025-11-19 12:27:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:21760 https://access.redhat.com/errata/RHSA-2025:21760

Comment 13 errata-xmlrpc 2025-11-24 02:36:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:21917 https://access.redhat.com/errata/RHSA-2025:21917

Comment 14 errata-xmlrpc 2025-11-24 06:19:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:21920 https://access.redhat.com/errata/RHSA-2025:21920

Comment 15 errata-xmlrpc 2025-11-25 00:37:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:22006 https://access.redhat.com/errata/RHSA-2025:22006


Note You need to log in before you can comment on or make changes to this bug.