Skip to contentSkip to conversation

hardening fixes for v5.19-rc3

GIT PULL Merged Kees Cook 2 participants 2 messages Jun 15, 2022

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

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

Thanks!

-Kees

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 1dfbe9fcda4afc957f0e371e207ae3cb7e8f3b0e:

usercopy: Make usercopy resilient against ridiculously large copies (2022-06-13 09:54:52 -0700)

----------------------------------------------------------------
hardening fixes for v5.19-rc3

- Correctly handle vm_map areas in hardened usercopy (Matthew Wilcox)

- Adjust CFI RCU usage to avoid boot splats with cpuidle (Sami Tolvanen)

----------------------------------------------------------------
Matthew Wilcox (Oracle) (3):
usercopy: Handle vm_map_ram() areas
usercopy: Cast pointer to an integer once
usercopy: Make usercopy resilient against ridiculously large copies

Sami Tolvanen (1):
cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle

 include/linux/vmalloc.h |  1 +
 kernel/cfi.c            | 22 ++++++++++++++++------
 mm/usercopy.c           | 26 ++++++++++++--------------
 mm/vmalloc.c            |  2 +-
 4 files changed, 30 insertions(+), 21 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 15 Jun 2022 14:07:05 -0700:

The pull request you sent on Wed, 15 Jun 2022 14:07:05 -0700:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/30306f6194cadcc29c77f6ddcd416a75bf5c0232

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html