diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-11-05 06:46:24 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-11-08 03:54:25 +0300 |
commit | eebff19acaa35820cb09ce2ccb3d21bee2156ffb (patch) | |
tree | 2392ed5c8e614275ca15ad06246ca7ef26a14ae8 /net/unix/unix_bpf.c | |
parent | 766e9cf3bd64c45fcace3acc6f8b3df815448ea3 (diff) | |
download | linux-eebff19acaa35820cb09ce2ccb3d21bee2156ffb.tar.xz |
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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions