lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 6 Sep 2016 12:37:40 -0700
From:   Kees Cook <keescook@...omium.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     linux-kernel@...r.kernel.org, x86@...nel.org
Subject: [GIT PULL] usercopy fixes for v4.8-rc6

Hi,

Please pull these usercopy fixes for v4.8-rc6.

Thanks!

-Kees

The following changes since commit 46738ab31fe668ea1d4413dd459af2632f6fef8d:

  Merge branch 'mailbox-devel' of git://git.linaro.org/landing-teams/working/fujitsu/integration (2016-09-06 11:15:07 -0700)

are available in the git repository at:

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

for you to fetch changes up to 3c17648c2816f6d28bd2be9293032a2901994a36:

  lkdtm: adjust usercopy tests to bypass const checks (2016-09-06 12:17:30 -0700)

----------------------------------------------------------------
- Inlines copy_*_user() for correct use of __builtin_const_p() for hardened
  usercopy and the recent compile-time checks.
- Switches hardened usercopy to only check non-const size arguments to avoid
  meaningless checks on likely-sane const values.
- Updates lkdtm usercopy tests to compenstate for the const checking.

----------------------------------------------------------------
Kees Cook (3):
      x86/uaccess: force copy_*_user() to be inlined
      usercopy: fold builtin_const check into inline function
      lkdtm: adjust usercopy tests to bypass const checks

 arch/ia64/include/asm/uaccess.h     | 12 ++++--------
 arch/powerpc/include/asm/uaccess.h  | 19 +++++++------------
 arch/sparc/include/asm/uaccess_32.h |  9 +++------
 arch/sparc/include/asm/uaccess_64.h |  7 +++----
 arch/x86/include/asm/uaccess.h      |  4 ++--
 drivers/misc/lkdtm_usercopy.c       | 25 +++++++++++++++++--------
 include/linux/thread_info.h         |  3 ++-
 7 files changed, 38 insertions(+), 41 deletions(-)

-- 
Kees Cook
Nexus Security

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ