diff options
| author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-11-20 15:48:47 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-29 13:42:37 +0100 |
| commit | dee5e1419f29c205c69189b9aca00c81676388d7 (patch) | |
| tree | 17fa7fe6b827f6f38e4cd4a7d6ab1c97a85cc6fb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 29f2cddbd0b646932f1f58fc41985ef32d514a75 (diff) | |
mips: cdmm: fix use-after-free in mips_cdmm_bus_discover
[ Upstream commit f0e82242b16826077a2775eacfe201d803bb7a22 ]
kfree(dev) has been called inside put_device so anther
kfree would cause a use-after-free bug/
Fixes: 8286ae03308c ("MIPS: Add CDMM bus support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
