[GIT PULL] hardening fixes for v6.5-rc2

From: Kees Cook
Date: Sat Jul 15 2023 - 20:42:39 EST


Hi Linus,

Please pull this odd collection of hardening fixes for v6.5-rc2. I
included the somewhat unrelated sparc fix[1] since no one else had picked
it up yet, it was Acked, it had been pinged by the regression tracker,
and I was on CC. :)

Thanks!

-Kees

[1] https://lore.kernel.org/lkml/20230628094938.2318171-1-arnd@xxxxxxxxxx/

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.5-rc2

for you to fetch changes up to ec7633de404e7ce704d8f79081b97bca5b616c23:

sparc: mark __arch_xchg() as __always_inline (2023-07-13 09:54:32 -0700)

----------------------------------------------------------------
hardening fixes for v6.5-rc2

- Remove LTO-only suffixes from promoted global function symbols (Yonghong Song)

- Remove unused .text..refcount section from vmlinux.lds.h (Petr Pavlu)

- Add missing __always_inline to sparc __arch_xchg() (Arnd Bergmann)

- Claim maintainership of string routines

----------------------------------------------------------------
Arnd Bergmann (1):
sparc: mark __arch_xchg() as __always_inline

Kees Cook (1):
MAINTAINERS: Foolishly claim maintainership of string routines

Petr Pavlu (1):
vmlinux.lds.h: Remove a reference to no longer used sections .text..refcount

Yonghong Song (1):
kallsyms: strip LTO-only suffixes from promoted global functions

MAINTAINERS | 5 ++++-
arch/sparc/include/asm/cmpxchg_32.h | 2 +-
arch/sparc/include/asm/cmpxchg_64.h | 2 +-
include/asm-generic/vmlinux.lds.h | 1 -
kernel/kallsyms.c | 5 ++---
scripts/kallsyms.c | 6 +++---
6 files changed, 11 insertions(+), 10 deletions(-)

--
Kees Cook