CVE-2026-64057
Last modified
CVE-2026-64057 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eae9e78951bb02a7b94a9adef6e981413d13c564, < 77ea917cbed62882a33114b1e23ededb977e4287; >= eae9e78951bb02a7b94a9adef6e981413d13c564, < c0410adf3da6db46f3513411fcf95e63c2f1d1ad |
| Linux | Linux | 6.14 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-64057?
How severe is CVE-2026-64057?
How do I fix CVE-2026-64057?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64051In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64052In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64053In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64054In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64055In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64056In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64058In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64059In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6406The Docker CLI --use-api-socket flag bypasses Enhanced Conta…8.8
- CVE-2026-64060In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64061In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64062In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-64057?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
