Commit 203c2a6d authored by Dexuan Cui's avatar Dexuan Cui Committed by Xie XiuQi
Browse files

PCI: hv: Fix a use-after-free bug in hv_eject_device_work()



commit 4df591b2 upstream.

Fix a use-after-free in hv_eject_device_work().

Fixes: 05f151a7 ("PCI: hv: Fix a memory leak in hv_eject_device_work()")
Signed-off-by: default avatarDexuan Cui <decui@microsoft.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 8523c1f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment