---
id: CVE-2026-97585
title: |-
  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…
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e <
    9d6c703e24da3d39067e3c75f4ac2f6001c2472f
  - >-
    Linux >= a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e <
    b60f51e4ad0f6f940899788ccc2762db1e3b69e6
  - >-
    Linux >= a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e <
    e3cfd3eb7d5be7787cc69530b423f788f14d084f
  - Linux 6.14
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T11:17:09.657'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97585'
references:
  - url: 'https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.908Z'
---

## Overview

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).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
