[PATCH 2/4] erofs: fix incorrect early exits in volume label handling
Chao Yu
chao at kernel.org
Thu Jan 22 20:07:27 AEDT 2026
On 12/29/2025 5:29 PM, Gao Xiang wrote:
> Crafted EROFS images containing valid volume labels can trigger
> incorrect early returns, leading to folio reference leaks.
>
> However, this does not cause system crashes or other severe issues.
>
Will be better to add:
Cc: stable at kernel.org
> Fixes: 1cf12c717741 ("erofs: Add support for FS_IOC_GETFSLABEL")
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Reviewed-by: Chao Yu <chao at kernel.org>
Thanks,
More information about the Linux-erofs
mailing list