diff options
| author | Dan Carpenter <[email protected]> | 2025-01-15 00:28:35 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-01-16 05:24:51 +0000 |
| commit | aab98e2dbd648510f8f51b83fbf4721206ccae45 (patch) | |
| tree | 7c55e545d234ebee2f0de6b3db7059b831cbe724 /drivers/platform/x86/intel/pmt/class.c | |
| parent | ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL (diff) | |
| download | kernel-aab98e2dbd648510f8f51b83fbf4721206ccae45.tar.gz kernel-aab98e2dbd648510f8f51b83fbf4721206ccae45.zip | |
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: [email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
