Re: [PATCH v2] xfs: reject a hole in a remote xattr value

From: Carlos Maiolino

Date: Thu Nov 26 2026 - 08:49:36 EST


On Wed, 25 Nov 2026 23:59:28 +0900, Kyuwon Cho wrote:
> xfs_attr_rmtval_get() maps the blocks of a remote xattr value from the
> on-disk value length and only asserts that a mapping is not a hole. The
> leaf verifier caps the length at XFS_XATTR_SIZE_MAX but does not check
> it against the blocks the value owns, so a larger length makes the read
> reach a hole. Without CONFIG_XFS_DEBUG the hole becomes a disk address
> past the end of the device:
>
> [...]

Applied to for-next, thanks!

[1/1] xfs: reject a hole in a remote xattr value
commit: a1c699766280d148ce594df157ce83ec05f5858d

Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>