From: patchwork-bot+netdevbpf@kernel.org
To: Teng Qi <starmiku1207184332@gmail.com>
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
davem@davemloft.net, kuba@kernel.org, lipeng321@huawei.com,
huangguangbin2@huawei.com, zhengyongjun3@huawei.com,
liuyonglong@huawei.com, shenyang39@huawei.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
baijiaju1990@gmail.com, islituo@gmail.com, oslab@tsinghua.edu.cn
Subject: Re: [PATCH] ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
Date: Thu, 18 Nov 2021 11:20:08 +0000 [thread overview]
Message-ID: <163723440886.3044.13326844858914802767.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20211117034453.28963-1-starmiku1207184332@gmail.com>
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Wed, 17 Nov 2021 11:44:53 +0800 you wrote:
> The if statement:
> if (port >= DSAF_GE_NUM)
> return;
>
> limits the value of port less than DSAF_GE_NUM (i.e., 8).
> However, if the value of port is 6 or 7, an array overflow could occur:
> port_rst_off = dsaf_dev->mac_cb[port]->port_rst_off;
>
> [...]
Here is the summary with links:
- ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
https://git.kernel.org/netdev/net/c/a66998e0fbf2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
next prev parent reply other threads:[~2021-11-18 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 3:44 [PATCH] ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port() Teng Qi
2021-11-18 11:20 ` patchwork-bot+netdevbpf [this message]
2021-11-19 3:37 ` lipeng (Y)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163723440886.3044.13326844858914802767.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=baijiaju1990@gmail.com \
--cc=davem@davemloft.net \
--cc=huangguangbin2@huawei.com \
--cc=islituo@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lipeng321@huawei.com \
--cc=liuyonglong@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=oslab@tsinghua.edu.cn \
--cc=salil.mehta@huawei.com \
--cc=shenyang39@huawei.com \
--cc=starmiku1207184332@gmail.com \
--cc=yisen.zhuang@huawei.com \
--cc=zhengyongjun3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox