[PATCH] fs: btrfs: fix out of bounds write
Dan Carpenter
dan.carpenter at linaro.org
Tue Jun 18 08:41:40 CEST 2024
On Mon, Jun 17, 2024 at 10:49:47PM +0300, Alex Shumsky wrote:
> Fix btrfs_read/read_and_truncate_page write out of bounds of destination
> buffer. Old behavior break bootstd malloc'd buffers of exact file size.
> Previously this OOB write have not been noticed because distroboot usually
> read files into huge static memory areas.
>
> Signed-off-by: Alex Shumsky <alexthreed at gmail.com>
Could you add a Fixes tag?
regards,
dan carpenter
More information about the U-Boot
mailing list