{"id":"CVE-2025-40326","aliases":["CVE-2025-40326"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: Define actions for the new time_deleg FATTR4 attributes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Define actions for the new time_deleg FATTR4 attributes\n\nNFSv4 clients won't send legitimate GETATTR requests for these new\nattributes because they are intended to be used only with CB_GETATTR\nand SETATTR. But NFSD has to do something besides crashing if it\never sees a GETATTR request that queries these attributes.\n\nRFC 8881 Section 18.7.3 states:\n\n> The server MUST return a value for each attribute that the client\n> requests if the attribute is supported by the server for the\n> target file system. If the server does not support a particular\n> attribute on the target file system, then it MUST NOT return the\n> attribute value and MUST NOT set the attribute bit in the result\n> bitmap. The server MUST return an error if it supports an\n> attribute on the target but cannot obtain its value. In that case,\n> no attribute values will be returned.\n\nFurther, RFC 9754 Section 5 states:\n\n> These new attributes are invalid to be used with GETATTR, VERIFY,\n> and NVERIFY, and they can only be used with CB_GETATTR and SETATTR\n> by a client holding an appropriate delegation.\n\nThus there does not appear to be a specific server response mandated\nby specification. Taking the guidance that querying these attributes\nvia GETATTR is \"invalid\", NFSD will return nfserr_inval, failing the\nrequest entirely.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Define actions for the new time_deleg FATTR4 attributes\n\nNFSv4 clients won't send legitimate GETATTR requests for these new\nattributes because they are intended to be used only with CB_GETATTR\nand SETATTR. But NFSD has to do something besides crashing if it\never sees a GETATTR request that queries these attributes.\n\nRFC 8881 Section 18.7.3 states:\n\n> The server MUST return a value for each attribute that the client\n> requests if the attribute is supported by the server for the\n> target file system. If the server does not support a particular\n> attribute on the target file system, then it MUST NOT return the\n> attribute value and MUST NOT set the attribute bit in the result\n> bitmap. The server MUST return an error if it supports an\n> attribute on the target but cannot obtain its value. In that case,\n> no attribute values will be returned.\n\nFurther, RFC 9754 Section 5 states:\n\n> These new attributes are invalid to be used with GETATTR, VERIFY,\n> and NVERIFY, and they can only be used with CB_GETATTR and SETATTR\n> by a client holding an appropriate delegation.\n\nThus there does not appear to be a specific server response mandated\nby specification. Taking the guidance that querying these attributes\nvia GETATTR is \"invalid\", NFSD will return nfserr_inval, failing the\nrequest entirely.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nNFSD: Definir acciones para los nuevos atributos time_deleg FATTR4\n\nLos 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.\n\nLa Sección 18.7.3 del RFC 8881 establece:\n\n> 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.\n\nAdemás, la Sección 5 del RFC 9754 establece:\n\n> 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.\n\nPor 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.","source":"nvd"}],"published":"2025-12-08T00:46:53.212Z","modified":"2026-10-14T22:10:00.210Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"51c0d4f7e317d3cb4a3001e502bd8ca2d57f2a4b","fixed":"d8f3f94dc950e7c62c96af432c26745885b0a18a","status":"affected"},{"type":"git","introduced":"51c0d4f7e317d3cb4a3001e502bd8ca2d57f2a4b","fixed":"4f76435fd517981f01608678c06ad9718a86ee98","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d8f3f94dc950e7c62c96af432c26745885b0a18a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f76435fd517981f01608678c06ad9718a86ee98","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40326","url":"https://www.cve.org/CVERecord?id=CVE-2025-40326","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:38.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40326","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40326","licence":"Public domain","modified":"2026-10-14T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:08.405Z","epss":{"score":0.00375,"percentile":0.33582,"date":"2026-12-01T12:00:22.000Z"}}