diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-01-15 03:28:35 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-01-16 08:24:51 +0300 |
commit | aab98e2dbd648510f8f51b83fbf4721206ccae45 (patch) | |
tree | 7c55e545d234ebee2f0de6b3db7059b831cbe724 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b2d99376c5d61eb60ffdb6c503e4b6c8f9712ddd (diff) | |
download | linux-aab98e2dbd648510f8f51b83fbf4721206ccae45.tar.xz |
ksmbd: fix integer overflows on 32 bit systems
On 32bit systems the addition operations in ipc_msg_alloc() can
potentially overflow leading to memory corruption.
Add bounds checking using KSMBD_IPC_MAX_PAYLOAD to avoid overflow.
Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions