summaryrefslogtreecommitdiff
path: root/arch/mips/loongson64
diff options
context:
space:
mode:
authorQinglang Miao <miaoqinglang@huawei.com>2020-11-20 10:48:47 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-11-27 12:38:02 +0300
commitf0e82242b16826077a2775eacfe201d803bb7a22 (patch)
tree5eb27f4138706261304b4af66192a97ee1764783 /arch/mips/loongson64
parenta307a4ce9ecd2e23c71318201330d9d648b3f818 (diff)
downloadlinux-f0e82242b16826077a2775eacfe201d803bb7a22.tar.xz
mips: cdmm: fix use-after-free in mips_cdmm_bus_discover
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>
Diffstat (limited to 'arch/mips/loongson64')
0 files changed, 0 insertions, 0 deletions