linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas <helgaas@kernel.org>,
	David Gow <davidgow@google.com>,
	Guenter Roeck <linux@roeck-us.net>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	Kees Cook <keescook@chromium.org>,
	kernel test robot <lkp@intel.com>,
	Liu Song <liusong@linux.alibaba.com>,
	Marco Elver <elver@google.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Randy Dunlap <rdunlap@infradead.org>
Subject: [GIT PULL] hardening fixes for v6.9-rc1
Date: Fri, 22 Mar 2024 16:57:14 -0700	[thread overview]
Message-ID: <202403221655.A2BCB96145@keescook> (raw)

Hi Linus,

Please pull these handful of hardening fixes for v6.9-rc1. One of the two
"end of -rc1 API refactors" I mentioned in the first PR is included here,
for DEFINE_FLEX(), now that netdev has landed.

Thanks!

-Kees

The following changes since commit 0a7b0acecea273c8816f4f5b0e189989470404cf:

  Merge tag 'vfs-6.9-rc1.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2024-03-18 09:15:50 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.9-rc1-fixes

for you to fetch changes up to 231dc3f0c936db142ef3fa922f1ab751dd532d70:

  lkdtm/bugs: Improve warning message for compilers without counted_by support (2024-03-22 16:25:31 -0700)

----------------------------------------------------------------
hardening fixes for v6.9-rc1

- CONFIG_MEMCPY_SLOW_KUNIT_TEST is no longer needed (Guenter Roeck)

- Fix needless UTF-8 character in arch/Kconfig (Liu Song)

- Improve __counted_by warning message in LKDTM (Nathan Chancellor)

- Refactor DEFINE_FLEX() for default use of __counted_by

- Disable signed integer overflow sanitizer on GCC < 8

----------------------------------------------------------------
Guenter Roeck (1):
      Revert "kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TEST"

Kees Cook (2):
      ubsan: Disable signed integer overflow sanitizer on GCC < 8
      overflow: Change DEFINE_FLEX to take __counted_by member

Liu Song (1):
      arch/Kconfig: eliminate needless UTF-8 character in Kconfig help

Nathan Chancellor (1):
      lkdtm/bugs: Improve warning message for compilers without counted_by support

 arch/Kconfig                                |  2 +-
 drivers/misc/lkdtm/bugs.c                   |  2 +-
 drivers/net/ethernet/intel/ice/ice_base.c   |  4 ++--
 drivers/net/ethernet/intel/ice/ice_common.c |  4 ++--
 drivers/net/ethernet/intel/ice/ice_ddp.c    |  8 ++++----
 drivers/net/ethernet/intel/ice/ice_lag.c    |  6 +++---
 drivers/net/ethernet/intel/ice/ice_sched.c  |  4 ++--
 drivers/net/ethernet/intel/ice/ice_switch.c | 10 +++++-----
 include/linux/overflow.h                    | 25 +++++++++++++++++++++----
 lib/Kconfig.debug                           | 12 ------------
 lib/Kconfig.ubsan                           |  2 ++
 lib/memcpy_kunit.c                          |  3 ---
 lib/overflow_kunit.c                        | 19 +++++++++++++++++++
 13 files changed, 62 insertions(+), 39 deletions(-)

-- 
Kees Cook

             reply	other threads:[~2024-03-22 23:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 23:57 Kees Cook [this message]
2024-03-23 16:25 ` [GIT PULL] hardening fixes for v6.9-rc1 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=202403221655.A2BCB96145@keescook \
    --to=keescook@chromium.org \
    --cc=davidgow@google.com \
    --cc=elver@google.com \
    --cc=gustavoars@kernel.org \
    --cc=helgaas@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=liusong@linux.alibaba.com \
    --cc=lkp@intel.com \
    --cc=nathan@kernel.org \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=rdunlap@infradead.org \
    --cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).