This is a note to let you know that I've just added the patch titled smb: common: fix fields sizes in compression_pattern_payload_v1 to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: smb-common-fix-fields-sizes-in-compression_pattern_p.patch and it can be found in the queue-6.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit e9ee29350dd71c0b81a8732f4cb85a59a5a6d842 Author: Enzo Matsumiya <ematsumiya@xxxxxxx> Date: Fri Mar 8 18:34:10 2024 -0300 smb: common: fix fields sizes in compression_pattern_payload_v1 [ Upstream commit f49af462875a0922167cf301cf126cd04009070e ] See protocol documentation in MS-SMB2 section 2.2.42.2.2 Signed-off-by: Enzo Matsumiya <ematsumiya@xxxxxxx> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/fs/smb/common/smb2pdu.h b/fs/smb/common/smb2pdu.h index a233a24352b1f..10a9e20eec43f 100644 --- a/fs/smb/common/smb2pdu.h +++ b/fs/smb/common/smb2pdu.h @@ -238,8 +238,8 @@ struct smb2_compression_transform_hdr_chained { /* See MS-SMB2 2.2.42.2.2 */ struct compression_pattern_payload_v1 { - __le16 Pattern; - __le16 Reserved1; + __u8 Pattern; + __u8 Reserved1; __le16 Reserved2; __le32 Repetitions; } __packed;