NFS: Fix inverted cross-directory rename check
- CVE-2026-143238
- GHSA-j34q-h2qq-6hx2
- EUVD-2026-142888
Description
In the Linux kernel, the following vulnerability has been resolved: NFS: Fix inverted cross-directory rename check nfs_rename_is_unsafe_cross_dir() returns false for cross-directory renames, causing nfs_rename() to skip nfs_sync_inode() even when filehandles may expire on rename. Same-directory renames may instead trigger unnecessary synchronization. Current condition directly contradicts the function name/comments. Return false for same-directory renames so cross-directory renames reach the existing filehandle-volatility check. Keep the conservative fallback unchanged..
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.12.xupdate to 6.12.120 or laterPatch update: breaking changes are unlikely
- If you run a version from 6.6.93 to before 6.7update to 6.7 or laterMinor version change: check the release notes
- If you run a version from 6.1.141 to before 6.2update to 6.2 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.12.32 to before 6.12.120 6.12.120 from 6.6.93 to before 6.7 6.7 from 6.1.141 to before 6.2 6.2 from 6.14.10 to before 6.15 none stated 6.15 none stated before 6.15: not affected none stated from 6.12.120 up to 6.12.*: not affected none stated from 6.18.66 up to 6.18.*: not affected none stated and 2 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.