linux/fs
Linus Torvalds ca62fc8c6b overlayfs fixes for 7.3
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE9zuTYTs0RXF+Ke33EVvVyTe/1WoFAmrkiJ8ACgkQEVvVyTe/
 1WqORg//XFzfWHcZWj9xutS0rNLnMHvvAa/aXO+7+V5/Dq6/12iQnKjzCRHIGDbj
 Pyb/PY+foJuXrNu3kqM4xxtX77zB628px3KUlYXSS0FmwO1sRu6Q+NERsHUsAoaM
 oFeWopsYODB+IsUR1saZylaAIhEV49fn4CWGLNZA+pqWQSIRgMXixJleacPWph5+
 k4r/hmVbXc3BkBZdtpUdfgSsctowv402Y/qMYzY8wIDYcDA5d5hhT57mEEt2Y7KY
 lQuArvn6wlx2Qds2vudYDajJjNJt3zpSNhc7omLlyP+0b+JA1F+xZQ3pWdUQZxus
 FaO9L4rM1lfqA3TTKIpsoWE84YpfWguwpxZInYfMHwRnrRy59lhGxuOeslBWOXqe
 skB/j+pkIpYc/Eq54GffC2NdNpeHa7LOqfJiWVZGeGMhGRLSyNpIYQWmbENBqDVz
 GN/4ozM1bbeTmgdzVYt3WAcy+ZbeNSuLBfvY77At4qJYkJbv5oPXetMTW6XXiQal
 EGnbLCY6TunIEGQIp+OLzZC5fpu+AwGFr+ZSXWt0bLnvpSm/pXjzYdM9fv2kFYCc
 1kPXkvx0LkjIO0g6u4ejCLWDsRCaPd0QdVLnyEnwqi5fBOGBHCflbVAAy0PMqe/h
 SZplOOwux/bknMtWNbuDER6Y8EjP3Fl36fdmLem49z4KJH0y1Uc=
 =HGfC
 -----END PGP SIGNATURE-----

Merge tag 'ovl-fixes-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs

Pull overlayfs fixes from Amir Goldstein:

 - Fixes for bugs found by Chris Mason's AI review, several of them
   reachable by unprivileged users: an info leak, use-after-free and
   NULL deref bugs, an RCU walk stall with remote layers and data loss
   with nfs_export

 - Fix copy up of files with an empty security.capability xattr, which
   any user could set to block copy up

 - Fix a regression from v6.16 with the override_creds mount option

 - Two casefold fixes

* tag 'ovl-fixes-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  ovl: check the casefold flag of directories only
  ovl: reserve space for the casefolded name terminator
  ovl: fix mount setup failing when override_creds drops CAP_SYS_ADMIN
  selftests/ovl: fix detached layer mountinfo expectations
  ovl: set the revalidate flags after d_instantiate()
  ovl: always encode the origin fh when index is enabled
  ovl: read the nlink xattr of every indexed non-dir
  ovl: skip copy up of empty security.capability
  ovl: fix a torn path in ovl_get_redirect()
  ovl: do not copy up a dentry that was removed
  ovl: hold a reference on the parent in readdir
  ovl: use the pinned upper dir in ovl_fix_origin()
  ovl: do not take a name snapshot in RCU walk
  vfs: add try_take_dentry_name_snapshot()
  ovl: take a snapshot of the name for copy up
  ovl: check that the parents of volatile/dirty are dirs
  ovl: add assertions in dir cache code
  ovl: set OVL_WHITEOUTS before publishing the upper dir
  ovl: fortify ovl_copy_xattr() against underlying layer modifications
  ovl: do not copy up an xattr value that was never read
2026-10-31 11:35:53 -07:00
..
9p vfs-7.4-rc1.netfs 2026-10-19 20:12:19 -10:00
adfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
affs affs-for-7.4 2026-10-20 15:56:04 -10:00
afs Networking changes for 7.4. 2026-10-22 15:58:00 -10:00
autofs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
befs
btrfs fsverity: Set S_VERITY only after rollback is no longer possible 2026-10-28 10:53:43 -07:00
cachefiles lsm/stable-7.4 PR 20261016 2026-10-20 20:04:07 -10:00
ceph The two things of note here are the disablement of inline data support 2026-10-30 09:42:10 -10:00
coda fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
configfs configfs: Updates for v7.4 2026-10-20 16:25:43 -10:00
cramfs
crypto fscrypt: Fix missing barrier in fscrypt_find_mode_key() 2026-10-24 10:59:58 -07:00
debugfs Driver core changes for 7.4-rc1 2026-10-21 18:53:14 -10:00
devpts devpts: reject max=0 instead of silently lifting the limit 2026-09-04 12:57:46 +02:00
dlm Networking changes for 7.4. 2026-10-22 15:58:00 -10:00
ecryptfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
efivarfs EFI updates for v7.4 2026-10-24 20:07:00 -10:00
erofs Changes since last update: 2026-10-27 09:20:30 -10:00
exfat exfat: fix reading a directory whose FAT chain is longer than its size 2026-10-21 08:28:32 +09:00
exportfs exportfs: Release the get_name() directory file synchronously 2026-10-22 18:50:18 +02:00
ext2 \n 2026-10-20 16:30:13 -10:00
ext4 fsverity fixes for v7.4-rc1 2026-10-30 13:38:02 -10:00
f2fs f2fs-for-7.4-rc1 2026-10-27 09:06:00 -10:00
fat mm.git review status for linus..mm-nonmm-stable 2026-10-27 12:08:22 -10:00
fuse fuse: fix link error with CONFIG_FUSE_PASSTHROUGH=n 2026-10-30 14:22:37 -10:00
gfs2 gfs2 changes 2026-10-20 16:42:50 -10:00
hfs hfs/hfsplus updates for v7.4 2026-10-20 16:06:21 -10:00
hfsplus hfs/hfsplus updates for v7.4 2026-10-20 16:06:21 -10:00
hostfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
hpfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
hugetlbfs mm.git review status for linus..mm-stable 2026-10-27 12:23:17 -10:00
iomap vfs-7.4-rc1.fixes 2026-10-30 09:25:01 -10:00
isofs \n 2026-10-20 16:30:13 -10:00
jbd2 Add support for buffered iomap support in ext4. This is not enabled 2026-10-25 16:09:13 -10:00
jffs2 fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
jfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
kernfs vfs-7.4-rc1.kernfs 2026-10-19 18:52:22 -10:00
lockd lockd: Serialize block retries against host teardown 2026-10-04 21:15:29 -04:00
minix minix: reject rmdir of a directory with a corrupted link count 2026-10-30 16:05:28 +01:00
netfs netfs: Restore selective debug mask handling 2026-10-22 18:48:39 +02:00
nfs NFS Client Updates for Linux 7.4 2026-10-25 15:42:16 -10:00
nfs_common NFS Client Updates for Linux 7.4 2026-10-25 15:42:16 -10:00
nfsd NFSD 7.4 Release Notes 2026-10-25 15:12:41 -10:00
nilfs2 nilfs2 updates for v7.4 2026-10-20 15:59:26 -10:00
nls nls: fix the Unicode to charset tables of iso8859-14 2026-09-25 16:04:53 +02:00
notify \n 2026-10-20 16:28:33 -10:00
ntfs ntfs: handle a failed size rollback in the write error path 2026-10-23 09:43:20 +09:00
ntfs3 Changes for 7.4-rc1 2026-10-29 13:31:48 -10:00
ocfs2 mm.git review status for linus..mm-nonmm-stable 2026-10-27 12:08:22 -10:00
omfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
openpromfs
orangefs Fixes: 2026-10-25 15:07:49 -10:00
overlayfs overlayfs fixes for 7.3 2026-10-31 11:35:53 -07:00
proc vfs-7.4-rc1.fixes 2026-10-30 09:25:01 -10:00
pstore pstore: publish big_oops_buf after max_compressed_size 2026-09-21 20:55:04 -07:00
qnx4
qnx6
quota \n 2026-10-20 16:30:13 -10:00
ramfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
resctrl fs/resctrl: Ensure default group reports tasks on monitor-only systems 2026-10-09 17:43:05 -07:00
romfs
smb - Fix compound CREATE response buffer sizing and reserve space for final 2026-10-30 22:01:54 -07:00
squashfs squashfs: Add dictionary size range check to prevent shift-out-of-bounds 2026-09-16 10:26:47 +02:00
sysfs
tests vfs: use __struct_size() in the fdtable KUnit test 2026-09-11 14:47:49 +02:00
tracefs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
ubifs mm.git review status for linus..mm-stable 2026-10-23 07:42:11 -10:00
udf \n 2026-10-20 16:30:13 -10:00
ufs vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
unicode unicode: free the map after a grace period 2026-10-14 22:08:03 +02:00
vboxsf fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
verity fsverity: Set S_VERITY only after rollback is no longer possible 2026-10-28 10:53:43 -07:00
xfs mm.git review status for linus..mm-stable 2026-10-23 07:42:11 -10:00
zonefs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
aio.c aio: avoid request count overflow in ioctx_alloc() 2026-10-30 16:12:43 +01:00
anon_inodes.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
attr.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
backing-file.c fs: let backing files inherit FMODE_NONOTIFY from the user file 2026-10-30 15:57:59 +01:00
bad_inode.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
binfmt_elf_fdpic.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
binfmt_elf.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
binfmt_flat.c
binfmt_misc_bpf.c binfmt_misc: fix racy checks in bpf set_interp kfuncs 2026-09-18 11:20:55 +02:00
binfmt_misc.c vfs-7.4-rc1.binfmt 2026-10-19 17:02:56 -10:00
binfmt_script.c
bpf_fs_kfuncs.c bpf-next-7.4 2026-10-23 13:08:49 -10:00
buffer.c mm.git review status for linus..mm-stable 2026-10-23 07:42:11 -10:00
char_dev.c chardev: check return value of kobject_set_name() in __register_chrdev() 2026-09-04 11:01:47 +02:00
compat_binfmt_elf.c
coredump.c vfs-7.4-rc1.fixes 2026-10-30 09:25:01 -10:00
d_path.c
dax.c NVDIMM and DAX for v7.4 2026-10-27 07:53:11 -10:00
dcache.c overlayfs fixes for 7.3 2026-10-31 11:35:53 -07:00
direct-io.c
drop_caches.c
eventfd.c file: make struct fd_prepare const and kill its err field 2026-09-23 09:27:44 +02:00
eventpoll.c eventpoll: propagate wakeup source creation failure in ep_modify() 2026-10-22 18:17:43 +02:00
exec.c bpf-next-7.4 2026-10-23 13:08:49 -10:00
failfs.c fs: port ->getattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
fcntl.c fcntl: refuse F_SET_RW_HINT on an immutable inode 2026-10-04 12:31:38 +02:00
fhandle.c vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
file_attr.c fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
file_table.c Summary 2026-10-23 09:37:09 -10:00
file.c fuse update for 7.4 2026-10-27 08:09:58 -10:00
filesystems.c
fs_context.c namespace: don't reconfigure internal superblocks via remount and umount 2026-10-01 14:20:07 +02:00
fs_dirent.c
fs_parser.c
fs_pin.c fs_pin: do not trust the pin after a spurious wakeup in pin_kill() 2026-10-30 16:03:49 +01:00
fs_struct.c
fs-writeback.c writeback: don't kick a missing wb for dontcache writes 2026-10-29 10:38:13 +01:00
fserror.c
fsopen.c audit: add FSOPEN record to log filesystem name 2026-10-04 07:33:18 -04:00
init.c
inode.c fs: don't lose inodes that another LRU walker is isolating 2026-10-22 18:50:19 +02:00
internal.h super: convert to plain hashtable 2026-10-22 18:50:18 +02:00
ioctl.c
Kconfig mm.git review status for linus..mm-stable 2026-10-23 07:42:11 -10:00
Kconfig.binfmt x86/um: nommu: elf loader for fdpic 2026-09-24 16:45:51 +02:00
kernel_read_file.c
libfs.c libfs: hold one mount reference for all pins 2026-10-29 14:44:43 +01:00
locks.c
Makefile bfs: remove the filesystem 2026-09-04 12:43:07 +02:00
mbcache.c
mnt_idmapping.c fs: make nop_mnt_idmap and invalid_mnt_idmap const 2026-09-23 09:19:52 +02:00
mount.h namespace: rework connected mounts 2026-10-07 00:45:49 +02:00
mpage.c
namei.c vfs-7.4-rc1.fixes 2026-10-30 09:25:01 -10:00
namespace.c mount: refuse setns() with a shared fs_struct again 2026-10-29 14:12:56 +01:00
nsfs.c nsfs: check the trailing bytes of a file handle in bytes, not words 2026-10-22 18:48:38 +02:00
nullfs.c vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
open.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
pidfs.c pidfs: do not report fields that do not fit into the caller's struct 2026-10-30 16:00:18 +01:00
pipe.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
pnode.c namespace: rework connected mounts 2026-10-07 00:45:49 +02:00
pnode.h
posix_acl.c fs: port ->get_acl() to pass const mnt_idmap 2026-09-23 09:19:50 +02:00
proc_namespace.c
read_write.c fs: skip copy_file_range write limits when there is no data 2026-10-30 16:06:00 +01:00
readdir.c readdir: take no inode lock on an immutable directory 2026-10-04 12:36:13 +02:00
remap_range.c fs: port mnt_idmap() and file_mnt_idmap() to const mnt_idmap 2026-09-23 09:19:51 +02:00
select.c
seq_file.c
signalfd.c signalfd: don't dequeue the forced fatal signals 2026-09-21 21:26:10 -07:00
splice.c splice: retry tee() instead of returning 0 when it races 2026-10-30 16:01:24 +01:00
stack.c
stat.c fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
statfs.c
super.c super: convert to plain hashtable 2026-10-22 18:50:18 +02:00
sync.c
sysctls.c
timerfd.c
utimes.c
xattr.c xattr: always invoke cap_convert_nscap() for security.capability writes 2026-10-29 13:21:35 +01:00