aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-01-15 00:28:35 +0000
committerSteve French <[email protected]>2025-01-16 05:24:51 +0000
commitaab98e2dbd648510f8f51b83fbf4721206ccae45 (patch)
tree7c55e545d234ebee2f0de6b3db7059b831cbe724 /drivers/platform/x86/intel/pmt/class.c
parentksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL (diff)
downloadkernel-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