# CVE-2026-89642: cifs: call pagecache_isize_extended() in cifs_setsize() when extending

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-11T19:45:34.778Z
- Modified: 2026-10-30T13:20:23.747Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cifs: call pagecache_isize_extended() in cifs_setsize() when extending

cifs_setsize() calls truncate_pagecache() but skips
pagecache_isize_extended() on extension.  truncate_setsize() shows
the correct pattern:

  i_size_write(inode, newsize);
  if (newsize > oldsize)
      pagecache_isize_extended(inode, oldsize, newsize);
  truncate_pagecache(inode, newsize);

pagecache_isize_extended() zeroes the tail of the page straddling old
EOF.  Without it, dirty bytes in that region can be written back to
the server, exposing stale data in the newly extended range.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 880e1b5883a5d78d916fa446791c48f28a16719b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5463d96cd2e46064ceefcf861b028745a4f4c373; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 40c16040783abcc240bd1b453e679ea6ca30e19e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e1f692b6da3e632a25d0b3a99f833bb609bae1a3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 12bafe32f09c0d24f5096154b59c347b9c6606e0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c510edb9734af1c274d18f4f31a471a166bbc7e8; 2.6.12 (not affected: before 2.6.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/880e1b5883a5d78d916fa446791c48f28a16719b>
- <https://git.kernel.org/stable/c/5463d96cd2e46064ceefcf861b028745a4f4c373>
- <https://git.kernel.org/stable/c/40c16040783abcc240bd1b453e679ea6ca30e19e>
- <https://git.kernel.org/stable/c/e1f692b6da3e632a25d0b3a99f833bb609bae1a3>
- <https://git.kernel.org/stable/c/12bafe32f09c0d24f5096154b59c347b9c6606e0>
- <https://git.kernel.org/stable/c/c510edb9734af1c274d18f4f31a471a166bbc7e8>

## Sources

- CVE List: [CVE-2026-89642](https://www.cve.org/CVERecord?id=CVE-2026-89642), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89642](https://nvd.nist.gov/vuln/detail/CVE-2026-89642), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89642 · Whole record: https://cve.day/CVE-2026-89642.json · Rebuilt by cve.day 2026-11-25T22:59:38.095Z
