# CVE-2025-68349: NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2025-12-24T10:32:41.253Z
- Modified: 2026-11-10T13:17:58.147Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 4.10 (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.*; from 6.17.13 up to 6.17.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/084bebe82ad86f718a3af84f34761863e63164ed>
- <https://git.kernel.org/stable/c/b6e4e3a08c03200cc4b8067ec8ab3172a989d6fc>
- <https://git.kernel.org/stable/c/104080582ae0aa6dce6c6d75ff89062efe84673b>
- <https://git.kernel.org/stable/c/f718f9ea6094843b8c059b073af49ad61e9f49bb>
- <https://git.kernel.org/stable/c/59947dff0fb7c19c09ce6dccbcd253fd542b6c25>
- <https://git.kernel.org/stable/c/ca2e7fdad7c683b64821c94a58b9b68733214dad>
- <https://git.kernel.org/stable/c/38694f9aae00459ab443a7dc8b3949a6b33b560a>
- <https://git.kernel.org/stable/c/e0f8058f2cb56de0b7572f51cd563ca5debce746>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-68349](https://www.cve.org/CVERecord?id=CVE-2025-68349), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-68349](https://nvd.nist.gov/vuln/detail/CVE-2025-68349), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-68349 · Whole record: https://cve.day/CVE-2025-68349.json · Rebuilt by cve.day 2026-11-25T22:59:09.863Z
