summaryrefslogtreecommitdiff
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2024-03-31 21:59:10 +0900
committerSteve French <stfrench@microsoft.com>2024-04-02 09:21:01 -0500
commita677ebd8ca2f2632ccdecbad7b87641274e15aac (patch)
treecf2213396ae63bd01827e1185b9a8f85aafb3476 /fs/dlm/dlm_internal.h
parentc1832f67035dc04fb89e6b591b64e4d515843cda (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