diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-11-05 12:46:24 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-11-07 18:54:25 -0600 |
commit | eebff19acaa35820cb09ce2ccb3d21bee2156ffb (patch) | |
tree | 2392ed5c8e614275ca15ad06246ca7ef26a14ae8 /block/blk-pm.h | |
parent | 766e9cf3bd64c45fcace3acc6f8b3df815448ea3 (diff) |
ksmbd: fix slab out of bounds write in smb_inherit_dacl()
slab out-of-bounds write is caused by that offsets is bigger than pntsd
allocation size. This patch add the check to validate 3 offsets using
allocation size.
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-22271
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'block/blk-pm.h')
0 files changed, 0 insertions, 0 deletions