summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorSang-Heon Jeon <ekffu200098@gmail.com>2025-09-23 17:16:45 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-02 13:44:12 +0200
commitbfb1e2aad1fecef8320fd71332acde0d53a8d699 (patch)
treed8f26e39c89dff17c504c0fb23b953ec3c1cd9b3 /include/net/aligned_data.h
parent26923ea48e33a0401ba546de5ccac4944885454b (diff)
smb: client: fix wrong index reference in smb2_compound_op()
[ Upstream commit fbe2dc6a9c7318f7263f5e4d50f6272b931c5756 ] In smb2_compound_op(), the loop that processes each command's response uses wrong indices when accessing response bufferes. This incorrect indexing leads to improper handling of command results. Also, if incorrectly computed index is greather than or equal to MAX_COMPOUND, it can cause out-of-bounds accesses. Fixes: 3681c74d342d ("smb: client: handle lack of EA support in smb2_query_path_info()") # 6.14 Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org> Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions