[GIT PULL] kernel hardening fixes for v5.18-rc3

From: Kees Cook
Date: Tue Apr 12 2022 - 19:45:29 EST


Hi Linus,

Please pull these kernel hardening fixes for v5.18-rc3.

Thanks!

-Kees

The following changes since commit 229a08a4f4e4f9949801cc39b6480ddc9c487183:

ARM/dma-mapping: Remove CMA code when not built with CMA (2022-03-31 11:19:25 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v5.18-rc3

for you to fetch changes up to c40160f2998c897231f8454bf797558d30a20375:

gcc-plugins: latent_entropy: use /dev/urandom (2022-04-12 11:31:40 -0700)

----------------------------------------------------------------
hardening fixes for v5.18-rc3

- latent_entropy: Use /dev/urandom instead of small GCC seed (Jason Donenfeld)

- uapi/stddef.h: add missed include guards (Tadeusz Struk)

----------------------------------------------------------------
Jason A. Donenfeld (1):
gcc-plugins: latent_entropy: use /dev/urandom

Tadeusz Struk (1):
uapi/linux/stddef.h: Add include guards

include/uapi/linux/stddef.h | 4 +++
scripts/gcc-plugins/latent_entropy_plugin.c | 44 ++++++++++++++++++-----------
2 files changed, 31 insertions(+), 17 deletions(-)

--
Kees Cook