[GIT PULL] hardened usercopy fixes for v4.8-rc4

From: Kees Cook
Date: Mon Aug 22 2016 - 22:22:38 EST


Hi,

Please pull these hardened usercopy fixes for v4.8-rc4.

Thanks!

-Kees

The following changes since commit ef0e1ea8856bed6ff8394d3dfe77f2cab487ecea:

Merge tag 'arc-4.8-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc (2016-08-22 17:53:02 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v4.8-rc4

for you to fetch changes up to 94cd97af690dd9537818dc9841d0ec68bb1dd877:

usercopy: fix overlap check for kernel text (2016-08-22 19:10:51 -0700)

----------------------------------------------------------------
Fixes for hardened usercopy:
- avoid signed math problems on unexpected compilers
- avoid false positives at very end of kernel text range checks

----------------------------------------------------------------
Eric Biggers (1):
usercopy: avoid potentially undefined behavior in pointer math

Josh Poimboeuf (1):
usercopy: fix overlap check for kernel text

mm/usercopy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--
Kees Cook
Nexus Security