Description
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.
Published: 2026-08-10
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the AFS file system kernel code where the function afs_edit_dir_remove() used the wrong helper, afs_dir_find_block(), to obtain block 0. This function caches the found block and can switch out the page it occupies when another find operation occurs. As a result, operations on block 0 may act on an unexpected or stale page, leading to data corruption or integrity failures when removing directories. The bug is analogous to the add operation, which correctly uses afs_dir_get_block(). The vulnerability could lead to filesystem metadata corruption when block 0 is operated on incorrectly, potentially causing integrity failures during directory removal.

Affected Systems

All Linux kernel builds that include the AFS module without the applied fix are affected. The specific versions impacted are not enumerated in the advisory, so any release prior to the patch that ships the faulty code may be vulnerable.

Risk and Exploitability

The EPSS score is <1%, implying a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploits. The CVSS score of 5.5 indicates a moderate severity. The attack vector appears to require local access with the ability to trigger afs_edit_dir_remove(), likely through AFS operations or vulnerable applications that manipulate AFS directories. With the current lack of public exploits, the immediate risk level remains moderate, but it should be treated with urgency in environments that rely on the AFS file system.

Generated by OpenCVE AI on August 13, 2026 at 10:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the fix for afs_edit_dir_remove()
  • If an immediate kernel upgrade is not possible, disable or limit the use of the AFS module to reduce exposure
  • Review and, if necessary, patch or replace applications that interact heavily with the AFS file system to avoid triggering directory removal during concurrent operations
  • Enable kernel debugging and filesystem logging to detect anomalous block operations and react promptly

Generated by OpenCVE AI on August 13, 2026 at 10:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-753

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Mon, 10 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-753

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title afs: Fix afs_edit_dir_remove() to get, not find, block 0
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:00:08.675Z

Reserved: 2026-07-30T09:28:09.372Z

Link: CVE-2026-68168

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:03.367

Modified: 2026-08-17T05:18:17.350

Link: CVE-2026-68168

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68168 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:15:07Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition