CVE-2026-97584

afs: Fix incorrect free in candidate cleanup in afs_lookup_server()

Published Sep 25, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, the AFS subsystem contains a flaw where afs_lookup_server() performs an incorrect free of an endpoint state during candidate cleanup. This misuse of the free routine corrupts kernel memory, which can lead to instability, crashes, or unintended alteration of kernel data structures. The vulnerability is identified as CWE‑826, the incorrect deallocation of a pointer.

Affected Systems

All Linux kernel installations that include the AFS subsystem are affected. Prior to the inclusion of commit 044d596094af4b769fb8e1173dff0d08bd68db6c, any kernel with AFS support is vulnerable. The fix removes the problematic free call, so updating to a kernel containing that commit resolves the issue.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability. The EPSS score of less than 1% suggests a low probability of exploitation at this time, and the vulnerability is not included in the CISA KEV catalog. While the flaw corrupts kernel memory, there is no documented evidence of arbitrary code execution in the available advisories. Potential exploitation would likely require an attacker to interact with the AFS subsystem to trigger the free operation, but such an attack path has not been confirmed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes commit 044d596094af4b769fb8e1173dff0d08bd68db6c, which removes the incorrect free operation.
  • If an upgrade cannot be performed immediately, disable AFS support by unloading the afs module or rebuilding the kernel with AFS disabled to prevent the vulnerable routine from executing.
  • Restart any AFS‑dependent services after applying the patch or after disabling the module to ensure a clean state.

Generated by OpenCVE AI on October 1, 2026 at 09:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title afs: Fix incorrect free in candidate cleanup in afs_lookup_server()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-826

    Premature Release of Resource During Expected Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:09 AM
Reserved
Sep 24, 2026, 4:01 PM
Status
Received
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 19, 2026, 10:17 AM
Severity
Moderate
Public date
Sep 25, 2026, 12:00 AM