+16
−0
Loading
mainline inclusion from mainline-v6.12-rc3 commit d6e13e19063db24f94b690159d0633aaf72a0f03 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBY448 CVE: CVE-2025-21946 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d6e13e19063db24f94b690159d0633aaf72a0f03 -------------------------------- If osidoffset, gsidoffset and dacloffset could be greater than smb_ntsd struct size. If it is smaller, It could cause slab-out-of-bounds. And when validating sid, It need to check it included subauth array size. Cc: stable@vger.kernel.org Reported-by:Norbert Szetei <norbert@doyensec.com> Tested-by:
Norbert Szetei <norbert@doyensec.com> Signed-off-by:
Namjae Jeon <linkinjeon@kernel.org> Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Yongjian Sun <sunyongjian1@huawei.com>