CVE-2026-99137
publishedcifs: don't update i_size in cifs_do_truncate without a cached handle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux110fee6b9bb58a5c50047fc2594d415f741b591e to < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a · 110fee6b9bb58a5c50047fc2594d415f741b591e to < 88a51743cd8094b76fd910f53f718747c7729cc8 · 110fee6b9bb58a5c50047fc2594d415f741b591e to < fe39cd9d48f2346605f3746e0cc19e89d5f373eb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.59 through 6.18.* (unaffected · semver) · 7.2.13 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-headers-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-headers-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-44 | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-lib-rust-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-modules-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-modules-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-modules-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21~24.04.1 | USN-9190-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20~24.04.1 | USN-9166-1 |
| Ubuntu | noble | linux-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | noble | linux-tools-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44~24.04.1 | USN-9190-2 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1011-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1011-gke-64k | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1019-ibm | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1019-oem | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1024-raspi | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1024-raspi-realtime | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-generic | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-generic-64k | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-realtime | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-44-realtime-64k | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44 | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44-generic | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-44-realtime | Advisory build | 7.0.0-44.44.1 | USN-9190-1 |
| Ubuntu | resolute | linux-cloud-tools-common | Advisory build | 7.0.0-44.44 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gcp-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-gke-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-gke-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-vmware | Advisory build | 7.0.0-1007.7 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1011-gke | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1011-gke-64k | Advisory build | 7.0.0-1011.12 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1017-oracle | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1017-oracle-64k | Advisory build | 7.0.0-1017.21 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-aws | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-aws-64k | Advisory build | 7.0.0-1018.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-gcp | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1018-gcp-64k | Advisory build | 7.0.0-1018.20 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1019-ibm | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1019-oem | Advisory build | 7.0.0-1019.19 | USN-9166-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1020-azure-fde | Advisory build | 7.0.0-1020.20 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1024-raspi | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1024-raspi-realtime | Advisory build | 7.0.0-1024.24 | USN-9190-1 |
| Ubuntu | resolute | linux-headers-7.0.0-44 | Advisory build | 7.0.0-44.44 | USN-9166-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 110fee6b9bb58a5c50047fc2594d415f741b591e to < 04d020b3d0b58a1b7e116900e4095b96a7f4e11a (affected · git)110fee6b9bb58a5c50047fc2594d415f741b591e to < 88a51743cd8094b76fd910f53f718747c7729cc8 (affected · git)110fee6b9bb58a5c50047fc2594d415f741b591e to < fe39cd9d48f2346605f3746e0cc19e89d5f373eb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.59 through 6.18.* (unaffected · semver)7.2.13 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
cifs: don't update i_size in cifs_do_truncate without a cached handle
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 663513ef518898f58a31bdfcd6b5fa260bbe8027a017e50aa168ee1b7aefeeb7
- Ingested
- 28 Oct 2026, 10:43:50 UTC
- Source record
- Official CVE record