[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b91763b5-9c02-525d-db8a-ff0da5cbdb69@huaweicloud.com>
Date: Tue, 29 Oct 2024 09:33:02 +0800
From: Hou Tao <houtao@...weicloud.com>
To: Byeonguk Jeong <jungbu2855@...il.com>,
Toke Høiland-Jørgensen <toke@...nel.org>,
Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>,
Yonghong Song <yonghong.song@...ux.dev>
Cc: linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH v2 bpf 2/2] selftests/bpf: Add test for
trie_get_next_key()
On 10/26/2024 1:04 PM, Byeonguk Jeong wrote:
> Add a test for out-of-bounds write in trie_get_next_key() when a full
> path from root to leaf exists and bpf_map_get_next_key() is called
> with the leaf node. It may crashes the kernel on failure, so please
> run in a VM.
>
> Signed-off-by: Byeonguk Jeong <jungbu2855@...il.com>
> ---
> v1 -> v2:
> - Fixed a build error.
> - Removed unnecessary comments about crash-on-failure warning.
> - Fix a variable to be initialized before using it.
> ---
Acked-by: Hou Tao <houtao1@...wei.com>
Powered by blists - more mailing lists