linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] string: Add load_unaligned_zeropad() code path to sized_strscpy()
@ 2025-03-18 21:40 Peter Collingbourne
  2025-03-18 21:40 ` [PATCH v2 1/2] " Peter Collingbourne
  2025-03-18 21:40 ` [PATCH v2 2/2] kasan: Add strscpy() test to trigger tag fault on arm64 Peter Collingbourne
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Collingbourne @ 2025-03-18 21:40 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara, Andrew Morton,
	Kees Cook, Andy Shevchenko, Andrey Konovalov, Catalin Marinas,
	Mark Rutland
  Cc: Peter Collingbourne, linux-fsdevel, linux-kernel, linux-hardening,
	linux-arm-kernel

This series fixes an issue where strscpy() would sometimes trigger
a false positive KASAN report with MTE.

Peter Collingbourne (1):
  string: Add load_unaligned_zeropad() code path to sized_strscpy()

Vincenzo Frascino (1):
  kasan: Add strscpy() test to trigger tag fault on arm64

 lib/string.c            | 13 ++++++++++---
 mm/kasan/kasan_test_c.c | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 40 insertions(+), 4 deletions(-)

-- 
2.49.0.395.g12beb8f557-goog



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

end of thread, other threads:[~2025-03-21  2:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 21:40 [PATCH v2 0/2] string: Add load_unaligned_zeropad() code path to sized_strscpy() Peter Collingbourne
2025-03-18 21:40 ` [PATCH v2 1/2] " Peter Collingbourne
2025-03-19  3:06   ` Kees Cook
2025-03-19  3:35     ` Peter Collingbourne
2025-03-18 21:40 ` [PATCH v2 2/2] kasan: Add strscpy() test to trigger tag fault on arm64 Peter Collingbourne
2025-03-20 17:25   ` Andrey Konovalov
2025-03-21  2:41     ` Peter Collingbourne

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).