diff options
author | Andrey Konovalov | 2020-08-06 23:25:12 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-08-07 11:33:28 -0700 |
commit | 51dcc81c282dc401dfd8460a7e59546bc1b30e32 (patch) | |
tree | 6bb00c4e1d7d7b7069c7eee6a14a20efd7de8ec5 /lib/test_bitfield.c | |
parent | cae9dc35ed9ff82a99754e51d57ff6c332e1f7e4 (diff) |
kasan: adjust kasan_stack_oob for tag-based mode
Use OOB_TAG_OFF as access offset to land the access into the next granule.
Suggested-by: Walter Wu <walter-zh.wu@mediatek.com>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Elena Petrova <lenaptr@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Link: http://lkml.kernel.org/r/403b259f1de49a7a3694531c851ac28326a586a8.1596199677.git.andreyknvl@google.com
Link: http://lkml.kernel.org/r/3063ab1411e92bce36061a96e25b651212e70ba6.1596544734.git.andreyknvl@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_bitfield.c')
0 files changed, 0 insertions, 0 deletions