diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-03-31 21:59:10 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-04-02 09:21:01 -0500 |
commit | a677ebd8ca2f2632ccdecbad7b87641274e15aac (patch) | |
tree | cf2213396ae63bd01827e1185b9a8f85aafb3476 /fs/dlm/dlm_internal.h | |
parent | c1832f67035dc04fb89e6b591b64e4d515843cda (diff) |
ksmbd: validate payload size in ipc response
If installing malicious ksmbd-tools, ksmbd.mountd can return invalid ipc
response to ksmbd kernel server. ksmbd should validate payload size of
ipc response from ksmbd.mountd to avoid memory overrun or
slab-out-of-bounds. This patch validate 3 ipc response that has payload.
Cc: stable@vger.kernel.org
Reported-by: Chao Ma <machao2019@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions