This is a note to let you know that I've just added the patch titled hardening: drop obsolete UBSAN_SANITIZE_ALL from config fragment to the 6.8-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: hardening-drop-obsolete-ubsan_sanitize_all-from-conf.patch and it can be found in the queue-6.8 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 2109a3fd1413eb8f5990f54ba1bbb95b882b6da5 Author: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> Date: Thu Feb 8 10:10:44 2024 +0100 hardening: drop obsolete UBSAN_SANITIZE_ALL from config fragment [ Upstream commit 006eac3fe20f03ea70765cb02a823dbb8737ec00 ] Commit 7a628f818499 ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") removes the config UBSAN_SANITIZE_ALL, but one reference to that config is left in the hardening.config fragment. Drop this reference in hardening.config fragment. Note that CONFIG_UBSAN is still enabled in the hardening.config fragment, so the functionality when using this fragment remains the same. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> Link: https://lore.kernel.org/r/20240208091045.9219-2-lukas.bulwahn@xxxxxxxxx Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> Stable-dep-of: e048d668f296 ("configs/hardening: Fix disabling UBSAN configurations") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/kernel/configs/hardening.config b/kernel/configs/hardening.config index 95a400f042b12..4dc0cd342cede 100644 --- a/kernel/configs/hardening.config +++ b/kernel/configs/hardening.config @@ -44,7 +44,6 @@ CONFIG_UBSAN_BOUNDS=y # CONFIG_UBSAN_BOOL # CONFIG_UBSAN_ENUM # CONFIG_UBSAN_ALIGNMENT -CONFIG_UBSAN_SANITIZE_ALL=y # Linked list integrity checking. CONFIG_LIST_HARDENED=y