[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250819-vfs-fixes-69c14bc8543f@brauner>
Date: Tue, 19 Aug 2025 14:46:16 +0200
From: Christian Brauner <brauner@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Christian Brauner <brauner@...nel.org>,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] vfs fixes
Hey Linus,
/* Summary */
This contains a few fixes for this cycle:
- Fix two memory leaks in pidfs.
- Prevent changing the idmapping of an already idmapped mount without
OPEN_TREE_CLONE through open_tree_attr().
- Don't fail listing extended attributes in kernfs when no extended
attributes are set.
- Fix the return value in coredump_parse().
- Fix the error handling for unbuffered writes in netfs.
- Fix broken data integrity guarantees for O_SYNC writes via iomap.
- Fix UAF in __mark_inode_dirty().
- Keep inode->i_blkbits constant in fuse.
- Fix coredump selftests.
- Fix get_unused_fd_flags() usage in do_handle_open().
- Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES.
- Fix use-after-free in bh_read().
- Fix incorrect lflags value in the move_mount() syscall.
/* Testing */
gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)
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 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
are available in the Git repository at:
git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.17-rc3.fixes
for you to fetch changes up to a2c1f82618b0b65f1ef615aa9cfdac8122537d69:
signal: Fix memory leak for PIDFD_SELF* sentinels (2025-08-19 13:51:28 +0200)
Please consider pulling these changes from the signed vfs-6.17-rc3.fixes tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.17-rc3.fixes
----------------------------------------------------------------
Adrian Huang (Lenovo) (2):
pidfs: Fix memory leak in pidfd_info()
signal: Fix memory leak for PIDFD_SELF* sentinels
Aleksa Sarai (2):
open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE
selftests/mount_setattr: add smoke tests for open_tree_attr(2) bug
Christian Brauner (2):
Merge patch series "open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE"
kernfs: don't fail listing extended attributes
Dan Carpenter (1):
coredump: Fix return value in coredump_parse()
David Howells (1):
netfs: Fix unbuffered write error handling
Jan Kara (1):
iomap: Fix broken data integrity guarantees for O_SYNC writes
Jiufei Xue (1):
fs: writeback: fix use-after-free in __mark_inode_dirty()
Joanne Koong (1):
fuse: keep inode->i_blkbits constant
Nam Cao (1):
selftests/coredump: Remove the read() that fails the test
Thomas Bertschinger (1):
fhandle: do_handle_open() should get FD with user flags
Vlastimil Babka (1):
module: Rename EXPORT_SYMBOL_GPL_FOR_MODULES to EXPORT_SYMBOL_FOR_MODULES
Ye Bin (1):
fs/buffer: fix use-after-free when call bh_read() helper
Yuntao Wang (1):
fs: fix incorrect lflags value in the move_mount syscall
Documentation/core-api/symbol-namespaces.rst | 11 ++--
drivers/tty/serial/8250/8250_rsa.c | 8 +--
fs/anon_inodes.c | 2 +-
fs/buffer.c | 2 +-
fs/coredump.c | 2 +-
fs/fhandle.c | 2 +-
fs/fs-writeback.c | 9 +--
fs/fuse/inode.c | 5 --
fs/iomap/direct-io.c | 14 ++--
fs/kernfs/inode.c | 4 +-
fs/namespace.c | 35 ++++++----
fs/netfs/read_collect.c | 4 +-
fs/netfs/write_collect.c | 10 ++-
fs/netfs/write_issue.c | 4 +-
fs/pidfs.c | 2 +-
fs/splice.c | 3 +
include/linux/export.h | 2 +-
include/linux/netfs.h | 1 +
kernel/signal.c | 6 +-
tools/testing/selftests/coredump/stackdump_test.c | 3 -
.../selftests/mount_setattr/mount_setattr_test.c | 77 ++++++++++++++++++----
21 files changed, 138 insertions(+), 68 deletions(-)
Powered by blists - more mailing lists