Description
In the Linux kernel, the following vulnerability has been resolved:

cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC

cifs_do_truncate() is invoked from cifs_open() without i_rwsem, so it
cannot use cifs_resize_file_locked() to perform a proper fscache cookie
resize. Instead, add cifs_invalidate_cache() after cifs_setsize().

cifs_invalidate_cache() calls fscache_invalidate(), which works without
holding i_rwsem: it unconditionally increments inval_counter and sets
FSCACHE_COOKIE_NO_DATA_TO_READ, ensuring that stale cached data is not
served once the cookie is later activated by fscache_use_cookie().
Truncation to zero leaves no valid cached data, making invalidation the
correct semantic here.
Published: 2026-09-11
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

When a file is truncated to zero length via a CIFS/SMB share, the kernel’s truncate routine fails to invalidate the stale cache data on the client side. The missing invalidation allows the file system cache to continue serving old contents that were logically removed, exposing information that should no longer be accessible. This flaw is a misuse of the fscache subsystem and manifests as a confidentiality breach rather than code execution or privilege escalation (CWE-524).

Affected Systems

All Linux kernel versions that ship a CIFS client prior to the commit that adds cifs_invalidate_cache() into cifs_do_truncate() are affected. The issue surfaces when a CIFS/SMB share is mounted with caching enabled, such as when using the fscache shares that use the fscache module on these kernels are at risk if the share contains sensitive data that might be truncated by an attacker or by legitimate operations.

Risk and Exploitability

The CVSS base score of 3.3 indicates low severity. The EPSS score of < 1% indicates a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires write access to a CIFS/SMB share and the ability to truncate a file; an attacker with such access can trigger the bug and cause stale cached data to be served. No elevated privileges or privilege escalation are required, and no code execution is possible.

Generated by OpenCVE AI on September 13, 2026 at 01:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the CIFS cache invalidation commit (e.g., commits 364b183, 81fc3868, or 8b9b10fe).
  • If a kernel upgrade is not immediately feasible, remount CIFS shares with caching disabled (using mount options such as "cache=none") or unload the fscache module for CIFS to prevent stale data from being served.
  • Limit write access to SMB/CIFS shares so that only trusted users can perform file truncation, reducing the chance that the cache bug can be triggered.

Generated by OpenCVE AI on September 13, 2026 at 01:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sat, 12 Sep 2026 12:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Low


Sat, 12 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC cifs_do_truncate() is invoked from cifs_open() without i_rwsem, so it cannot use cifs_resize_file_locked() to perform a proper fscache cookie resize. Instead, add cifs_invalidate_cache() after cifs_setsize(). cifs_invalidate_cache() calls fscache_invalidate(), which works without holding i_rwsem: it unconditionally increments inval_counter and sets FSCACHE_COOKIE_NO_DATA_TO_READ, ensuring that stale cached data is not served once the cookie is later activated by fscache_use_cookie(). Truncation to zero leaves no valid cached data, making invalidation the correct semantic here.
Title cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC
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-09-11T19:45:32.532Z

Reserved: 2026-09-11T19:38:34.740Z

Link: CVE-2026-89639

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:49.617

Modified: 2026-09-11T20:19:49.617

Link: CVE-2026-89639

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-11T19:45:32Z

Links: CVE-2026-89639 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T01:45:07Z

Weaknesses
  • CWE-524

    Use of Cache Containing Sensitive Information