What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89642 or the next vulnerability affects your stack