CVE-2025-68349
JSON

7.5high

NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.87% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid Fixes a crash when layout is null during this call stack: write_inode -> nfs4_write_inode -> pnfs_layoutcommit_inode pnfs_set_layoutcommit relies on the lseg refcount to keep the layout around. Need to clear NFS_INO_LAYOUTCOMMIT otherwise we might attempt to reference a null layout.

Affected

Product or packageVersionsReported by
Linux Linuxfrom fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before 084bebe82ad86f718a3af84f34761863e63164ed, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before b6e4e3a08c03200cc4b8067ec8ab3172a989d6fc, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before 104080582ae0aa6dce6c6d75ff89062efe84673b, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before f718f9ea6094843b8c059b073af49ad61e9f49bb, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before 59947dff0fb7c19c09ce6dccbcd253fd542b6c25, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before ca2e7fdad7c683b64821c94a58b9b68733214dad, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before 38694f9aae00459ab443a7dc8b3949a6b33b560a, from fe1cf9469d7bcb6af27e42eb555a41b0135bce4a before e0f8058f2cb56de0b7572f51cd563ca5debce746 and 1 more
Not affected: before 4.10, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid Fixes a crash when layout is null during this call stack: write_inode -> nfs4_write_inode -> pnfs_layoutcommit_inode pnfs_set_layoutcommit relies on the lseg refcount to keep the layout around. Need to clear NFS_INO_LAYOUTCOMMIT otherwise we might attempt to reference a null layout.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nNFSv4/pNFS: borrar NFS_INO_LAYOUTCOMMIT en pnfs_mark_layout_stateid_invalid\n\nCorrige un bloqueo cuando el layout es nulo durante esta pila de llamadas:\n\nwrite_inode\n -> nfs4_write_inode\n -> pnfs_layoutcommit_inode\n\npnfs_set_layoutcommit depende del recuento de referencias (refcount) de lseg para mantener el layout. Es necesario borrar NFS_INO_LAYOUTCOMMIT; de lo contrario podrĂ­amos intentar referenciar un layout nulo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68349 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-68349 changed 2026-11-10Public domain