linux-stable/fs/f2fs
Jaegeuk Kim f201911009 f2fs: fix potential corruption when moving a directory
commit d94772154e upstream.

F2FS has the same issue in ext4_rename causing crash revealed by
xfstests/generic/707.

See also commit 0813299c58 ("ext4: Fix possible corruption when moving a directory")

CC: stable@vger.kernel.org
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 13:59:04 +02:00
..
Kconfig f2fs: introduce F2FS_UNFAIR_RWSEM to support unfair rwsem 2022-03-04 09:15:53 -08:00
Makefile
acl.c fs: pass dentry to set acl method 2022-10-19 12:55:42 +02:00
acl.h fs: pass dentry to set acl method 2022-10-19 12:55:42 +02:00
checkpoint.c f2fs: fix return val in f2fs_start_ckpt_thread() 2022-11-01 17:56:04 -07:00
compress.c f2fs: fix scheduling while atomic in decompression path 2023-05-11 23:11:10 +09:00
data.c f2fs: fix to avoid use-after-free for cached IPU bio 2023-05-11 23:11:12 +09:00
debug.c f2fs: fix some format WARNING in debug.c and sysfs.c 2022-12-12 14:59:39 -08:00
dir.c f2fs: change type for 'sbi->readdir_ra' 2022-11-28 12:46:33 -08:00
extent_cache.c f2fs: factor out victim_entry usage from general rb_tree use 2023-05-17 13:59:03 +02:00
f2fs.h f2fs: factor out victim_entry usage from general rb_tree use 2023-05-17 13:59:03 +02:00
file.c f2fs: fix to check return value of f2fs_do_truncate_blocks() 2023-05-11 23:11:14 +09:00
gc.c f2fs: factor out victim_entry usage from general rb_tree use 2023-05-17 13:59:03 +02:00
gc.h f2fs: factor out victim_entry usage from general rb_tree use 2023-05-17 13:59:03 +02:00
hash.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
inline.c f2fs: fix information leak in f2fs_move_inline_dirents() 2023-03-10 09:29:30 +01:00
inode.c f2fs: synchronize atomic write aborts 2023-03-11 13:50:28 +01:00
iostat.c f2fs: fix to avoid potential memory corruption in __update_iostat_latency() 2023-03-11 13:50:26 +01:00
iostat.h f2fs: iostat: support accounting compressed IO 2022-08-29 21:15:51 -07:00
namei.c f2fs: fix potential corruption when moving a directory 2023-05-17 13:59:04 +02:00
node.c f2fs: add block_age-based extent cache 2022-12-12 14:53:56 -08:00
node.h f2fs: add block_age-based extent cache 2022-12-12 14:53:56 -08:00
recovery.c f2fs: do some cleanup for f2fs module init 2022-12-08 09:32:20 -08:00
segment.c f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block 2023-05-17 13:59:04 +02:00
segment.h f2fs: apply zone capacity to all zone type 2023-05-11 23:11:10 +09:00
shrinker.c f2fs: add block_age-based extent cache 2022-12-12 14:53:56 -08:00
super.c f2fs: fix scheduling while atomic in decompression path 2023-05-11 23:11:10 +09:00
sysfs.c f2fs: fix iostat lock protection 2023-05-11 23:11:12 +09:00
verity.c fs: f2fs: initialize fsdata in pagecache_write() 2023-03-11 13:50:23 +01:00
xattr.c f2fs: support recording errors into superblock 2022-10-04 13:31:45 -07:00
xattr.h