[git pull] fix bitmap corruption on close_range(), take 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Variant that deals with that in copy_fd_bitmaps() rather than in dup_fd()
Sat in -next since last week...

The following changes since commit 8aa37bde1a7b645816cda8b80df4753ecf172bf1:

  protect the fetch of ->fd[fd] in do_dup2() from mispredictions (2024-08-01 15:51:57 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes

for you to fetch changes up to 9a2fa1472083580b6c66bdaf291f591e1170123a:

  fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE (2024-08-05 19:23:11 -0400)

----------------------------------------------------------------
fix bitmap corruption on close_range(), take 2

----------------------------------------------------------------
Al Viro (1):
      fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE

 fs/file.c                                       | 30 +++++++++------------
 include/linux/bitmap.h                          | 12 +++++++++
 tools/testing/selftests/core/close_range_test.c | 35 +++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 17 deletions(-)




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux