WSL2-Linux-Kernel/fs/debugfs
Al Viro c49cf5c847 debugfs: fix use-after-free on symlink traversal
[ Upstream commit 93b919da64 ]

symlink body shouldn't be freed without an RCU delay.  Switch debugfs to
->destroy_inode() and use of call_rcu(); free both the inode and symlink
body in the callback.  Similar to solution for bpf, only here it's even
more obvious that ->evict_inode() can be dropped.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-08 07:20:49 +02:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c fs: update location of filesystems documentation 2017-05-16 08:44:22 -03:00
inode.c debugfs: fix use-after-free on symlink traversal 2019-05-08 07:20:49 +02:00
internal.h debugfs: remove extra debugfs_create_file_unsafe() declaration 2016-08-31 15:08:10 +02:00