[GIT PULL] hardening fixes for v6.0-rc2
From: Kees Cook
Date: Fri Aug 19 2022 - 15:01:33 EST
Hi Linus,
Please pull these two kernel hardening fixes for v6.0-rc2.
Thanks!
-Kees
The following changes since commit 27603a606fda0806d7c08914bc976931aa42020e:
dm: verity-loadpin: Drop use of dm_table_get_num_targets() (2022-07-28 21:48:12 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.0-rc2
for you to fetch changes up to 012e8d2034f1bda8863435cd589636e618d6a659:
gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file (2022-08-16 12:25:53 -0700)
----------------------------------------------------------------
hardening fixes for v6.0-rc2
- Also undef LATENT_ENTROPY_PLUGIN for per-file disabling (Andrew Donnellan)
- Return EFAULT on copy_from_user() failures in LoadPin (Kees Cook)
----------------------------------------------------------------
Andrew Donnellan (1):
gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
Kees Cook (1):
LoadPin: Return EFAULT on copy_from_user() failures
scripts/Makefile.gcc-plugins | 2 +-
security/loadpin/loadpin.c | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
--
Kees Cook