https://github.com/google/kmsan
Revision d4d0313700c640188e6fd61afd4cea483ea9dfba authored by Alexander Potapenko on 13 April 2020, 14:13:46 UTC, committed by Alexander Potapenko on 24 September 2021, 14:36:25 UTC
As noted by Andrey Konovalov, 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.

Signed-off-by: Alexander Potapenko <glider@google.com>

Link: https://linux-review.googlesource.com/id/I4c0073224ac2897cafb8c037362c49dda9cfa133
1 parent 3720323
History
Tip revision: d4d0313700c640188e6fd61afd4cea483ea9dfba authored by Alexander Potapenko on 13 April 2020, 14:13:46 UTC
x86: fs: kmsan: disable CONFIG_DCACHE_WORD_ACCESS
Tip revision: d4d0313
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.config.example -rw-r--r-- 148.6 KB
.config.extended -rw-r--r-- 133.2 KB
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.9 KB
.mailmap -rw-r--r-- 19.8 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.6 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 605.7 KB
Makefile -rw-r--r-- 64.1 KB
README -rw-r--r-- 727 bytes
README.md -rw-r--r-- 1.9 KB
SECURITY.md -rw-r--r-- 283 bytes

README.md

back to top