linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] kasan: reset tag when accessing invalid data
@ 2021-08-04  8:22 Kuan-Ying Lee
  2021-08-04  8:22 ` [PATCH v2 1/2] kasan, kmemleak: reset tags when scanning block Kuan-Ying Lee
  2021-08-04  8:22 ` [PATCH v2 2/2] kasan, slub: reset tag when printing address Kuan-Ying Lee
  0 siblings, 2 replies; 4+ messages in thread
From: Kuan-Ying Lee @ 2021-08-04  8:22 UTC (permalink / raw)
  To: Nicholas Tang, Andrew Yang, Andrey Konovalov, Andrey Ryabinin,
	Alexander Potapenko, Marco Elver, Catalin Marinas, Chinwen Chang,
	Andrew Morton
  Cc: kasan-dev, linux-mm, linux-kernel, linux-arm-kernel,
	linux-mediatek, Kuan-Ying Lee

With hardware tag-based kasan enabled, we reset the tag
when we access metadata to avoid from false alarm.

Changes since v2:
 - Refine the commit message in detail.
 - Thanks Andrey's explanation about false alarm
   of kmemleak.

Kuan-Ying Lee (2):
  kasan, kmemleak: reset tags when scanning block
  kasan, slub: reset tag when printing address

 mm/kmemleak.c | 6 +++---
 mm/slub.c     | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-04  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04  8:22 [PATCH v2 0/2] kasan: reset tag when accessing invalid data Kuan-Ying Lee
2021-08-04  8:22 ` [PATCH v2 1/2] kasan, kmemleak: reset tags when scanning block Kuan-Ying Lee
2021-08-04  8:22 ` [PATCH v2 2/2] kasan, slub: reset tag when printing address Kuan-Ying Lee
2021-08-04  8:41   ` Marco Elver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).