]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: add validation check for the fields in smb_aces
authorNamjae Jeon <linkinjeon@kernel.org>
Wed, 12 Feb 2025 08:52:19 +0000 (17:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:26 +0000 (11:12 +0200)
commit69b1824c9630853d0d045704e62344af8ae44cc9
tree4fb7560e9e99bdeed77099754ab6faf687738bf0
parent108d6b3657a426f1d48a03c7c57900037acb1ca2
cifs: add validation check for the fields in smb_aces

[ Upstream commit eeb827f2922eb07ffbf7d53569cc95b38272646f ]

cifs.ko is missing validation check when accessing smb_aces.
This patch add validation check for the fields in smb_aces.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/cifsacl.c