CVE-2026-99137: cifs: don't update i_size in cifs_do_truncate without a cached handle
Vulnerability summary
CVE-2026-99137 is a medium (CVSS 4.8) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6% of scored vulnerabilities.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 28-10-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 7.0.0-44.44
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 7.0.0-1018.19
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linuxAll versions (No fix recorded) | < 7.2.13-1
Linux1 product
- linux≥ 110fee6b9bb58a5c50047fc2594d415f741b591e, < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a | ≥ 110fee6b9bb58a5c50047fc2594d415f741b591e, < 88a51743cd8094b76fd910f53f718747c7729cc8 | ≥ 110fee6b9bb58a5c50047fc2594d415f741b591e, < fe39cd9d48f2346605f3746e0cc19e89d5f373eb | 6.18
3 vendors · 171 products