summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-12-17 08:34:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-17 18:35:33 +0300
commit530ec35c211ed1cf8cac1da4a742500932343d4f (patch)
tree8e1ccd73e57a53b9a2c77c53205d405649858d4f /tools/perf/scripts/python/stackcollapse.py
parent79dd3f1d9dd310c2af89b09c71f34d93973b200f (diff)
downloadlinux-530ec35c211ed1cf8cac1da4a742500932343d4f.tar.xz
block: validate pi_offset integrity limit
[ Upstream commit ccb8a3c08adf8121e2afb8e704f007ce99324d79 ] The PI tuple must be contained within the metadata value, so validate that pi_offset + pi_tuple_size <= metadata_size. This guards against block drivers that report invalid pi_offset values. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions