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

High 7.5 Published Updated

A null pointer dereference in the Linux kernel's NFSv4/pNFS module can cause a system crash during inode writes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68349?

CVE-2025-68349 is a high-severity vulnerability in Linux, published on 24 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-68349?

How do I fix CVE-2025-68349?

Apply the vendor's patch.

Is CVE-2025-68349 being exploited?

There is no known exploitation of CVE-2025-68349 in the wild and no public exploit code.

Sources

Also known as AZL-73057, BELL-CVE-2025-68349, DEBIAN-CVE-2025-68349, GHSA-pchw-pcf7-8p47, OESA-2026-1011, ROOT-OS-DEBIAN-11-CVE-2025-68349 and 5 more.

Is CVE-2025-68349 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free