diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2018-07-12 13:27:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-29 03:08:51 -0700 |
commit | 28ca9ed1c95547daee49749287393ef6e540dbaa (patch) | |
tree | c1f54e7216c0fcfcd360baabf7baf77116b6bcb0 /kernel/trace/ring_buffer.c | |
parent | bd1468048aa3e2af865da92990539946d4483989 (diff) | |
download | linux-stable-28ca9ed1c95547daee49749287393ef6e540dbaa.tar.gz linux-stable-28ca9ed1c95547daee49749287393ef6e540dbaa.tar.bz2 linux-stable-28ca9ed1c95547daee49749287393ef6e540dbaa.zip |
xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
commit 70513d58751d7c6c1a0133557b13089b9f2e3e66 upstream.
Otherwise we may leak kernel stack for events that sample user
registers.
Reported-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions