linux_dsm_epyc7002/fs/ubifs
Sascha Hauer e9cd7dfd7e ubifs: Do not skip hash checking in data nodes
UBIFS bails out early from try_read_node() when it doesn't have to check
the CRC. Still the node hash has to be checked, otherwise wrong data
could be sneaked into the FS. Fix this by not bailing out early and
always checking the node hash.

Fixes: 16a26b20d2 ("ubifs: authentication: Add hashes to index nodes")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-05-07 21:58:23 +02:00
..
auth.c ubifs: work around high stack usage with clang 2019-05-07 21:36:39 +02:00
budget.c
commit.c
compress.c
crypto.c
debug.c
debug.h
dir.c ubifs: remove unnecessary calls to set up directory key 2019-05-07 21:36:39 +02:00
file.c
find.c ubifs: Pass struct ubifs_info to ubifs_assert() 2018-08-15 00:25:21 +02:00
gc.c
io.c
ioctl.c ubifs: remove unnecessary #ifdef around fscrypt_ioctl_get_policy() 2019-05-07 21:36:39 +02:00
journal.c
Kconfig
key.h
log.c
lprops.c
lpt_commit.c
lpt.c
Makefile
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c
super.c
tnc_commit.c
tnc_misc.c
tnc.c ubifs: Do not skip hash checking in data nodes 2019-05-07 21:58:23 +02:00
ubifs-media.h
ubifs.h
xattr.c