Skip to content
Heist/ feed
Unrated

afs: Fix double-unmap of directory block

Type: advisorySource: Official CVE List1 source record

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

Announced Source revision 1
Original source ↗

CVE-2026-97585

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97585

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
        "lessThan": "9d6c703e24da3d39067e3c75f4ac2f6001c2472f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
        "lessThan": "b60f51e4ad0f6f940899788ccc2762db1e3b69e6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
        "lessThan": "e3cfd3eb7d5be7787cc69530b423f788f14d084f",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/afs/dir_edit.c",
      "fs/afs/dir_search.c",
      "fs/afs/internal.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/afs/dir_edit.c",
      "fs/afs/dir_search.c",
      "fs/afs/internal.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97585

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38031 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement