* [GIT PULL] hardening updates for v6.14-rc1 (fix1)
@ 2025-01-31 21:38 Kees Cook
2025-02-01 1:20 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2025-01-31 21:38 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, Jakub Jelinek, Kees Cook, Masahiro Yamada,
Nathan Chancellor
Hi Linus,
Please pull this hardening fix for v6.14-rc1. This is a fix for the soon
to be released GCC 15 which has regressed its initialization of unions
when performing explicit initialization (i.e. a general problem, not
specifically a hardening problem; we're just carrying the fix). Details
in the final patch, Acked by Masahiro, with updated selftests to validate
the fix.
Thanks!
-Kees
The following changes since commit a9a5e0bdc5a77a7c662ad4be0ad661f0b0d5e99d:
hardening: Document INIT_STACK_ALL_PATTERN behavior with GCC (2025-01-08 14:17:33 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.14-rc1-fix1
for you to fetch changes up to dce4aab8441d285b9a78b33753e0bf583c1320ee:
kbuild: Use -fzero-init-padding-bits=all (2025-01-30 08:48:34 -0800)
----------------------------------------------------------------
hardening updates for v6.14-rc1-fix1
- Fix regression in GCC 15's initialization of union members
----------------------------------------------------------------
Kees Cook (3):
stackinit: Add old-style zero-init syntax to struct tests
stackinit: Add union initialization to selftests
kbuild: Use -fzero-init-padding-bits=all
lib/stackinit_kunit.c | 106 +++++++++++++++++++++++++++++++++++++++++++++
scripts/Makefile.extrawarn | 3 ++
2 files changed, 109 insertions(+)
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-01 1:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 21:38 [GIT PULL] hardening updates for v6.14-rc1 (fix1) Kees Cook
2025-02-01 1:20 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox