aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-06-13 15:53:04 +0000
committerAlexander Gordeev <[email protected]>2025-06-17 16:15:25 +0000
commit7f8073cfb04a97842fe891ca50dad60afd1e3121 (patch)
treea94fa853b063d63cb98d56d918fd59cd4ce0c2a8 /tools/perf/scripts/python/parallel-perf.py
parents390/pkey: Prevent overflow in size calculation for memdup_user() (diff)
downloadkernel-7f8073cfb04a97842fe891ca50dad60afd1e3121.tar.gz
kernel-7f8073cfb04a97842fe891ca50dad60afd1e3121.zip
s390/ptrace: Fix pointer dereferencing in regs_get_kernel_stack_nth()
The recent change which added READ_ONCE_NOCHECK() to read the nth entry from the kernel stack incorrectly dropped dereferencing of the stack pointer in order to read the requested entry. In result the address of the entry is returned instead of its content. Dereference the pointer again to fix this. Reported-by: Will Deacon <[email protected]> Closes: https://lore.kernel.org/r/20250612163331.GA13384@willie-the-truck Fixes: d93a855c31b7 ("s390/ptrace: Avoid KASAN false positives in regs_get_kernel_stack_nth()") Cc: [email protected] Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions