diff options
| author | Kees Cook <[email protected]> | 2022-02-16 12:15:03 -0800 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-04-12 16:11:50 -0700 |
| commit | f387e86d3a74407bdd9c5815820ac9d060962840 (patch) | |
| tree | 251f6d15a95c445aae3dde986114ade4781fff41 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 42db2594e4cd4a3c29aad87f80b1c00bf7751afe (diff) | |
lkdtm/usercopy: Expand size of "out of frame" object
To be sufficiently out of range for the usercopy test to see the lifetime
mismatch, expand the size of the "bad" buffer, which will let it be
beyond current_stack_pointer regardless of stack growth direction.
Paired with the recent addition of stack depth checking under
CONFIG_HARDENED_USERCOPY=y, this will correctly start tripping again.
Reported-by: Muhammad Usama Anjum <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions