commit | f51dcd0f621caac5380ce90fbbeafc32ce4517ae | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Apr 10 14:04:34 2019 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Apr 10 14:04:34 2019 -0400 |
tree | 294cee0590e9e27a93bc9fd6122c50b78da44b99 | |
parent | 46c874419652bbefdfed17420fd6e88d8a31d9ec [diff] |
apparmorfs: fix use-after-free on symlink traversal symlink body shouldn't be freed without an RCU delay. Switch apparmorfs to ->destroy_inode() and use of call_rcu(); free both the inode and symlink body in the callback. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>