[GIT PULL] hardening fix for v6.1-rc4

From: Kees Cook
Date: Fri Nov 04 2022 - 12:26:47 EST


Hi Linus,

Please pull this tiny kernel hardening fix for v6.1-rc4.

Thanks!

-Kees

The following changes since commit 72c3ebea375c39413d02113758319b74ecd790bd:

overflow: Refactor test skips for Clang-specific issues (2022-10-25 14:57:42 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.1-rc4

for you to fetch changes up to 6f7630b1b5bc672b54c1285ee6aba752b446672c:

fortify: Capture __bos() results in const temp vars (2022-10-28 16:07:01 -0700)

----------------------------------------------------------------
kernel hardening fix for v6.1-rc4

- Correctly report struct member size on memcpy overflow (Kees Cook)

----------------------------------------------------------------
Kees Cook (1):
fortify: Capture __bos() results in const temp vars

include/linux/fortify-string.h | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

--
Kees Cook