diff options
author | 2021-05-22 17:41:56 -0700 | |
---|---|---|
committer | 2021-05-22 15:09:07 -1000 | |
commit | f70b00496f2a0669fdb19a783e613bdbdedcf901 (patch) | |
tree | c8e67f9b8062c3ab2dccc36a2e7f0c6f2b0104b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/testing/selftests/exec: fix link error (diff) | |
download | wireguard-linux-f70b00496f2a0669fdb19a783e613bdbdedcf901.tar.xz wireguard-linux-f70b00496f2a0669fdb19a783e613bdbdedcf901.zip |
kasan: slab: always reset the tag in get_freepointer_safe()
With CONFIG_DEBUG_PAGEALLOC enabled, the kernel should also untag the
object pointer, as done in get_freepointer().
Failing to do so reportedly leads to SLUB freelist corruptions that
manifest as boot-time crashes.
Link: https://lkml.kernel.org/r/20210514072228.534418-1-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions