Skip to content
Commit 46c87441 authored by Al Viro's avatar Al Viro
Browse files

securityfs: fix use-after-free on symlink traversal



symlink body shouldn't be freed without an RCU delay.  Switch securityfs
to ->destroy_inode() and use of call_rcu(); free both the inode and symlink
body in the callback.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6af1c849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment