llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fortify: Add run-time WARN for cross-field memcpy()
@ 2022-09-01  6:59 Kees Cook
  2022-09-01  6:59 ` [PATCH 1/2] " Kees Cook
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kees Cook @ 2022-09-01  6:59 UTC (permalink / raw)
  To: Gustavo A. R. Silva
  Cc: Kees Cook, Arnd Bergmann, Greg Kroah-Hartman, Shuah Khan,
	Nathan Chancellor, Nick Desaulniers, Tom Rix, linux-kernel,
	linux-kselftest, linux-hardening, llvm

Hi,

I'm hoping to at least get this into -next to see how noisy it ends up
being. I've tracked down several false positives that are getting fixed,
but I'd like to see this get wider testing. For details, see patch 1,
but this is the run-time half of the recent FORTIFY_SOURCE memcpy()
bounds checking work.

-Kees

Kees Cook (2):
  fortify: Add run-time WARN for cross-field memcpy()
  lkdtm: Update tests for memcpy() run-time warnings

 drivers/misc/lkdtm/fortify.c            | 96 +++++++++++++++++++++----
 include/linux/fortify-string.h          | 70 +++++++++++++++++-
 tools/testing/selftests/lkdtm/tests.txt |  8 ++-
 3 files changed, 155 insertions(+), 19 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-09-07  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-01  6:59 [PATCH 0/2] fortify: Add run-time WARN for cross-field memcpy() Kees Cook
2022-09-01  6:59 ` [PATCH 1/2] " Kees Cook
2022-09-07  5:42   ` [fortify] 728833277d: WARNING:at_net/netlink/af_netlink.c:#netlink_ack kernel test robot
2022-09-07  7:39     ` Gustavo A. R. Silva
2022-09-07  7:49       ` Oliver Sang
2022-09-01  6:59 ` [PATCH 2/2] lkdtm: Update tests for memcpy() run-time warnings Kees Cook
2022-09-01 20:05 ` [PATCH 0/2] fortify: Add run-time WARN for cross-field memcpy() Nathan Chancellor

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