summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <xiang@kernel.org>2026-08-14 14:59:46 +0800
committerGao Xiang <xiang@kernel.org>2026-08-17 16:14:28 +0800
commit862427ebb81d1f6abbf74d799790e1694b37b187 (patch)
tree13d76a215ff08da21a144cac5ca7199eadba0fb5 /tools/perf/scripts/python
parente587a984d332b76ab89fab546f1594f61f73d5f6 (diff)
erofs: fix interlaced ztailpacking pclusters
On-disk sizes of interlaced pclusters should be block-aligned, and ztailpacking interlaced pclusters should be invalid at all. Currently, mkfs.erofs won't generate any interlaced pcluster with ztailpacking enabled, so this doesn't affect any existing valid filesystems. However, crafted images can contain invalid interlaced ztailpacking pclusters, resulting in an out-of-bounds read from a kmap'd page and copying irrelevant kernel memory into userspace-visible page cache. Reported-by: Haiyang Huang <huanghaiyang83@gmail.com> Closes: https://lore.kernel.org/r/20260806065253.1083865-1-huanghaiyang83@gmail.com Fixes: fdffc091e6f9 ("erofs: support interlaced uncompressed data for compressed files") Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <xiang@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions