All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] string: Add load_unaligned_zeropad() code path to sized_strscpy()
@ 2025-03-29  0:03 Peter Collingbourne
  2025-03-29  0:03 ` [PATCH v4 1/2] " Peter Collingbourne
  2025-03-29  0:03 ` [PATCH v4 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-29  0:03 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.

v4:
- clarify commit message
- improve comment

v3:
- simplify test case

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 | 16 ++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.49.0.472.ge94155a9ec-goog



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-29  0:03 [PATCH v4 0/2] string: Add load_unaligned_zeropad() code path to sized_strscpy() Peter Collingbourne
2025-03-29  0:03 ` [PATCH v4 1/2] " Peter Collingbourne
2025-04-02 20:10   ` Catalin Marinas
2025-04-03  0:08     ` Peter Collingbourne
2025-04-03  9:46       ` Catalin Marinas
2025-04-03 21:15       ` David Laight
2025-03-29  0:03 ` [PATCH v4 2/2] kasan: Add strscpy() test to trigger tag fault on arm64 Peter Collingbourne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.