]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: zero stale pagecache beyond valid data length
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 22 May 2026 12:46:23 +0000 (14:46 +0200)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 2 Jun 2026 15:02:31 +0000 (17:02 +0200)
commit4f165b1ff99a7baf2e38df0a1093fcc120d259a3
tree8df2ba1959ce246c5c5759e814fd385fa65c1b1b
parent33f29fc7c67e1d7235755202697370f486a25413
fs/ntfs3: zero stale pagecache beyond valid data length

Zero cached folios beyond the valid data length when closing a writable
mapping. This keeps cached data beyond initialized file contents zeroed
and prevents stale pagecache exposure after mmap-based writes.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c