diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-03-26 01:39:50 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-16 09:17:19 +0200 |
commit | 44a476cf0bc2209c3c91ad9815cccc4a5ea2ca72 (patch) | |
tree | ea8dd51caf2d0c069df3526428c6e2c7e9eecfe9 /drivers | |
parent | c452e33d4940eda5f7f9e173cbc9356de6aedc66 (diff) | |
download | linux-stable-44a476cf0bc2209c3c91ad9815cccc4a5ea2ca72.tar.gz linux-stable-44a476cf0bc2209c3c91ad9815cccc4a5ea2ca72.tar.bz2 linux-stable-44a476cf0bc2209c3c91ad9815cccc4a5ea2ca72.zip |
jffs2: fix use-after-free on symlink traversal
[ Upstream commit 4fdcfab5b5537c21891e22e65996d4d0dd8ab4ca ]
free the symlink body after the same RCU delay we have for freeing the
struct inode itself, so that traversal during RCU pathwalk wouldn't step
into freed memory.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions