Loading
RDMA/hns: Fix delay-destruction mechanism not processing kernel db
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBQK42 ---------------------------------------------------------------------- Kernel dbs are not processed by delayed-destruction mechanism. This may lead to HW UAF described in the fixes commit. Expand the hns_roce_umem_node to hns_roce_db_pg_node with kernel db information. This struct is now used by both userspace and kernel db pages. Fixes: 431c875e ("RDMA/hns: Fix simultaneous reset and resource deregistration") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com>