lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 22 Mar 2024 16:57:14 -0700
From: Kees Cook <keescook@...omium.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Bjorn Helgaas <helgaas@...nel.org>,
	David Gow <davidgow@...gle.com>, Guenter Roeck <linux@...ck-us.net>,
	"Gustavo A. R. Silva" <gustavoars@...nel.org>,
	Kees Cook <keescook@...omium.org>,
	kernel test robot <lkp@...el.com>,
	Liu Song <liusong@...ux.alibaba.com>,
	Marco Elver <elver@...gle.com>,
	Nathan Chancellor <nathan@...nel.org>,
	Przemek Kitszel <przemyslaw.kitszel@...el.com>,
	Randy Dunlap <rdunlap@...radead.org>
Subject: [GIT PULL] hardening fixes for v6.9-rc1

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ