diff options
author | Alexander Potapenko <[email protected]> | 2021-05-22 17:41:56 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-05-22 15:09:07 -1000 |
commit | f70b00496f2a0669fdb19a783e613bdbdedcf901 (patch) | |
tree | c8e67f9b8062c3ab2dccc36a2e7f0c6f2b0104b8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d1cd3b2c5c1c32826454de3a18c6183238d47ed (diff) |
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/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Elliot Berman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions