CVE-2026-64057
published high CVSS 3.1 · 7.8afs: Fix the locking used by afs_get_link()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxeae9e78951bb02a7b94a9adef6e981413d13c564 to < 93531bca46707c6c28c4f4eb26c101fa36ccb8cb · eae9e78951bb02a7b94a9adef6e981413d13c564 to < 77ea917cbed62882a33114b1e23ededb977e4287 · eae9e78951bb02a7b94a9adef6e981413d13c564 to < c0410adf3da6db46f3513411fcf95e63c2f1d1ad · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.0.11 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oracle-64k | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-aws-64k | Advisory build | 7.0.0-1009.9 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1016-nvidia-64k | Advisory build | 7.0.0-1016.16 | USN-8663-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-headers-7.0.0-2016-nvidia-bos-64k | Advisory build | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu | resolute | linux-ibm | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-ibm-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8593-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-7.0.0-1015-raspi-realtime | Advisory build | 7.0.0-1015.15 | USN-8618-1 |
| Ubuntu | resolute | linux-image-unsigned-7.0.0-1008-oracle | Advisory build | 7.0.0-1008.8 | USN-8593-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The flaw is in the AFS client VFS `->get_link` handler reached only via local syscalls (path resolution, `readlink`, and AFS automount), not from in-kernel network protocol handlers processing remote packets. AC:L - An attacker can reliably trigger the races by spawning concurrent `open`/`readlink`/pathwalk threads against the same AFS symlink, and can also drive server-side invalidation if they have AFS write access to that symlink. PR:L - Exploitation requires only normal filesystem access to traverse or read AFS symlinks on an already-mounted volume; it does not require real init-namespace root, only the same permissions any unprivileged AFS user would have. UI:N - No victim interaction is required beyond the attacker issuing their own concurrent symlink-access syscalls on paths they can already reach. S:U - Impact is confined to kernel memory corruption or disclosure on the AFS client host; it does not cross VM, container, or IOMMU security boundaries. C:H - Missing RCU protection and absent locking around symlink buffer access allow concurrent invalidation/reallocation to expose stale or freed folio memory during RCU pathwalk and concurrent `afs_read_single()` calls. I:H - The unsynchronized buffer races constitute use-after-free class corruption that can be leveraged for heap manipulation and arbitrary kernel writes, not merely a bounded symlink read error. A:H - Use-after-free and concurrent invalidation of symlink folio buffers during active `get_link`/`readlink` operations can cause kernel oopses or panics, and the races are repeatable on demand.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | eae9e78951bb02a7b94a9adef6e981413d13c564 to < 93531bca46707c6c28c4f4eb26c101fa36ccb8cb (affected · git)eae9e78951bb02a7b94a9adef6e981413d13c564 to < 77ea917cbed62882a33114b1e23ededb977e4287 (affected · git)eae9e78951bb02a7b94a9adef6e981413d13c564 to < c0410adf3da6db46f3513411fcf95e63c2f1d1ad (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.0.11 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
afs: Fix the locking used by afs_get_link()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f1e584c42c7f4ee90515d813103d33f479a846ddfb51f4d3e2ed2c61aee323fb
- Ingested
- 15 Oct 2026, 13:18:33 UTC
- Source record
- Official CVE record