# CVE-2026-89639: cifs: use cifs\_invalidate\_cache() in cifs\_do\_truncate() for O\_TRUNC

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-30)
- **Published:** 2026-09-11T19:45:32.532Z
- **Modified:** 2026-10-19T09:18:01.053Z

## Who should check

- Anyone running Linux \>= efbcecdecefc26fa062c0e8210533ccad7d6bd4a, \< 8b9b10fe5b8b492b27b9f4546742ea541a650213; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 81fc3868a7f726980ff845c1d0d271051e5f0f45; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 364b183230586a62660a7280c1eb20138338eeb5; 6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9; 75640976cf474eb41682a13f2dbe9534ac26ca50; 3513f3931c579ba2a715784c6dedc59e0d9282ee; \>= 6.18.44, \< 6.18.50; \>= 6.12.105, \< 6.13; \>= 7.1.8, \< 7.2
- Anyone running Linux 7.2

## 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 and fixed versions

- Linux: \>= efbcecdecefc26fa062c0e8210533ccad7d6bd4a, \< 8b9b10fe5b8b492b27b9f4546742ea541a650213; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 81fc3868a7f726980ff845c1d0d271051e5f0f45; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 364b183230586a62660a7280c1eb20138338eeb5; 6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9; 75640976cf474eb41682a13f2dbe9534ac26ca50; 3513f3931c579ba2a715784c6dedc59e0d9282ee; \>= 6.18.44, \< 6.18.50; \>= 6.12.105, \< 6.13; \>= 7.1.8, \< 7.2 (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- Upgrade Linux to 7.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89639. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89639.md
Affected: Linux >= efbcecdecefc26fa062c0e8210533ccad7d6bd4a, < 8b9b10fe5b8b492b27b9f4546742ea541a650213; >= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, < 81fc3868a7f726980ff845c1d0d271051e5f0f45; >= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, < 364b183230586a62660a7280c1eb20138338eeb5; 6838bcac954487cc0a3c8a4ee1…
Fixed in: Linux 8b9b10fe5b8b492b27b9f4546742ea541a650213, Linux 81fc3868a7f726980ff845c1d0d271051e5f0f45, Linux 364b183230586a62660a7280c1eb20138338eeb5, Linux 6.18.50, Linux 6.13, Linux 7.2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89639 being exploited?

There is no confirmed exploitation: CVE-2026-89639 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-89639?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89639?

Linux \>= efbcecdecefc26fa062c0e8210533ccad7d6bd4a, \< 8b9b10fe5b8b492b27b9f4546742ea541a650213; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 81fc3868a7f726980ff845c1d0d271051e5f0f45; \>= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \< 364b183230586a62660a7280c1eb20138338eeb5; 6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9; 75640976cf474eb41682a13f2dbe9534ac26ca50; 3513f3931c579ba2a715784c6dedc59e0d9282ee; \>= 6.18.44, \< 6.18.50; \>= 6.12.105, \< 6.13; \>= 7.1.8, \< 7.2; Linux 7.2.

### Is there a fix for CVE-2026-89639?

Yes. Fixed in Linux 8b9b10fe5b8b492b27b9f4546742ea541a650213, Linux 81fc3868a7f726980ff845c1d0d271051e5f0f45, Linux 364b183230586a62660a7280c1eb20138338eeb5, Linux 6.18.50, Linux 6.13, Linux 7.2. Upgrade Linux to 7.2 or later.

### How do I check if I'm affected by CVE-2026-89639?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8b9b10fe5b8b492b27b9f4546742ea541a650213>
- other: <https://git.kernel.org/stable/c/81fc3868a7f726980ff845c1d0d271051e5f0f45>
- other: <https://git.kernel.org/stable/c/364b183230586a62660a7280c1eb20138338eeb5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89639>

HTML: <https://flawdb.com/CVE-2026-89639> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89639>
