Loading
net: hns3: add checking for vf id of mailbox
mainline inclusion from mainline-v6.9-rc1 commit 4e2969a0d6a7549bc0bc1ebc990588b622c4443d category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I98TUP CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4e2969a0d6a7549bc0bc1ebc990588b622c4443d ---------------------------------------------------------------------- Add checking for vf id of mailbox, in order to avoid array out-of-bounds risk. Signed-off-by:Jian Shen <shenjian15@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Reviewed-by:
Sunil Goutham <sgoutham@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>