Skip to content
Heist/ feed
Back to feed
UnratedFix available

afs: Fix afs_edit_dir_remove() to get, not find, block 0

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs_edit_dir_remove() to get, not find, block 0 Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather than afs_dir_find_block() as the latter caches the found block in the afs_dir_iter and may[*] switch out the page it's on if another afs_dir_find_block() is done. This parallels what afs_edit_dir_add() does. [*] There's more than one block per page.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.42, 7.1.6
CVEs
CVE-2026-68168
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:14 UTC · Revision 1

Source evidence

afs: Fix afs_edit_dir_remove() to get, not find, block 0

core-osv · Original source

Published 10 Aug 2026, 11:59 UTC

In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs_edit_dir_remove() to get, not find, block 0 Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather than afs_dir_find_block() as the latter caches the found block in the afs_dir_iter and may[*] switch out the page it's on if another afs_dir_find_block() is done. This parallels what afs_edit_dir_add() does. [*] There's more than one block per page.

osv:CVE-2026-68168

Kernel

Fixed versions: 6.18.42, 7.1.6

Complete source record
{
  "id": "4150b6e16ea7e4d1a9622e0a9369a425f7aaf09fee3cf4322101564ee80916e1",
  "url": "https://osv.dev/vulnerability/CVE-2026-68168",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "afs: Fix afs_edit_dir_remove() to get, not find, block 0",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs_edit_dir_remove() to get, not find, block 0 Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather than afs_dir_find_block() as the latter caches the found block in the afs_dir_iter and may[*] switch out the page it's on if another afs_dir_find_block() is done. This parallels what afs_edit_dir_add() does. [*] There's more than one block per page.",
    "evidence": "osv:CVE-2026-68168",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.42",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-68168",
      "aliases": [
        "CVE-2026-68168"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e"
                },
                {
                  "fixed": "f2b293359924117736218701ebd8b40618d73e6f"
                },
                {
                  "fixed": "bfdfc7782ada6f3a4df7182889b66039f8e4131c"
                },
                {
                  "fixed": "62d9853aa4ce6e9797b6949804891be14b219752"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68168.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.18.42"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68168.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.529392852Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/62d9853aa4ce6e9797b6949804891be14b219752",
        "https://git.kernel.org/stable/c/bfdfc7782ada6f3a4df7182889b66039f8e4131c",
        "https://git.kernel.org/stable/c/f2b293359924117736218701ebd8b40618d73e6f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68168.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-68168",
        "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/68xxx/CVE-2026-68168.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-68168",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497723,
  "published_at": "2026-08-10T11:59:36.633+00:00"
}