[PATCH] erofs: avoid infinite loop due to incomplete zstd-compressed data
Chao Yu
chao at kernel.org
Tue Nov 4 18:06:11 AEDT 2025
On 10/31/25 13:47, Gao Xiang wrote:
> Currently, the decompression logic incorrectly spins if compressed
> data is truncated in crafted (deliberately corrupted) images.
>
> Fixes: 7c35de4df105 ("erofs: Zstandard compression support")
> Reported-by: Robert Morris <rtm at csail.mit.edu>
> Closes: https://lore.kernel.org/r/50958.1761605413@localhost
> 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