{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e"
            },
            {
              "fixed": "9d6c703e24da3d39067e3c75f4ac2f6001c2472f"
            },
            {
              "fixed": "b60f51e4ad0f6f940899788ccc2762db1e3b69e6"
            },
            {
              "fixed": "e3cfd3eb7d5be7787cc69530b423f788f14d084f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json"
  },
  "details": "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).",
  "id": "CVE-2026-97585",
  "modified": "2026-09-27T03:30:40.932919838Z",
  "published": "2026-09-25T10:22:04.942Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97585"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "afs: Fix double-unmap of directory block"
}