On Thu, 30 Jan 2025 13:15:00 +0100, Miklos Szeredi wrote: > Just like it's normal for unset values to be zero, unset strings should be > empty instead of containing random values. > > It seems to be a typical mistake that the mask returned by statmount is not > checked, which can result in various bugs. > > With this fix, these bugs are prevented, since it is highly likely that > userspace would just want to turn the missing mask case into an empty > string anyway (most of the recently found cases are of this type). > > [...] Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/1] statmount: let unset strings be empty https://git.kernel.org/vfs/vfs/c/756060a7cc55