vfs fixes
Christian Brauner
maintainerHey Linus,
/* Summary */
This contains some final fixes for the current cycle:
- afs: Fix delayed allocation of a cell's anonymous key
The allocation of a cell's anonymous key is done in a background thread along with other cell setup such as doing a DNS upcall. The normal key lookup tries to use the key description on the anonymous authentication key as the reference for request_key() - but it may not yet be set, causing an oops.
- ovl: fail ovl_lock_rename_workdir() if either target is unhashed
As well as checking that the parent hasn't changed after getting the lock, the code needs to check that the dentry hasn't been unhashed. Otherwise overlayfs might try to rename something that has been removed.
- namespace: fix a reference leak in grab_requested_mnt_ns
lookup_mnt_ns() already takes a reference on mnt_ns. grab_requested_mnt_ns() doesn't need to take an extra reference.
/* Testing */
gcc (Debian 15.2.0-7) 15.2.0
Debian clang version 19.1.7 (10)
No build failures or warnings were observed.
/* Conflicts */
Merge conflicts with mainline
=============================
No known conflicts.
Merge conflicts with other trees
================================
No known conflicts.
The following changes since commit ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d:
Linux 6.18-rc7 (2025-11-23 14:53:16 -0800)
are available in the Git repository at:
[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc8.fixes
for you to fetch changes up to d27c71257825dced46104eefe42e4d9964bd032e:
afs: Fix delayed allocation of a cell's anonymous key (2025-11-28 11:30:10 +0100)
Please consider pulling these changes from the signed vfs-6.18-rc8.fixes tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.18-rc8.fixes
----------------------------------------------------------------
Andrei Vagin (1):
fs/namespace: fix reference leak in grab_requested_mnt_ns
David Howells (1):
afs: Fix delayed allocation of a cell's anonymous key
NeilBrown (1):
ovl: fail ovl_lock_rename_workdir() if either target is unhashed
fs/afs/cell.c | 43 ++++++++----------------------------------- fs/afs/internal.h | 1 + fs/afs/security.c | 48 ++++++++++++++++++++++++++++++++++++++++-------- fs/namespace.c | 7 ++++--- fs/overlayfs/util.c | 4 ++-- 5 files changed, 55 insertions(+), 48 deletions(-)
The pull request you sent on Fri, 28 Nov 2025 17:46:06 +0100:
The pull request you sent on Fri, 28 Nov 2025 17:46:06 +0100:
Quoted 1 line
[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc8.fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f3b17337b943949d0f3d12835d10d866210aeee8
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html