summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-08-11 10:15:48 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-19 18:16:46 +0900
commitfea9e4488f384c0ef1c0e3d96b565127c1b98447 (patch)
tree92a13f84a38b7b1cd6b61a02ff51a79b94a3bf50 /tools/perf/scripts/python
parent9badcfb91bc3bd5edb530fbcdd16f25d66640f33 (diff)
ntfs: verify run length exceeding volume boundary
The mapping pairs decoder validates that the starting LCN is within the volume but does not check if the run extends beyond the volume boundary. A malformed NTFS image with a crafted mapping pairs array could cause the kernel to access memory beyond the volume boundary, potentially leading to memory corruption and privilege escalation. Add validation to ensure lcn + length stays within nr_clusters. Cc: stable@vger.kernel.org Fixes: b4be3a47f8ba4 ("ntfs: bound the free-cluster bitmap scan to the volume") Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions