linux/fs/affs
Al Viro 15934a3d16 affs_lookup(): close a race with affs_remove_link()
commit 30da870ce4 upstream.

we unlock the directory hash too early - if we are looking at secondary
link and primary (in another directory) gets removed just as we unlock,
we could have the old primary moved in place of the secondary, leaving
us to look into freed entry (and leaving our dentry with ->d_fsdata
pointing to a freed entry).

Acked-by: David Sterba <dsterba@suse.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-10-21 08:46:15 +01:00
..
affs.h fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00
amigaffs.c move d_rcu from overlapping d_child to overlapping d_alias 2015-01-15 10:44:58 +00:00
bitmap.c fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
dir.c fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2014-06-12 10:30:18 -07:00
inode.c fs: Give dentry to inode_change_ok() instead of inode 2017-02-23 03:53:52 +00:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
namei.c affs_lookup(): close a race with affs_remove_link() 2018-10-21 08:46:15 +01:00
super.c fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00
symlink.c fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00