CVE-2026-53244
VFS: fix possible failure to unlock in nfsd4_create_file()
Reported by linux · Published June 25, 2026
In the Linux kernel, the following vulnerability has been resolved: VFS: fix possible failure to unlock in nfsd4_create_file() atomic_create() in fs/namei.c drops the reference to the dentry when it returns an error. This behaviour was imported into dentry_create() so that it will drop the reference if an error is returned from atomic_create(), though not if vfs_create() returns an error (in the case where ->atomic_create is not supported). The caller - nfsd4_create_file() - is made aware of this by checking path->dentry, which will either be a counted reference to a dentry, or an error pointer. However the change to use start_creating()/end_creating() (which landed shortly before the dentry_create() change landed, though was likely developed around the same time) means that nfsd4_create_file() *needs* a valid dentry so that it can unlock the parent. The net result is that if NFSD exports a filesystem which uses ->atomic_create, and if a call to ->atomic_create returns an error, then nfsd4_create_file() will pass an error pointer to end_creating() and the parent will not be unlocked. Fix this by changing dentry_create() to make sure path->dentry is always a valid dentry, never an error-pointer. The actual error is already returned a different way. Note that if ->atomic_create() returns a different dentry (which may not be possible in practice) we are guaranteed (because it is only ever provided by d_spliace_alias()) that it will have the same d_parent and so it will have the same effect when passed to end_creating().
EPSS 0.49% · 42.9th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 64a989dbd144e0622371396461b11335459692d2, 64a989dbd144e0622371396461b11335459692d2 |
| Linux | Linux | 7.0, 0, 7.0.13 |
| linux | linux_kernel | 7.0, 7.0 |
| Linux | Linux | 64a989dbd144e0622371396461b11335459692d2, 64a989dbd144e0622371396461b11335459692d2, 7.0 |
Timeline
- Jun 24, 2026 CVE Published
- Jun 26, 2026 EPSS Score (30 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jun 29, 2026 Security Advisory (64 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53244
vulnetix vdb fixes CVE-2026-53244
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53244/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart