diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-10 14:04:34 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-25 18:22:25 +0200 |
| commit | fa42fde1f8e6da596de8e0bb1e353bc8ce000bc2 (patch) | |
| tree | fcd7d6c1d658fc6253a3dc2258e10a15e1e30e7b /arch | |
| parent | cf0259f7662a84b20ac3a71b9e1cc9e918e9a244 (diff) | |
apparmorfs: fix use-after-free on symlink traversal
[ Upstream commit f51dcd0f621caac5380ce90fbbeafc32ce4517ae ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
