← Back to CVE Explorer

CVE-2026-97585

Full vulnerability record from the local CVENow database.

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

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-25 11:17:09.657000
Last modified
2026-10-19 10:17:27.910000
View original CVE JSON
{
  "id": "CVE-2026-97585",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-25T11:17:09.657",
  "lastModified": "2026-10-19T10:17:27.910",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix double-unmap of directory block\n\nFix afs_edit_dir_remove() to use a cleanup function to unmap the block\npointed to by afs_dir_iter::block if it's left pointing to something rather\nthan manually kunmapping the blocks.  Manually kunmapping without clearing\niter.blocks can result in a double-kunmap if afs_dir_find_block() is called\ntwice in a row (which would be the case if the block being modified is not\nfirst in the hash chain)."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/afs/dir_edit.c",
            "fs/afs/dir_search.c",
            "fs/afs/internal.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
              "lessThan": "9d6c703e24da3d39067e3c75f4ac2f6001c2472f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
              "lessThan": "b60f51e4ad0f6f940899788ccc2762db1e3b69e6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
              "lessThan": "e3cfd3eb7d5be7787cc69530b423f788f14d084f",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/afs/dir_edit.c",
            "fs/afs/dir_search.c",
            "fs/afs/internal.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.14",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.14",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.53",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.7",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}