Commits

Darrick J. Wong committed 17d031b4add
xfs: fix over-copying of getbmap parameters from userspace [ Upstream commit be6324c00c4d1e0e665f03ed1fc18863a88da119 ] In xfs_ioc_getbmap, we should only copy the fields of struct getbmap from userspace, or else we end up copying random stack contents into the kernel. struct getbmap is a strict subset of getbmapx, so a partial structure copy should work fine. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>