Commit 029f297e authored by Herbert Xu's avatar Herbert Xu Committed by Xie XiuQi
Browse files

ila: Fix rhashtable walker list corruption



[ Upstream commit b5f9bd15 ]

ila_xlat_nl_cmd_flush uses rhashtable walkers allocated from the
stack but it never frees them.  This corrupts the walker list of
the hash table.

This patch fixes it.

Reported-by: default avatar <syzbot+dae72a112334aa65a159@syzkaller.appspotmail.com>
Fixes: b6e71bde ("ila: Flush netlink command to clear xlat...")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 365e20e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment