diff options
| author | Namjae Jeon <[email protected]> | 2021-09-02 22:09:44 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-09-04 04:29:45 +0000 |
| commit | 303fff2b8c77a85c62dbde3b27c24b084144c04c (patch) | |
| tree | 8dec6d6bff81a9a9c79e074b3b83f4b46ca3e6b2 /fs/proc/array.c | |
| parent | ksmbd: remove unused ksmbd_file_table_flush function (diff) | |
| download | kernel-303fff2b8c77a85c62dbde3b27c24b084144c04c.tar.gz kernel-303fff2b8c77a85c62dbde3b27c24b084144c04c.zip | |
ksmbd: add validation for ndr read/write functions
If ndr->length is smaller than expected size, ksmbd can access invalid
access in ndr->data. This patch add validation to check ndr->offset is
over ndr->length. and added exception handling to check return value of
ndr read/write function.
Cc: Dan Carpenter <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
