# CVE-2026-97583: afs: Clear stale peer app data after address list changes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **Published:** 2026-09-25T10:22:03.666Z
- **Modified:** 2026-10-19T10:17:27.647Z

## Who should check

- Anyone running Linux \>= 39ba6af83a7f9dee3e6a7916f41a48bcbda54eba, \< 3afb988fd0411707bdafb9b321086fff0da28aae; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< c7f77a11a1e719192c7262aad38a3919aec62c21; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< 7f7f5589d048821dea316cbac9b37d27eaf7530e; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< ba0623fc19a424f4745394c499f9f28a8d88d397; \>= 6.12.101, \< 6.12.111
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

afs: Clear stale peer app data after address list changes

afs\_fs\_probe\_fileserver() fetches the current endpoint state under
server-\>fs\_lock, but leaves old\_alist as NULL.  Consequently,
afs\_set\_peer\_appdata() treats every address list replacement as initial
setup and only binds the new peers; it never unbinds peers removed from
the old list.

An address refresh can therefore proceed as follows.  CPU 0 replaces
server S's list and drops Pold without clearing Pold-\>app\_data.  The
server destroyer then clears only S's current peers and lets S reach its
RCU callback.  After the callback frees S, CPU 1 handles a callback
through an RxRPC connection that still pins Pold, reads Pold-\>app\_data,
and calls afs\_use\_server() on the freed object.

KASAN reported:

  BUG: KASAN: slab-use-after-free in afs\_find\_server+0x3c/0xa0
  Read of size 4 at addr ffff8881013e1af0 by task krxrpcio/7001/74
  Call Trace:
   afs\_find\_server+0x3c/0xa0
   afs\_rx\_new\_call+0x15c/0x390
   rxrpc\_new\_incoming\_call+0x97c/0x1730
   rxrpc\_input\_packet.constprop.0+0xd03/0xec0
   rxrpc\_io\_thread+0x967/0x1640
  Allocated by task 93:
   afs\_lookup\_server+0x1a7/0x14c0
   afs\_alloc\_server\_list+0x43f/0xb60
   afs\_create\_volume+0x923/0x1490
   afs\_get\_tree+0x1c6/0x10a0
  Freed by task 0:
   kfree+0x131/0x3c0
   rcu\_core+0x50a/0x1850
  Last potentially related work creation:
   \_\_call\_rcu\_common.constprop.0+0x71/0xa10
   afs\_put\_server+0x213/0x2b0

Preserve old-\>addresses for the peer app-data update so that removed
peers are cleared before the endpoint state is replaced.  Also advance
both cursors when the old and new lists share a peer; activating the
old/new comparison without this would otherwise loop forever on the
shared entry.

## Affected and fixed versions

- Linux: \>= 39ba6af83a7f9dee3e6a7916f41a48bcbda54eba, \< 3afb988fd0411707bdafb9b321086fff0da28aae; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< c7f77a11a1e719192c7262aad38a3919aec62c21; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< 7f7f5589d048821dea316cbac9b37d27eaf7530e; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< ba0623fc19a424f4745394c499f9f28a8d88d397; \>= 6.12.101, \< 6.12.111 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.111 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97583. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97583.md
Affected: Linux >= 39ba6af83a7f9dee3e6a7916f41a48bcbda54eba, < 3afb988fd0411707bdafb9b321086fff0da28aae; >= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, < c7f77a11a1e719192c7262aad38a3919aec62c21; >= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, < 7f7f5589d048821dea316cbac9b37d27eaf7530e; >= 40e8b52fe8c8ab6920ea5f5…
Fixed in: Linux 3afb988fd0411707bdafb9b321086fff0da28aae, Linux 7f7f5589d048821dea316cbac9b37d27eaf7530e, Linux 6.12.111

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97583 being exploited?

There is no confirmed exploitation: CVE-2026-97583 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97583?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-97583?

Linux \>= 39ba6af83a7f9dee3e6a7916f41a48bcbda54eba, \< 3afb988fd0411707bdafb9b321086fff0da28aae; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< c7f77a11a1e719192c7262aad38a3919aec62c21; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< 7f7f5589d048821dea316cbac9b37d27eaf7530e; \>= 40e8b52fe8c8ab6920ea5f59c5469b6918cce624, \< ba0623fc19a424f4745394c499f9f28a8d88d397; \>= 6.12.101, \< 6.12.111; Linux 6.15.

### Is there a fix for CVE-2026-97583?

Yes. Fixed in Linux 3afb988fd0411707bdafb9b321086fff0da28aae, Linux 7f7f5589d048821dea316cbac9b37d27eaf7530e, Linux 6.12.111. Upgrade Linux to 6.12.111 or later.

### How do I check if I'm affected by CVE-2026-97583?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3afb988fd0411707bdafb9b321086fff0da28aae>
- other: <https://git.kernel.org/stable/c/c7f77a11a1e719192c7262aad38a3919aec62c21>
- other: <https://git.kernel.org/stable/c/7f7f5589d048821dea316cbac9b37d27eaf7530e>
- other: <https://git.kernel.org/stable/c/ba0623fc19a424f4745394c499f9f28a8d88d397>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97583>

HTML: <https://flawdb.com/CVE-2026-97583> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97583>
