This is a backport of similarly named change that was pulled in
as part of addb0679839a1f74da6ec742137558be244dd0e9
bpf_prof_test_run may copy data beyond the the buffer provided into
userspace without checking the size. This can lead to kernel overwriting
data in userspace.
This is a backport of similarly named change that was pulled in as part of addb0679839a1f74da6ec742137558be244dd0e9
bpf_prof_test_run may copy data beyond the the buffer provided into userspace without checking the size. This can lead to kernel overwriting data in userspace.
Original patch backported from https://patchwork.ozlabs.org/cover/998940/
Signed-off-by: Farid Zakaria farid.m.zakaria@oracle.com