[PATCH v2] erofs: fix invalid unmapped accesses in z_erofs_fill_inode_lazy()

Chao Yu chao at kernel.org
Sat Oct 15 13:47:19 AEDT 2022


On 2022/10/5 9:35, Yue Hu wrote:
> From: Yue Hu <huyue2 at coolpad.com>
> 
> Note that we are still accessing 'h_idata_size' and 'h_fragmentoff'
> after calling erofs_put_metabuf(), that is not correct. Fix it.
> 
> Fixes: ab92184ff8f1 ("erofs: add on-disk compressed tail-packing inline support")
> Fixes: b15b2e307c3a ("erofs: support on-disk compressed fragments data")
> Signed-off-by: Yue Hu <huyue2 at coolpad.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list