Thread (7 messages) flat view 7 messages, 3 authors, 2021-11-02

Re: [PATCH v2 bpf-next 2/3] bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.

From: Alexei Starovoitov <hidden>
Date: 2021-11-01 23:06:38
Also in: bpf

On Mon, Nov 1, 2021 at 4:03 PM Yonghong Song [off-list ref] wrote:


On 11/1/21 3:21 PM, Alexei Starovoitov wrote:
quoted
From: Alexei Starovoitov <ast@kernel.org>

Similar to unsigned bounds propagation fix signed bounds.
The 'Fixes' tag is a hint. There is no security bug here.
The verifier was too conservative.

Fixes: 3f50f132d840 ("bpf: Verifier, do explicit ALU32 bounds tracking")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
The change looks good. Should a new test_verifier test be added
to exercise the new change?
I think manually string comparing output the way VERBOSE_ACCEPT is doing
is an overkill here.
The real test case in .c will take some time to craft.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help