summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2025-02-18 16:49:50 +0300
committerSteve French <stfrench@microsoft.com>2025-03-03 07:50:53 +0300
commitd6e13e19063db24f94b690159d0633aaf72a0f03 (patch)
tree40e424c4507411c41950e0813483e0bee69de057 /tools/perf/scripts/python/stackcollapse.py
parent4dd541f9d9e4d8cdfa9797e68d893b0c27e4c46c (diff)
downloadlinux-d6e13e19063db24f94b690159d0633aaf72a0f03.tar.xz
ksmbd: fix out-of-bounds in parse_sec_desc()
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions