android_kernel_motorola_sm6375/fs/ocfs2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ferry Meng e8f9c4af7a ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
[ Upstream commit af77c4fc1871847b528d58b7fdafb4aa1f6a9262 ]

xattr in ocfs2 maybe 'non-indexed', which saved with additional space
requested.  It's better to check if the memory is out of bound before
memcmp, although this possibility mainly comes from crafted poisonous
images.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ferry Meng <[email protected]>
Signed-off-by: Joseph Qi <[email protected]>
Reported-by: lei lu <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Jun Piao <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-11-08 16:20:26 +01:00
..
cluster
dlm ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider use 2023-06-09 10:28:54 +02:00
dlmfs
acl.c
acl.h
alloc.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
alloc.h
aops.c ocfs2: fix data corruption after failed write 2023-04-05 11:16:42 +02:00
aops.h
blockcheck.c
blockcheck.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: add bounds checking to ocfs2_check_dir_entry() 2024-07-27 10:38:33 +02:00
dir.h
dlmglue.c ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown 2023-01-18 11:42:06 +01:00
dlmglue.h
export.c
export.h
extent_map.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
extent_map.h
file.c ocfs2: fix races between hole punching and AIO+DIO 2024-07-05 09:08:18 +02:00
file.h
filecheck.c
filecheck.h
heartbeat.c
heartbeat.h
inode.c
inode.h
ioctl.c
ioctl.h
journal.c ocfs2: fix memory leak in ocfs2_mount_volume() 2023-01-18 11:40:56 +01:00
journal.h ocfs2: fix memory leak in ocfs2_mount_volume() 2023-01-18 11:40:56 +01:00
Kconfig
localalloc.c
localalloc.h
locks.c
locks.h
Makefile
mmap.c
mmap.h
move_extents.c ocfs2: fix non-auto defrag path not working issue 2023-03-11 16:44:00 +01:00
move_extents.h
namei.c ocfs2: use coarse time for new created files 2024-07-05 09:08:18 +02:00
namei.h
ocfs1_fs_compat.h
ocfs2.h
ocfs2_fs.h
ocfs2_ioctl.h
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2_trace.h
quota.h
quota_global.c
quota_local.c
refcounttree.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
refcounttree.h
reservations.c
reservations.h
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c ocfs2: fix memory leak in ocfs2_stack_glue_init() 2023-01-18 11:40:54 +01:00
stackglue.h
suballoc.c
suballoc.h
super.c ocfs2: fix use-after-free when unmounting read-only filesystem 2023-06-21 15:44:09 +02:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
xattr.c ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry() 2024-11-08 16:20:26 +01:00
xattr.h