+3
−0
Loading
On 32-bit architectures, the infinite loop is as follows: len = p->ErrorDataLength == 0xfffffff8 u8 *next = p->ErrorContextData + len next == p On 32-bit architectures, the out-of-bounds read is as follows: len = p->ErrorDataLength == 0xfffffff0 u8 *next = p->ErrorContextData + len next == (u8 *)p - 8 Reported-by:ChenXiaoSong <chenxiaosong@kylinos.cn> Fixes: 76894f3e ("cifs: improve symlink handling for smb2+") Cc: stable@vger.kernel.org Signed-off-by:
Ye Bin <yebin10@huawei.com> Reviewed-by:
ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by:
Steve French <stfrench@microsoft.com>