CVE-2026-72368
cachefiles: Fix double unlock in nomem_d_alloc error path
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: cachefiles: Fix double unlock in nomem_d_alloc error path When start_creating() fails and returns -ENOMEM, it has already released the parent directory lock in __start_dirop(): static struct dentry *__start_dirop(...) { ... inode_lock_nested(dir, I_MUTEX_PARENT); dentry = lookup_one_qstr_excl(name, parent, lookup_flags); if (IS_ERR(dentry)) inode_unlock(dir); <-- Lock released on error return dentry; } However, the nomem_d_alloc error path in cachefiles_get_directory() unconditionally calls inode_unlock(d_inode(dir)) again, causing a double unlock that corrupts the rwsem state. This is a leftover from commit 7ab96df840e60 which replaced manual locking with start_creating() but failed to update the nomem_d_alloc path (while correctly updating mkdir_error and lookup_error paths).
EPSS 0.16% · 5.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 8c256fba2b46020004201c500b2a1fbc707a33ef, 6.19, 26757dac15175f2a42e3537f1ba86e62456d48f1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7ab96df840e60eb933abfe65fc5fe44e72f16dc0, 7ab96df840e60eb933abfe65fc5fe44e72f16dc0 |
| Linux | Linux | 6.19, 0, 7.1.5 |
| Linux | Linux | 7.2, 0, 7.1.5 |
| linux | linux_kernel | 6.19, 6.19 |
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 17, 2026 CVE Updated
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72368
vulnetix vdb fixes CVE-2026-72368
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-72368/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart