mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 03:03:00 +09:00
[ Upstream commitf0e82242b1] kfree(dev) has been called inside put_device so anther kfree would cause a use-after-free bug/ Fixes:8286ae0330("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>