All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 0/2] xfs: small fixes to realtime growfs
@ 2021-07-12 22:07 Darrick J. Wong
  2021-07-12 22:07 ` [PATCH 1/2] xfs: improve FSGROWFSRT precondition checking Darrick J. Wong
  2021-07-12 22:07 ` [PATCH 2/2] xfs: fix an integer overflow error in xfs_growfs_rt Darrick J. Wong
  0 siblings, 2 replies; 10+ messages in thread
From: Darrick J. Wong @ 2021-07-12 22:07 UTC (permalink / raw)
  To: djwong; +Cc: linux-xfs

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.

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 |   22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCHSET v2 0/2] xfs: small fixes to realtime growfs
@ 2021-07-14 21:25 Darrick J. Wong
  2021-07-14 21:25 ` [PATCH 1/2] xfs: improve FSGROWFSRT precondition checking Darrick J. Wong
  0 siblings, 1 reply; 10+ messages in thread
From: Darrick J. Wong @ 2021-07-14 21:25 UTC (permalink / raw)
  To: djwong, david; +Cc: linux-xfs

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(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-15  6:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 22:07 [PATCHSET 0/2] xfs: small fixes to realtime growfs Darrick J. Wong
2021-07-12 22:07 ` [PATCH 1/2] xfs: improve FSGROWFSRT precondition checking Darrick J. Wong
2021-07-14  0:58   ` Dave Chinner
2021-07-14  4:59     ` Darrick J. Wong
2021-07-12 22:07 ` [PATCH 2/2] xfs: fix an integer overflow error in xfs_growfs_rt Darrick J. Wong
2021-07-14  1:12   ` Dave Chinner
2021-07-14  5:00     ` Darrick J. Wong
2021-07-14 21:25 [PATCHSET v2 0/2] xfs: small fixes to realtime growfs Darrick J. Wong
2021-07-14 21:25 ` [PATCH 1/2] xfs: improve FSGROWFSRT precondition checking Darrick J. Wong
2021-07-14 23:44   ` Dave Chinner
2021-07-15  6:03   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.