Hi all, While auditing the GROWFSRT ioctl, I noticed that there are a few things missing in the argument validation code that could lead to invalid fs geometry. Fix the validation and overflow errors. v2: tweak some of the checks, straighten out the int overflow cleanup If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=growfsrt-fixes --- fs/xfs/xfs_rtalloc.c | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-)