CVE-2026-99137
cifs: don't update i_size in cifs_do_truncate without a cached handle
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb
- Anyone running Linux 6.18
Vulnerability facts
- Affected
- Linux >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb; Linux 6.18
- Fixed in
- Linux 04d020b3d0b58a1b7e116900e4095b96a7f4e11a, Linux 88a51743cd8094b76fd910f53f718747c7729cc8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: don't update i_size in cifs_do_truncate without a cached handle If find_writable_file() returns null, cifs_file_flush will return 0 without issuing set_file_size, and the outer 'if (!rc)' block will set i_size to 0 before telling the server to truncate. If the cifs_open() then fails, the inode will have size 0, while the server file is unchanged. Move the netfs_resize_file() and cifs_setsize() into the 'if (cfile)', so they only run after a successful set_file_size. In the no-handle else branch, evict stale pages with truncate_inode_pages before the O_TRUNC open to dispose of old cache pages, and let the open response set the i_size.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb | — | cvelist |
| Linux | 6.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99137. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99137.md Affected: Linux >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb; Linux 6.18 Fixed in: Linux 04d020b3d0b58a1b7e116900e4095b96a7f4e11a, Linux 88a51743cd8094b76fd910f53f718747c7729cc8 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.
References
FAQ
Is CVE-2026-99137 being exploited?
There is no confirmed exploitation: CVE-2026-99137 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99137?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99137?
Linux >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8; >= 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb; Linux 6.18.
Is there a fix for CVE-2026-99137?
Yes. Fixed in Linux 04d020b3d0b58a1b7e116900e4095b96a7f4e11a, Linux 88a51743cd8094b76fd910f53f718747c7729cc8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99137?
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.