summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorBryam Vargas <hexlabsecurity@proton.me>2026-07-17 06:27:01 -0500
committerMikulas Patocka <mpatocka@redhat.com>2026-07-17 21:41:03 +0200
commitbecf07e2b0053027495ecd671b1f82fb2e615f68 (patch)
tree8a23ce21ae8d6341a5573c5600ec9caa7a6661bc /tools/perf/scripts/python/gecko.py
parent97fc4b53dbe4a983fdf093243067fa6a64562307 (diff)
dm-pcache: clamp the tail kset read to the segment data region
The tail-kset read in cache_replay(), the writeback worker and the GC worker bounds its length by PCACHE_SEG_SIZE - seg_off, the raw segment size rather than the data region. A tail near the segment end reads past the segment data into the following control area. Clamp the read to cache_seg_remain(), the data region. Fixes: 1d57628ff95b ("dm-pcache: add persistent cache target in device-mapper") Cc: stable@vger.kernel.org Signed-off-by: Bryam Vargas <hexlabsecurity@proton.me> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions