[GIT PULL v2] overlayfs fixes for 5.14-rc6

From: Miklos Szeredi
Date: Tue Aug 10 2021 - 11:04:15 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-fixes-5.14-rc6-v2

Fix several bugs in overlayfs.

Fixes have been in linux-next for a fair amount of time, the recent commit
timestamps are due to moving these fixes to the front of the patch queue.

v2: drop mmap denywrite fix.

Thanks,
Miklos

---
Amir Goldstein (1):
ovl: skip stale entries in merge dir cache iteration

Miklos Szeredi (3):
ovl: fix deadlock in splice write
ovl: fix uninitialized pointer read in ovl_lookup_real_one()
ovl: prevent private clone if bind mount is not allowed

---
fs/namespace.c | 42 ++++++++++++++++++++++++++++--------------
fs/overlayfs/export.c | 2 +-
fs/overlayfs/file.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
fs/overlayfs/readdir.c | 5 +++++
4 files changed, 80 insertions(+), 16 deletions(-)