CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's CIFS (Common Internet File System) implementation, specifically in the handling of file size extensions during the `cifs_setsize()` operation. This oversight can lead to the exposure of stale data, as dirty bytes in the newly extended file region may be written back to the server without proper zeroing. Organizations utilizing Linux systems with CIFS should prioritize addressing this issue to prevent potential data leakage.
Original NVD 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.