android_kernel_sony_sdm845/fs/debugfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Al Viro 1ef8447ab8 debugfs: fix use-after-free on symlink traversal
[ Upstream commit 93b919da64c15b90953f96a536e5e61df896ca57 ]

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:19:10 +02:00
..
file.c debugfs: propagate release() call result 2016-09-27 12:45:57 +02:00
inode.c debugfs: fix use-after-free on symlink traversal 2019-05-08 07:19:10 +02:00
internal.h debugfs: remove extra debugfs_create_file_unsafe() declaration 2016-08-31 15:08:10 +02:00
Makefile