Skip to content
Heist/ feed
Back to feed
UnratedFix available

afs: Fix double-unmap of directory block

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.53, 7.2.7
CVEs
CVE-2026-97585
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 22:51 UTC · Revision 1

Source evidence

afs: Fix double-unmap of directory block

core-osv · Original source

Published 25 Sept 2026, 10:22 UTC

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

osv:CVE-2026-97585

Kernel

Fixed versions: 6.18.53, 7.2.7

Complete source record
{
  "id": "883924e4beb60dc98e44b1c934b35677190680c637d3bd24a89f55100fb54ef3",
  "url": "https://osv.dev/vulnerability/CVE-2026-97585",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "afs: Fix double-unmap of directory block",
    "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 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).",
    "evidence": "osv:CVE-2026-97585",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-97585",
      "aliases": [
        "CVE-2026-97585"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e"
                },
                {
                  "fixed": "9d6c703e24da3d39067e3c75f4ac2f6001c2472f"
                },
                {
                  "fixed": "b60f51e4ad0f6f940899788ccc2762db1e3b69e6"
                },
                {
                  "fixed": "e3cfd3eb7d5be7787cc69530b423f788f14d084f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97585.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.18.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97585.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.077346792Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f",
        "https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6",
        "https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-97585",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-97585",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 507745,
  "published_at": "2026-09-25T10:22:04.942+00:00"
}