Skip to contentSkip to conversation

usercopy fix for v5.4-rc1

GIT PULL Merged Kees Cook 2 participants 2 messages Sep 26, 2019

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull this usercopy fix for v5.4-rc1. Randy found a corner case (HIGHMEM, DEBUG_VIRTUAL, >512MB RAM) with hardened usercopy that went unnoticed since v4.8. This adds HIGHMEM awareness to hardened usercopy, and has been living in -next for a bit more than a week now.

Thanks!

-Kees

The following changes since commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8:

Linux 5.3 (2019-09-15 14:19:32 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v5.4-rc1

for you to fetch changes up to 314eed30ede02fa925990f535652254b5bad6b65:

usercopy: Avoid HIGHMEM pfn warning (2019-09-17 15:20:17 -0700)

----------------------------------------------------------------
Fix hardened usercopy under CONFIG_DEBUG_VIRTUAL

----------------------------------------------------------------
Kees Cook (1):
usercopy: Avoid HIGHMEM pfn warning

 mm/usercopy.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 26 Sep 2019 11:35:41 -0700:

The pull request you sent on Thu, 26 Sep 2019 11:35:41 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v5.4-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0576f0602a4926b0027fdd7561a1c0053fa99d26

Thank you!

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