hardening fixes for v6.11-rc4
Hi Linus,
Please pull these various hardening fixes for v6.11-rc4.
Thanks!
-Kees
The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed:
Linux 6.11-rc2 (2024-08-04 13:50:53 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.11-rc4
for you to fetch changes up to fb6a421fb6153d97cf3058f9bd550b377b76a490:
kallsyms: Match symbols exactly with CONFIG_LTO_CLANG (2024-08-15 09:33:35 -0700)
----------------------------------------------------------------
hardening fixes for v6.11-rc4
- gcc-plugins: randstruct: Remove GCC 4.7 or newer requirement (Thorsten Blum)
- kallsyms: Clean up interaction with LTO suffixes (Song Liu)
- refcount: Report UAF for refcount_sub_and_test(0) when counter==0 (Petr Pavlu)
- kunit/overflow: Avoid misallocation of driver name (Ivan Orlov)
----------------------------------------------------------------
Ivan Orlov (1):
kunit/overflow: Fix UB in overflow_allocation_test
Petr Pavlu (1):
refcount: Report UAF for refcount_sub_and_test(0) when counter==0
Song Liu (2):
kallsyms: Do not cleanup .llvm.<hash> suffix before sorting symbols
kallsyms: Match symbols exactly with CONFIG_LTO_CLANG
Thorsten Blum (1):
gcc-plugins: randstruct: Remove GCC 4.7 or newer requirement
drivers/misc/lkdtm/refcount.c | 16 ++++++++ include/linux/refcount.h | 4 +- kernel/kallsyms.c | 55 +++------------------------ kernel/kallsyms_selftest.c | 22 +---------- lib/overflow_kunit.c | 3 +- scripts/gcc-plugins/randomize_layout_plugin.c | 4 -- scripts/kallsyms.c | 31 +-------------- scripts/link-vmlinux.sh | 4 -- 8 files changed, 28 insertions(+), 111 deletions(-)
Signature · 1 line
Kees Cook
The pull request you sent on Thu, 15 Aug 2024 11:08:30 -0700:
The pull request you sent on Thu, 15 Aug 2024 11:08:30 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.11-rc4
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e724918b3786252b985b0c2764c16a57d1937707
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html