VDB

CVE-2026-64057

CVE-2026-64057 PUBLISHED CVSS 7.8 HIGH

afs: Fix the locking used by afs_get_link()

Reported by linux · Published July 19, 2026

In the Linux kernel, the following vulnerability has been resolved: afs: Fix the locking used by afs_get_link() The afs filesystem in the kernel doesn't do locking correctly for symbolic links. There are a number of problems: (1) It doesn't do any locking around afs_read_single() to prevent races between multiple ->get_link() calls, thereby allowing the possibility of leaks. (2) It doesn't use RCU barriering when accessing the buffer pointers during RCU pathwalk. (3) It can race with another thread updating the contents of the symlink if a third party updated it on the server. Fix this by the following means: (0) Move symlink handling into its own file as this makes it more complicated. (1) Take the validate_lock around afs_read_single() to prevent races between multiple ->get_link() calls. (2) Keep a separate copy of the symlink contents with an rcu_head. This is always going to be a lot smaller than a page, so it can be kmalloc'd and save quite a bit of memory. It also needs a refcount for non-RCU pathwalk. (3) Split the symlink read and write-to-cache routines in afs from those for directories. (4) Discard the I/O buffer as soon as the write-to-cache completes as this is a full page (plus a folio_queue). (5) If there's no cache, discard the I/O buffer immediately after reading and copying if there is no cache.

EPSS 0.13% · 2.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.11

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.13%
2.9th percentile

Affected products

VendorProductVersions
LinuxLinuxeae9e78951bb02a7b94a9adef6e981413d13c564, eae9e78951bb02a7b94a9adef6e981413d13c564, eae9e78951bb02a7b94a9adef6e981413d13c564
LinuxLinux6.14, 0, 6.18.57
chainguardlinux-gcp-6.18*
linuxlinux_kernel6.14, 6.14, 6.14
chainguardlinux-vmware-6.18*
chainguardlinux-qemu-6.18*
LinuxLinux6.18.57, 0, 7.0.11
chainguardlinux-qemu-melange0
chainguardlinux-azure-6.18*
chainguardlinux-aws-6.18*

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Jul 30, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score (10 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64057
vulnetix vdb fixes CVE-2026-64057

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-64057/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 ›