mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ubifs: fix possible dereference after free
[ Upstream commitd81efd6610] 'old_idx' could be dereferenced after free via 'rb_link_node' function call. Fixes:b5fda08ef2("ubifs: Fix memleak when insert_old_idx() failed") Co-developed-by: Ivanov Mikhail <ivanov.mikhail1@huawei-partners.com> Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3c42cc437d
commit
1c250f2c5f
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue