aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2021-05-23 00:41:56 +0000
committerLinus Torvalds <[email protected]>2021-05-23 01:09:07 +0000
commitf70b00496f2a0669fdb19a783e613bdbdedcf901 (patch)
treec8e67f9b8062c3ab2dccc36a2e7f0c6f2b0104b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenttools/testing/selftests/exec: fix link error (diff)
downloadkernel-f70b00496f2a0669fdb19a783e613bdbdedcf901.tar.gz
kernel-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/[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions