linux-stable/fs/smb
Namjae Jeon 8387c94d73 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
commit eebff19aca upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:11 +00:00
..
client cifs: fix check of rc in function generate_smb3signingkey 2023-11-28 17:07:07 +00:00
common send channel sequence number in SMB3 requests after reconnects 2023-09-19 12:27:56 +02:00
server ksmbd: fix slab out of bounds write in smb_inherit_dacl() 2023-11-28 17:07:11 +00:00
Kconfig
Makefile