Loading
RDMA/hns: Fix DCA mmap area PUAF
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB2H4P ---------------------------------------------------------------------- DCA mmap area would be freed after driver reseted or hot unplugged. At this time, the vma is still valid, which may lead to a PUAF. Using rdma_user_mmap_io() to remap this area to ensure the vma is zapped after dirver removal. Fixes: d3caaebd ("RDMA/hns: Optimize user DCA perfermance by sharing DCA status") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>