Re: [PATCH] ext4: fix another off-by-one fsmap error on 1k block filesystems

From: Theodore Ts'o
Date: Tue Mar 07 2023 - 23:34:17 EST


On Thu, 16 Feb 2023 10:55:48 -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
>
> Apparently syzbot figured out that issuing this FSMAP call:
>
> struct fsmap_head cmd = {
> .fmh_count = ...;
> .fmh_keys = {
> { .fmr_device = /* ext4 dev */, .fmr_physical = 0, },
> { .fmr_device = /* ext4 dev */, .fmr_physical = 0, },
> },
> ...
> };
> ret = ioctl(fd, FS_IOC_GETFSMAP, &cmd);
>
> [...]

Applied, thanks!

[1/1] ext4: fix another off-by-one fsmap error on 1k block filesystems
commit: c993799baf9c5861f8df91beb80e1611b12efcbd

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>