VDB

CVE-2026-72368

CVE-2026-72368 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
LinuxLinux8c256fba2b46020004201c500b2a1fbc707a33ef, 6.19, 26757dac15175f2a42e3537f1ba86e62456d48f1

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.16%
5.8th percentile

Affected products

VendorProductVersions
LinuxLinux7ab96df840e60eb933abfe65fc5fe44e72f16dc0, 7ab96df840e60eb933abfe65fc5fe44e72f16dc0
LinuxLinux6.19, 0, 7.1.5
LinuxLinux7.2, 0, 7.1.5
linuxlinux_kernel6.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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›