Skip to contentSkip to conversation

vfs fixes

GIT PULL Merged Christian Brauner 2 participants 2 messages Sep 4, 2024 VFS

lore
Share & tools
lore

Christian Brauner

author maintainer
#0 lore raw

/* Summary */
This contains two fixes for this merge window:

netfs:

- Ensure that fscache_cookie_lru_time is deleted when the fscache module is removed to prevent UAF.
- Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range(). Before it used truncate_inode_pages_partial() which causes copy_file_range() to fail on cifs.

/* Testing */
Debian clang version 16.0.6 (27+b1)
gcc (Debian 14.2.0-1) 14.2.0

/* Conflicts */
No known conflicts.

The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:

Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11-rc7.fixes

for you to fetch changes up to 72a6e22c604c95ddb3b10b5d3bb85b6ff4dbc34f:

fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF (2024-09-01 10:30:25 +0200)

Please consider pulling these changes from the signed vfs-6.11-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11-rc7.fixes

----------------------------------------------------------------
Baokun Li (1):
fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF

David Howells (1):
mm: Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range()

 fs/netfs/fscache_main.c | 1 +
 mm/filemap.c            | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)