android_kernel_motorola_sm6375/fs/ext4
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Kara e157c8f87e ext4: avoid cycles in directory h-tree
commit 3ba733f879c2a88910744647e41edeefbc0d92b2 upstream.

A maliciously corrupted filesystem can contain cycles in the h-tree
stored inside a directory. That can easily lead to the kernel corrupting
tree nodes that were already verified under its hands while doing a node
split and consequently accessing unallocated memory. Fix the problem by
verifying traversed block numbers are unique.

Cc: [email protected]
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-06-14 18:11:45 +02:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c
dir.c ext4: fix potential infinite loop in ext4_dx_readdir() 2021-10-06 15:42:37 +02:00
ext4.h ext4: fix use-after-free in ext4_search_dir 2022-04-27 13:50:50 +02:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
extents.c ext4: prevent partial update of the extent blocks 2022-02-23 11:59:57 +01:00
extents_status.c
extents_status.h
file.c
fsmap.c
fsmap.h
fsync.c
hash.c
ialloc.c
indirect.c
inline.c ext4: fix bug_on in ext4_writepages 2022-06-14 18:11:45 +02:00
inode.c ext4: fix warning in ext4_handle_inode_extension 2022-06-14 18:11:45 +02:00
ioctl.c ext4: avoid trim error on fs with small groups 2022-01-27 09:19:37 +01:00
Kconfig
Makefile
mballoc.c ext4: avoid trim error on fs with small groups 2022-01-27 09:19:37 +01:00
mballoc.h
migrate.c ext4: don't use the orphan list when migrating an inode 2022-01-27 09:19:51 +01:00
mmp.c
move_extent.c
namei.c ext4: avoid cycles in directory h-tree 2022-06-14 18:11:45 +02:00
page-io.c ext4: fix symlink file size not match to file content 2022-04-27 13:50:50 +02:00
readpage.c
resize.c ext4: add check to prevent attempting to resize an fs with sparse_super2 2022-03-16 13:21:48 +01:00
super.c ext4: reject the 'commit' option on ext2 filesystems 2022-06-14 18:11:38 +02:00
symlink.c ext4: report correct st_size for encrypted symlinks 2021-09-12 08:56:38 +02:00
sysfs.c
truncate.h
verity.c
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c