x86-fs-kmsan-disable-config_dcache_word_access.patch removed from -mm tree
The quilt patch titled
Subject: x86: fs: kmsan: disable CONFIG_DCACHE_WORD_ACCESS
has been removed from the -mm tree. Its filename was
x86-fs-kmsan-disable-config_dcache_word_access.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alexander Potapenko <[email protected]>
Subject: x86: fs: kmsan: disable CONFIG_DCACHE_WORD_ACCESS
Date: Thu, 15 Sep 2022 17:04:12 +0200
dentry_string_cmp() calls read_word_at_a_time(), which might read uninitialized bytes to optimize string comparisons. Disabling CONFIG_DCACHE_WORD_ACCESS should prohibit this optimization, as well as (probably) similar ones.
---
arch/x86/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/x86/Kconfig renamed from arch/x86/Kconfig~x86-fs-kmsan-disable-config_dcache_word_access +3 -1
@@ -129,7 +129,9 @@ config X86 select CLKEVT_I8253 select CLOCKSOURCE_VALIDATE_LAST_CYCLE select CLOCKSOURCE_WATCHDOG - select DCACHE_WORD_ACCESS + # Word-size accesses may read uninitialized data past the trailing \0 + # in strings and cause false KMSAN reports. + select DCACHE_WORD_ACCESS if !KMSAN select DYNAMIC_SIGFRAME select EDAC_ATOMIC_SCRUB select EDAC_SUPPORT
_
Patches currently in -mm which might be from [email protected] are