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

Published Sep 11, 2026
·
Updated

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

cifs: call pagecacheisizeextended() in cifssetsize() when extending

cifssetsize() calls truncatepagecache() but skips pagecacheisizeextended() on extension. truncatesetsize() shows the correct pattern:

isizewrite(inode, newsize); if (newsize > oldsize) pagecacheisizeextended(inode, oldsize, newsize); truncatepagecache(inode, newsize);

pagecacheisizeextended() 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
Description

Frequently Asked Questions

1

Who is exposed to stale-data disclosure from this issue?

Systems using the Linux kernel CIFS client are exposed when a file is extended through the affected CIFS size-setting path. The risk arises if the page containing the previous end of file has dirty bytes beyond that old EOF.

2

What must happen for stale data to be exposed?

A CIFS file must be extended, leaving a page that straddles the former EOF. Because the tail of that page is not zeroed, dirty data already present there can be written back to the server and become visible in the newly extended file range.

3

How can administrators determine whether the fix is present?

Check whether the kernel's CIFS cifs_setsize() implementation calls pagecache_isize_extended() when newsize is greater than oldsize, before truncate_pagecache(). The referenced stable commits contain the correction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203