* [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
* Re: [GIT PULL] bounds fixes for v5.18-rc1
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
1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2022-03-22 3:06 UTC (permalink / raw)
To: Kees Cook
Cc: Linus Torvalds, 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
The pull request you sent on Mon, 21 Mar 2022 08:52:31 -0700:
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/bounds-fixes-v5.18-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8565d64430f8278bea38dab0a3ab60b4e11c71e4
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] bounds fixes for v5.18-rc1
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
1 sibling, 1 reply; 4+ messages in thread
From: Sakari Ailus @ 2022-03-23 11:44 UTC (permalink / raw)
To: Kees Cook
Cc: Linus Torvalds, linux-kernel, Alexander Shishkin, Arnd Bergmann,
Geert Uytterhoeven, Greg Ungerer, Guenter Roeck,
Gustavo A. R. Silva, Ivan Kokshaysky, Jarkko Sakkinen,
Jason Gunthorpe, Laurent Pinchart, Mark Rutland, Matt Turner,
Mauro Carvalho Chehab, Peter Huewe, Peter Zijlstra (Intel),
Richard Henderson, Sean Christopherson, Stefan Berger
Hi Kees,
On Mon, Mar 21, 2022 at 08:52:31AM -0700, Kees Cook wrote:
> media: omap3isp: Use struct_group() for memcpy() region
This patch has been applied to linux-media tree about a month ago. It may
have taken a bit more time than usual to get to linux-next though.
Please try to remember to agree with maintainers in advance when merging
patches via non-default routes.
Thanks.
--
Kind regards,
Sakari Ailus
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] bounds fixes for v5.18-rc1
2022-03-23 11:44 ` Sakari Ailus
@ 2022-03-23 14:51 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2022-03-23 14:51 UTC (permalink / raw)
To: Sakari Ailus
Cc: Linus Torvalds, linux-kernel, Alexander Shishkin, Arnd Bergmann,
Geert Uytterhoeven, Greg Ungerer, Guenter Roeck,
Gustavo A. R. Silva, Ivan Kokshaysky, Jarkko Sakkinen,
Jason Gunthorpe, Laurent Pinchart, Mark Rutland, Matt Turner,
Mauro Carvalho Chehab, Peter Huewe, Peter Zijlstra (Intel),
Richard Henderson, Sean Christopherson, Stefan Berger
On March 23, 2022 4:44:56 AM PDT, Sakari Ailus <sakari.ailus@linux.intel.com> wrote:
>Hi Kees,
>
>On Mon, Mar 21, 2022 at 08:52:31AM -0700, Kees Cook wrote:
>> media: omap3isp: Use struct_group() for memcpy() region
>
>This patch has been applied to linux-media tree about a month ago. It may
>have taken a bit more time than usual to get to linux-next though.
>
>Please try to remember to agree with maintainers in advance when merging
>patches via non-default routes.
Ah-ha; thank you for grabbing this one! I'm sorry I missed it while tending this tree; given the ordering of merges in -next, I've had to carry these kinds of fixes to avoid warnings popping up for various builders, but dropping accepted patches has been a manual process. I will see what I can do to automate this going forward.
-Kees
--
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.