Skip to contentSkip to conversation

hardening fixes for v6.9-rc1

GIT PULL Merged Kees Cook 2 participants 2 messages Mar 22, 2024 – Mar 23, 2024

lore
Share & tools
lore

Kees Cook

author
#0 lore 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(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 22 Mar 2024 16:57:14 -0700:

The pull request you sent on Fri, 22 Mar 2024 16:57:14 -0700:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b71871395cf3a0ca7c0a7d79b4faa584ac872809

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html