1
0
Fork 0
alistair23-linux/fs/debugfs
Al Viro 93b919da64 debugfs: fix use-after-free on symlink traversal
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>
2019-04-01 00:31:02 -04:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c debugfs: Re-use kstrtobool_from_user() 2018-05-14 16:48:18 +02:00
inode.c debugfs: fix use-after-free on symlink traversal 2019-04-01 00:31:02 -04:00
internal.h debugfs: Remove redundant license text 2017-11-07 20:25:03 +01:00