]> 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>
Wed, 4 Jun 2025 12:41:55 +0000 (14:41 +0200)
commit89bcd83f67d22489c5123ebcc446a93be6872aa5
treecb91c3d48f32f29612fd3e233ddfe2a56d9e6b30
parent88bf6295f065a04e2638d50258dbb0d35d9af34a
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