summaryrefslogtreecommitdiffstats
path: root/fs/ext4/dir.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-08-27 07:47:09 +0200
committerTheodore Ts'o <tytso@mit.edu>2018-08-27 07:47:09 +0200
commitb50282f3241acee880514212d88b6049fb5039c8 (patch)
treeb848cc5a2dce967053f7e1c63ee782e619100b07 /fs/ext4/dir.c
parentext4: add nonstring annotations to ext4.h (diff)
downloadlinux-b50282f3241acee880514212d88b6049fb5039c8.tar.xz
linux-b50282f3241acee880514212d88b6049fb5039c8.zip
ext4: check to make sure the rename(2)'s destination is not freed
If the destination of the rename(2) system call exists, the inode's link count (i_nlinks) must be non-zero. If it is, the inode can end up on the orphan list prematurely, leading to all sorts of hilarity, including a use-after-free. https://bugzilla.kernel.org/show_bug.cgi?id=200931 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reported-by: Wen Xu <wen.xu@gatech.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/dir.c')
0 files changed, 0 insertions, 0 deletions