PCI: check BIR before mapping MSI-X Table
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8XWD4 CVE: NA ------------------- We use 'bir' as the index of array resource[DEVICE_COUNT_RESOURCE]. Wrong 'bir' will cause access out of range. This patch add a check for 'bir'. Signed-off-by:Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com> Conflicts: drivers/pci/msi.c Signed-off-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>
Loading
Please sign in to comment