Loading
RDMA/hns: Fix HW UAF when destroy context timeout
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAL7SX ---------------------------------------------------------------------- If mbox timeout during detroying some resource, the HW may still access the related resource which caused an UAF. To fix it, if resource destruction fails, the resource till be retained until driver uninit. Fixes: 431c875e ("RDMA/hns: Fix simultaneous reset and resource deregistration") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>