mbox series

[PATCHSET,0/1] xfs: tighten GETBMAP input validation

Message ID 164316351504.2600306.5900193386929839795.stgit@magnolia (mailing list archive)
Headers show
Series xfs: tighten GETBMAP input validation | expand

Message

Darrick J. Wong Jan. 26, 2022, 2:18 a.m. UTC
Hi all,

syzbot complained that the input validation for XFS_IOC_GETBMAP isn't as
strict as the one in the kvmalloc calls that it uses to stage the bmap
reporting.  This is an annoying use of maintainer time, but fix it anyway.

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=getbmap-validation-5.17
---
 fs/xfs/xfs_ioctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)