Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740587

[GIT PULL] x86-refcount fix for v4.14-rc3

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject [GIT PULL] x86-refcount fix for v4.14-rc3
Date 2017-09-27 12:30 +0200
Message-ID <uuhLj-1aF-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Please pull this x86-refcount fix for v4.14-rc3. This restores the x86
fast-refcount protection after fixing a corner case that was found late
before the merge window opened. This was the only problem seen during
the protection's life in linux-next, so getting this into v4.14 is
highly desired.

Thanks!

-Kees

The following changes since commit e19b205be43d11bff638cad4487008c48d21c103:

  Linux 4.14-rc2 (2017-09-24 16:38:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/x86-refcount-v4.14-rc3

for you to fetch changes up to 635fee8f6b725a99f511b8e0eca82c3214b9c678:

  locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT (2017-09-27 03:05:13 -0700)

----------------------------------------------------------------
Fix x86 fast-refcount protection to avoid corner-case of being used a
function living in the .text.unlikely section.

----------------------------------------------------------------
Kees Cook (2):
      locking/refcounts, x86/asm: Use unique .text section for refcount exceptions
      locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT

 arch/x86/Kconfig                  | 2 +-
 arch/x86/include/asm/refcount.h   | 2 +-
 arch/x86/mm/extable.c             | 7 ++++++-
 include/asm-generic/vmlinux.lds.h | 1 +
 4 files changed, 9 insertions(+), 3 deletions(-)

-- 
Kees Cook
Pixel Security

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[GIT PULL] x86-refcount fix for v4.14-rc3 Kees Cook <keescook@chromium.org> - 2017-09-27 12:30 +0200
  Re: [GIT PULL] x86-refcount fix for v4.14-rc3 Ingo Molnar <mingo@kernel.org> - 2017-09-27 13:00 +0200
    Re: [GIT PULL] x86-refcount fix for v4.14-rc3 Kees Cook <keescook@chromium.org> - 2017-09-27 13:50 +0200
      Re: [GIT PULL] x86-refcount fix for v4.14-rc3 Ingo Molnar <mingo@kernel.org> - 2017-09-27 14:10 +0200

csiph-web