CVE-2026-97585

Description

A flaw was found in the Linux kernel's AFS (Andrew File System) implementation. When removing an entry from an AFS directory, improper tracking of mapped directory blocks can lead to a double unmap operation on the same memory block. A local user could exploit this flaw by performing directory modifications, potentially leading to a Denial of Service (DoS) due to a kernel crash or memory corruption.

Statement

A moderate impact flaw was found in the Linux kernel's AFS (Andrew File System) implementation. When removing an entry from an AFS directory, the afs_edit_dir_remove() function manually unmaps a mapped directory block without clearing the iterator state, so if afs_dir_find_block() is called a second time (which happens when the block being modified is not first in the hash chain), the same block can be unmapped twice. A local user with permission to modify an AFS directory can trigger this flaw through directory modification operations, potentially leading to a kernel crash or memory corruption and resulting in a denial of service. Red Hat rates this flaw MODERATE (CVSS 3.1: 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H); no confidentiality or integrity impact has been established.

The vulnerable code is present only in newer kernel streams: Red Hat Enterprise Linux 10 (rhel-10.2.z, rhel-10.3, and rhel-10.4), Red Hat In-Vehicle OS 2 (kernel and kernel-ivos-qualcomm), and the OpenShift Container Platform 5.0 RHEL CoreOS 9 kernel are affected. Earlier Red Hat Enterprise Linux versions (including RHEL 6, HEL 7, 8, 9, and RHEL 10.0.z), the real-time (kernel-rt) variants, and the OpenShift 4.x streams are not affected because the code that introduced this flaw is not present in those products. For the affected products the fix is currently deferred and will be delivered in a future update; the residual risk is a local denial of service on systems where AFS filesystems are mounted and unprivileged local users are able to modify AFS directories.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability,Integrity

Technical Impact: DoS: Crash, Exit, or Restart

Frequently Asked Questions

Want to get errata notifications? Sign up here.