mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Andrey Konovalov <andreyknvl@gmail.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Kees Cook <kees@kernel.org>, Mark Brown <broonie@kernel.org>,
	Mostafa Saleh <smostafa@google.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Peter Collingbourne <pcc@google.com>,
	Tamir Duberstein <tamird@gmail.com>,
	Vincenzo Frascino <vincenzo.frascino@arm.com>,
	Will Deacon <will@kernel.org>
Subject: [GIT PULL] hardening fixes for v6.15-rc3
Date: Fri, 18 Apr 2025 13:05:07 -0700	[thread overview]
Message-ID: <202504181303.EBF4F5594@keescook> (raw)

Hi Linus,

Please pull this collection of various hardening fixes for v6.15-rc3.
The one "out of place" patch here is for the prime numbers self test,
but I took that since I had carried the lib/ -> lib/tests/ move tree
this cycle.

Thanks!

-Kees

The following changes since commit 8ffd015db85fea3e15a77027fda6c02ced4d2444:

  Linux 6.15-rc2 (2025-04-13 11:54:49 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.15-rc3

for you to fetch changes up to 3f2925174f8bd811f9399cb4049f6b75fd2fba91:

  lib/prime_numbers: KUnit test should not select PRIME_NUMBERS (2025-04-15 13:50:43 -0700)

----------------------------------------------------------------
hardening fixes for v6.15-rc3

- lib/prime_numbers: KUnit test should not select PRIME_NUMBERS
  (Geert Uytterhoeven)

- ubsan: Fix panic from test_ubsan_out_of_bounds (Mostafa Saleh)

- ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP (Nathan Chancellor)

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

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

- Disable GCC randstruct for COMPILE_TEST

----------------------------------------------------------------
Geert Uytterhoeven (1):
      lib/prime_numbers: KUnit test should not select PRIME_NUMBERS

Kees Cook (1):
      hardening: Disable GCC randstruct for COMPILE_TEST

Mostafa Saleh (1):
      ubsan: Fix panic from test_ubsan_out_of_bounds

Nathan Chancellor (1):
      lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP

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/Kconfig.debug                  |  2 +-
 lib/Kconfig.ubsan                  |  1 -
 lib/string.c                       | 13 ++++++++++---
 lib/test_ubsan.c                   | 18 +++++++++++-------
 mm/kasan/kasan_test_c.c            | 20 ++++++++++++++++++++
 security/Kconfig.hardening         |  2 +-
 tools/testing/selftests/lib/config |  1 +
 7 files changed, 44 insertions(+), 13 deletions(-)

-- 
Kees Cook

             reply	other threads:[~2025-04-18 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-18 20:05 Kees Cook [this message]
2025-04-18 20:28 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202504181303.EBF4F5594@keescook \
    --to=kees@kernel.org \
    --cc=andreyknvl@gmail.com \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=pcc@google.com \
    --cc=smostafa@google.com \
    --cc=tamird@gmail.com \
    --cc=torvalds@linux-foundation.org \
    --cc=vincenzo.frascino@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®