All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] bounds fixes for v5.18-rc1
@ 2022-03-21 15:52 Kees Cook
  2022-03-22  3:06 ` pr-tracker-bot
  2022-03-23 11:44 ` Sakari Ailus
  0 siblings, 2 replies; 4+ messages in thread
From: Kees Cook @ 2022-03-21 15:52 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Alexander Shishkin, Arnd Bergmann,
	Geert Uytterhoeven, Greg Ungerer, Guenter Roeck,
	Gustavo A. R. Silva, Ivan Kokshaysky, Jarkko Sakkinen,
	Jason Gunthorpe, Kees Cook, Laurent Pinchart, Mark Rutland,
	Matt Turner, Mauro Carvalho Chehab, Peter Huewe,
	Peter Zijlstra (Intel),
	Richard Henderson, Sakari Ailus, Sean Christopherson,
	Stefan Berger

Hi Linus,

Please pull these scattered buffer and array bounds fixes for v5.18-rc1.
These are a handful of fixes that I've been carrying in -next in
preparation for the coming memcpy improvements and the enabling of
-Warray-bounds globally. There are additional similar fixes in other
maintainer's trees, but these ended up getting carried by me. :)

Thanks!

-Kees

The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

  Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/bounds-fixes-v5.18-rc1

for you to fetch changes up to fad278388e01e3658a356118bed8ee2c2408d280:

  media: omap3isp: Use struct_group() for memcpy() region (2022-02-27 10:58:04 -0800)

----------------------------------------------------------------
bounds-fixes updates for v5.18-rc1

- Various buffer and array bounds related fixes

----------------------------------------------------------------
Kees Cook (5):
      intel_th: msu: Use memset_startat() for clearing hw header
      m68k: cmpxchg: Dereference matching size
      alpha: Silence -Warray-bounds warnings
      tpm: vtpm_proxy: Check length to avoid compiler warning
      media: omap3isp: Use struct_group() for memcpy() region

Sean Christopherson (1):
      KVM: x86: Replace memset() "optimization" with normal per-field writes

 arch/alpha/mm/init.c                      |  6 +++---
 arch/m68k/include/asm/cmpxchg.h           |  9 ++++-----
 arch/x86/kvm/emulate.c                    |  9 +++++++--
 arch/x86/kvm/kvm_emulate.h                |  6 +-----
 drivers/char/tpm/tpm_vtpm_proxy.c         |  2 +-
 drivers/hwtracing/intel_th/msu.c          |  4 +---
 drivers/media/platform/omap3isp/ispstat.c |  5 +++--
 include/uapi/linux/omap3isp.h             | 21 +++++++++++++--------
 8 files changed, 33 insertions(+), 29 deletions(-)

-- 
Kees Cook

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

end of thread, other threads:[~2022-03-23 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 15:52 [GIT PULL] bounds fixes for v5.18-rc1 Kees Cook
2022-03-22  3:06 ` pr-tracker-bot
2022-03-23 11:44 ` Sakari Ailus
2022-03-23 14:51   ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.