diff options
author | 2024-03-19 08:40:48 +0900 | |
---|---|---|
committer | 2024-03-18 21:21:33 -0500 | |
commit | c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (patch) | |
tree | e8c1bb86025876a921b99e637478473d52bdd000 /tools/perf/scripts/python | |
parent | ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() (diff) | |
download | wireguard-linux-c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da.tar.xz wireguard-linux-c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da.zip |
ksmbd: fix potencial out-of-bounds when buffer offset is invalid
I found potencial out-of-bounds when buffer offset fields of a few requests
is invalid. This patch set the minimum value of buffer offset field to
->Buffer offset to validate buffer length.
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions