[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091224-CVE-2025-39798-a66e@gregkh>
Date: Fri, 12 Sep 2025 17:59:28 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39798: NFS: Fix the setting of capabilities when automounting a new filesystem
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
NFS: Fix the setting of capabilities when automounting a new filesystem
Capabilities cannot be inherited when we cross into a new filesystem.
They need to be reset to the minimal defaults, and then probed for
again.
The Linux kernel CVE team has assigned CVE-2025-39798 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 5.4.297 with commit 95eb0d97ab98a10e966125c1f274e7d0fc0992b3
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 5.10.241 with commit 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 5.15.190 with commit 3924dab90816d0c683a110628ef386f83a9d1e13
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.1.149 with commit 175afda783e38c0660f2afc0602dd9c83d4e7ee1
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.6.103 with commit 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.12.43 with commit 816a6f60c2c2b679a33fa4276442bafd11473651
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.15.11 with commit a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.16.2 with commit 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9
Issue introduced in 2.6.19 with commit 54ceac4515986030c2502960be620198dd8fe25b and fixed in 6.17-rc1 with commit b01f21cacde9f2878492cf318fee61bf4ccad323
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39798
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/nfs4client.c
fs/nfs/nfs4proc.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/95eb0d97ab98a10e966125c1f274e7d0fc0992b3
https://git.kernel.org/stable/c/73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e
https://git.kernel.org/stable/c/3924dab90816d0c683a110628ef386f83a9d1e13
https://git.kernel.org/stable/c/175afda783e38c0660f2afc0602dd9c83d4e7ee1
https://git.kernel.org/stable/c/987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c
https://git.kernel.org/stable/c/816a6f60c2c2b679a33fa4276442bafd11473651
https://git.kernel.org/stable/c/a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2
https://git.kernel.org/stable/c/50e0fd0050e510e749e1fdd1d7158e419ff8f3b9
https://git.kernel.org/stable/c/b01f21cacde9f2878492cf318fee61bf4ccad323
Powered by blists - more mailing lists