CVE-2026-89642

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

State
Published
Severity
Not scored
Published
Sep 11, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 880e1b5883a5d78d916fa446791c48f28a16719bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5463d96cd2e46064ceefcf861b028745a4f4c373Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 40c16040783abcc240bd1b453e679ea6ca30e19eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e1f692b6da3e632a25d0b3a99f833bb609bae1a3Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 12bafe32f09c0d24f5096154b59c347b9c6606e0Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c510edb9734af1c274d18f4f31a471a166bbc7e8Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.