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

afs: Fix double-unmap of directory block

Fix afs_edit_dir_remove() to use a cleanup function to unmap the block
pointed to by afs_dir_iter::block if it's left pointing to something rather
than manually kunmapping the blocks. Manually kunmapping without clearing
iter.blocks can result in a double-kunmap if afs_dir_find_block() is called
twice in a row (which would be the case if the block being modified is not
first in the hash chain).
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption can lead to kernel panic or unexpected termination of AFS operations
Action: Patch
AI Analysis

Impact

The defect in the Linux AFS module allows a double unmap of a directory block when afs_dir_find_block() is invoked twice in succession. If the block pointer is not cleared before the second unmapping, the kernel attempts to free memory that has already been released, which can corrupt kernel memory. Such corruption may propagate to other kernel structures and cause instability, including kernel panics.

Affected Systems

All Linux kernel implementations that load the AFS module before the afs_edit_dir_remove fix are vulnerable. This includes any distribution or custom kernel that has not yet adopted the patch, regardless of the kernel version, because the bug resides in the AFS subsystem of the kernel.

Risk and Exploitability

The CVSS score for this issue is 5.5 and the EPSS score is below 1 %, indicating that exploitation is unlikely in the observed data. The vulnerability is not listed in the CISA KEV catalog. The issue requires local or privileged access to the kernel’s AFS operations, so attack vectors are limited to users or processes that can perform AFS directory modifications. Although no publicly available exploits are documented, the potential for serious kernel memory corruption warrants prompt remediation.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the afs_edit_dir_remove patch to eliminate the double‑unmap condition.
  • If AFS support is not required on the system, unload or disable the AFS module to remove the attack surface.
  • Continuously monitor system logs for signs of kernel instability or crashes after the update to ensure the issue has been fully mitigated.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Fri, 25 Sep 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: afs: Fix double-unmap of directory block Fix afs_edit_dir_remove() to use a cleanup function to unmap the block pointed to by afs_dir_iter::block if it's left pointing to something rather than manually kunmapping the blocks. Manually kunmapping without clearing iter.blocks can result in a double-kunmap if afs_dir_find_block() is called twice in a row (which would be the case if the block being modified is not first in the hash chain).
Title afs: Fix double-unmap of directory block
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:09:48.929Z

Reserved: 2026-09-24T16:01:01.156Z

Link: CVE-2026-97585

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:09.657

Modified: 2026-10-19T10:17:27.910

Link: CVE-2026-97585

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97585 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T09:30:05Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle