diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2022-12-22 18:12:49 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-01-05 15:12:12 +0000 |
commit | 736eedc974eaafbf4360e0ea85fc892cea72a223 (patch) | |
tree | 97febf13090d33937db465c112c8e09cf3ceda01 /include/linux/elfcore.h | |
parent | eb9a85261e297292c4cc44b628c1373c996cedc2 (diff) | |
download | lwn-736eedc974eaafbf4360e0ea85fc892cea72a223.tar.gz lwn-736eedc974eaafbf4360e0ea85fc892cea72a223.zip |
arm64: mte: Fix double-freeing of the temporary tag storage during coredump
Commit 16decce22efa ("arm64: mte: Fix the stack frame size warning in
mte_dump_tag_range()") moved the temporary tag storage array from the
stack to slab but it also introduced an error in double freeing this
object. Remove the in-loop freeing.
Fixes: 16decce22efa ("arm64: mte: Fix the stack frame size warning in mte_dump_tag_range()")
Cc: <stable@vger.kernel.org> # 5.18.x
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Seth Jenkins <sethjenkins@google.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221222181251.1345752-2-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/elfcore.h')
0 files changed, 0 insertions, 0 deletions