CVE-2026-89639

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

HIGH
7.1
CVSS Score
Published: September 11, 2026 at 07:45 PM UTC
Updated: October 19, 2026 at 09:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3513f3931c579ba2a715784c6dedc59e0d9282ee6.12.1056.18.446838bcac954487cc0a3c8a4ee1b3a3a30e244dc97.1.87.275640976cf474eb41682a13f2dbe9534ac26ca50efbcecdecefc26fa062c0e8210533ccad7d6bd4afa724e235cfdb0fb0bb427d0f9dfe864ae27403e
Vendor states this is fixed in 364b183230586a62660a7280c1eb20138338eeb5 (fixed)
Vendor states this is fixed in 81fc3868a7f726980ff845c1d0d271051e5f0f45 (fixed)
Vendor states this is fixed in 8b9b10fe5b8b492b27b9f4546742ea541a650213 (fixed)
Affected range stops below 6.13, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.18.50 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)
Vendor states this is fixed in 7.2.4 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card