diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-03-31 15:59:10 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-04-02 17:21:01 +0300 |
commit | a677ebd8ca2f2632ccdecbad7b87641274e15aac (patch) | |
tree | cf2213396ae63bd01827e1185b9a8f85aafb3476 /mm/kmemleak.c | |
parent | c1832f67035dc04fb89e6b591b64e4d515843cda (diff) | |
download | linux-a677ebd8ca2f2632ccdecbad7b87641274e15aac.tar.xz |
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 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions