diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-08-25 17:39:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-06 23:26:59 +0300 |
commit | 7d8855fd849d9c3186a9e1d3085ea4aedc6e019f (patch) | |
tree | 0f4d10574f541d1b40199314aab1feff8ebab4e2 /fs/autofs | |
parent | 1ce9ebc96eda5556e5a15bbe6a17b293841af29e (diff) | |
download | linux-7d8855fd849d9c3186a9e1d3085ea4aedc6e019f.tar.xz |
ksmbd: fix wrong DataOffset validation of create context
commit 17d5b135bb720832364e8f55f6a887a3c7ec8fdb upstream.
If ->DataOffset of create context is 0, DataBuffer size is not correctly
validated. This patch change wrong validation code and consider tag
length in request.
Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-21824
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions