android_kernel_samsung_a7y1.../fs/debugfs
Al Viro cad3a82760 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>
2020-04-06 16:42:15 +02:00
..
file.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
inode.c debugfs: fix use-after-free on symlink traversal 2020-04-06 16:42:15 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30