From: patchwork-bot+netdevbpf@kernel.org
To: Zhang Changzhong <zhangchangzhong@huawei.com>
Cc: xiyou.wangcong@gmail.com, davem@davemloft.net,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
jhs@mojatatu.com, jiri@resnulli.us, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, weiyongjun1@huawei.com
Subject: Re: [PATCH net] net/sched: cls_u32: skip hash tables in u32_bind_class()
Date: Wed, 12 Aug 2026 01:40:25 +0000 [thread overview]
Message-ID: <178649882538.1230679.17797134796377555251.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <1786089038-36366-1-git-send-email-zhangchangzhong@huawei.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 7 Aug 2026 15:50:38 +0800 you wrote:
> u32_walk() enumerates both struct tc_u_hnode and struct tc_u_knode
> through the walker callback. u32_bind_class() unconditionally casts the
> passed fh to tc_u_knode and accesses &n->res, so when fh is actually a
> tc_u_hnode, which has no tcf_result member, this results in a
> slab-out-of-bounds read of res->classid in tc_cls_bind_class().
>
> The issue can be reproduced with the following commands:
>
> [...]
Here is the summary with links:
- [net] net/sched: cls_u32: skip hash tables in u32_bind_class()
https://git.kernel.org/netdev/net/c/6d3724e616fa
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-08-12 1:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 7:50 [PATCH net] net/sched: cls_u32: skip hash tables in u32_bind_class() Zhang Changzhong
2026-08-10 14:41 ` Jamal Hadi Salim
2026-08-12 1:40 ` patchwork-bot+netdevbpf [this message]
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=178649882538.1230679.17797134796377555251.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=weiyongjun1@huawei.com \
--cc=xiyou.wangcong@gmail.com \
--cc=zhangchangzhong@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