Re: [PATCH] ecryptfs: Fix buffer size for tag 66 packet

From: Christian Brauner
Date: Tue Mar 19 2024 - 11:24:00 EST


On Sun, 17 Mar 2024 07:46:00 -0700, Brian Kubisiak wrote:
> The 'TAG 66 Packet Format' description is missing the cipher code and
> checksum fields that are packed into the message packet. As a result,
> the buffer allocated for the packet is 3 bytes too small and
> write_tag_66_packet() will write up to 3 bytes past the end of the
> buffer.
>
> Fix this by increasing the size of the allocation so the whole packet
> will always fit in the buffer.
>
> [...]

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] ecryptfs: Fix buffer size for tag 66 packet
https://git.kernel.org/vfs/vfs/c/616483acbd0b