[GIT PULL 06/18 for v7.3] vfs fat

Christian Brauner <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.linux-fsdevel
Message-ID <20260814-vfs-7.3-rc1.fat-26a476e80678@brauner>
Hey Linus,

/* Summary */

This rejects names longer than NAME_MAX in msdos_format_name(). The VFS
only enforces PATH_MAX rather than the length of an individual
component. open() on such a path component reported success for a name
far longer than NAME_MAX.

/* Testing */

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 dc59e4fea9d83f03bad6bddf3fa2e52491777482:

  Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

  [email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-7.3-rc1.fat

for you to fetch changes up to 9d7ed813ee5ff0d469bd99630828ed6fdef4e8da:

  fat: reject name longer than NAME_MAX in msdos_format_name() (2026-06-30 13:01:05 +0200)

----------------------------------------------------------------
vfs-7.3-rc1.fat

Please consider pulling these changes from the signed vfs-7.3-rc1.fat tag.

Thanks!
Christian

----------------------------------------------------------------
Zizhi Wo (1):
      fat: reject name longer than NAME_MAX in msdos_format_name()

 fs/fat/namei_msdos.c | 3 +++
 1 file changed, 3 insertions(+)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.