CVE-2025-40326
NFSD: Define actions for the new time_deleg FATTR4 attributes
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: Define actions for the new time_deleg FATTR4 attributes NFSv4 clients won't send legitimate GETATTR requests for these new attributes because they are intended to be used only with CB_GETATTR and SETATTR. But NFSD has to do something besides crashing if it ever sees a GETATTR request that queries these attributes. RFC 8881 Section 18.7.3 states: > The server MUST return a value for each attribute that the client > requests if the attribute is supported by the server for the > target file system. If the server does not support a particular > attribute on the target file system, then it MUST NOT return the > attribute value and MUST NOT set the attribute bit in the result > bitmap. The server MUST return an error if it supports an > attribute on the target but cannot obtain its value. In that case, > no attribute values will be returned. Further, RFC 9754 Section 5 states: > These new attributes are invalid to be used with GETATTR, VERIFY, > and NVERIFY, and they can only be used with CB_GETATTR and SETATTR > by a client holding an appropriate delegation. Thus there does not appear to be a specific server response mandated by specification. Taking the guidance that querying these attributes via GETATTR is "invalid", NFSD will return nfserr_inval, failing the request entirely.
INFO
Published Date :
Dec. 8, 2025, 1:16 a.m.
Last Modified :
Oct. 14, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest stable version.
- Ensure the NFS server is configured correctly.
- Apply security patches provided by the vendor.
- Monitor NFS server logs for errors.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-40326.
| URL | Resource |
|---|---|
| https://git.kernel.org/stable/c/4f76435fd517981f01608678c06ad9718a86ee98 | |
| https://git.kernel.org/stable/c/d8f3f94dc950e7c62c96af432c26745885b0a18a |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-40326 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-40326
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-40326 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-40326 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: NFSD: Definir acciones para los nuevos atributos time_deleg FATTR4 Los clientes NFSv4 no enviarán solicitudes GETATTR legítimas para estos nuevos atributos porque están destinados a ser usados solo con CB_GETATTR y SETATTR. Pero NFSD tiene que hacer algo además de colapsar si alguna vez ve una solicitud GETATTR que consulta estos atributos. La Sección 18.7.3 del RFC 8881 establece: > El servidor DEBE devolver un valor para cada atributo que el cliente solicita si el atributo es compatible con el servidor para el sistema de archivos de destino. Si el servidor no es compatible con un atributo particular en el sistema de archivos de destino, entonces NO DEBE devolver el valor del atributo y NO DEBE establecer el bit del atributo en el mapa de bits de resultado. El servidor DEBE devolver un error si es compatible con un atributo en el destino pero no puede obtener su valor. En ese caso, no se devolverán valores de atributo. Además, la Sección 5 del RFC 9754 establece: > Estos nuevos atributos no son válidos para ser usados con GETATTR, VERIFY y NVERIFY, y solo pueden ser usados con CB_GETATTR y SETATTR por un cliente que posea una delegación apropiada. Por lo tanto, no parece haber una respuesta específica del servidor exigida por la especificación. Tomando la guía de que consultar estos atributos a través de GETATTR es 'inválido', NFSD devolverá nfserr_inval, fallando la solicitud por completo. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '51c0d4f7e317d3cb4a3001e502bd8ca2d57f2a4b', 'lessThan': 'd8f3f94dc950e7c62c96af432c26745885b0a18a', 'versionType': 'git'}, {'status': 'affected', 'version': '51c0d4f7e317d3cb4a3001e502bd8ca2d57f2a4b', 'lessThan': '4f76435fd517981f01608678c06ad9718a86ee98', 'versionType': 'git'}], 'programFiles': ['fs/nfsd/nfs4xdr.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.17.8', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/nfsd/nfs4xdr.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 08, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: NFSD: Define actions for the new time_deleg FATTR4 attributes NFSv4 clients won't send legitimate GETATTR requests for these new attributes because they are intended to be used only with CB_GETATTR and SETATTR. But NFSD has to do something besides crashing if it ever sees a GETATTR request that queries these attributes. RFC 8881 Section 18.7.3 states: > The server MUST return a value for each attribute that the client > requests if the attribute is supported by the server for the > target file system. If the server does not support a particular > attribute on the target file system, then it MUST NOT return the > attribute value and MUST NOT set the attribute bit in the result > bitmap. The server MUST return an error if it supports an > attribute on the target but cannot obtain its value. In that case, > no attribute values will be returned. Further, RFC 9754 Section 5 states: > These new attributes are invalid to be used with GETATTR, VERIFY, > and NVERIFY, and they can only be used with CB_GETATTR and SETATTR > by a client holding an appropriate delegation. Thus there does not appear to be a specific server response mandated by specification. Taking the guidance that querying these attributes via GETATTR is "invalid", NFSD will return nfserr_inval, failing the request entirely. Added Reference https://git.kernel.org/stable/c/4f76435fd517981f01608678c06ad9718a86ee98 Added Reference https://git.kernel.org/stable/c/d8f3f94dc950e7c62c96af432c26745885b0a18a