From: Thomas Monjalon <thomas@monjalon.net>
To: Marat Khalili <marat.khalili@huawei.com>
Cc: Konstantin Ananyev <konstantin.ananyev@huawei.com>,
dev@dpdk.org, stable@dpdk.org,
Sebti Mouelhi <sebti.mouelhi@huawei.com>
Subject: Re: [PATCH] bpf/validate: fix 32-bit BPF_AND/OR/XOR shift UBs
Date: Thu, 15 Oct 2026 23:48:10 +0200 [thread overview]
Message-ID: <JB6AoSDES7OTqsCmhpZbHg@monjalon.net> (raw)
In-Reply-To: <20260825095530.41354-1-marat.khalili@huawei.com>
25/08/2026 11:55, Marat Khalili:
[...]
> To fix the issue change to subtracting clz64 result from 64 instead of
> instruction width, add tests. Remove no-longer-used opsz argument
> (truncation of inputs to 32 bits is handled by the caller `eval_alu`).
>
> Fixes: 8021917293d0 ("bpf: add extra validation for input BPF program")
> Cc: stable@dpdk.org
>
> Reported-by: Sebti Mouelhi <sebti.mouelhi@huawei.com>
> Signed-off-by: Marat Khalili <marat.khalili@huawei.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Applied, thanks.
prev parent reply other threads:[~2026-10-15 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 9:55 [PATCH] bpf/validate: fix 32-bit BPF_AND/OR/XOR shift UBs Marat Khalili
2026-08-25 11:06 ` Marat Khalili
2026-10-15 21:48 ` Thomas Monjalon [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=JB6AoSDES7OTqsCmhpZbHg@monjalon.net \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=konstantin.ananyev@huawei.com \
--cc=marat.khalili@huawei.com \
--cc=sebti.mouelhi@huawei.com \
--cc=stable@dpdk.org \
/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