lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <818ce7b6-96ca-2644-de41-2c05de13a77c@huawei.com>
Date: Thu, 31 Aug 2023 23:34:36 +0800
From: Xu Kuohai <xukuohai@...wei.com>
To: Eduard Zingerman <eddyz87@...il.com>, Jiri Olsa <olsajiri@...il.com>
CC: Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann
	<daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>,
	<netdev@...r.kernel.org>, <bpf@...r.kernel.org>, Martin KaFai Lau
	<kafai@...com>, Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
	John Fastabend <john.fastabend@...il.com>, KP Singh <kpsingh@...omium.org>,
	Stanislav Fomichev <sdf@...gle.com>, Hao Luo <haoluo@...gle.com>, Hou Tao
	<houtao1@...wei.com>
Subject: Re: [BUG bpf-next] bpf/net: Hitting gpf when running selftests

On 8/31/2023 11:03 PM, Eduard Zingerman wrote:
> On Thu, 2023-08-31 at 13:52 +0300, Eduard Zingerman wrote:
>> On Wed, 2023-08-30 at 23:07 +0200, Jiri Olsa wrote:
>>> On Wed, Aug 30, 2023 at 08:58:11PM +0200, Jiri Olsa wrote:
>>>> hi,
>>>> I'm hitting crash below on bpf-next/master when running selftests,
>>>> full log and config attached
>>>
>>> it seems to be 'test_progs -t sockmap_listen' triggering that
>>
>> Hi,
>>
>> I hit it as well, use the following command to reproduce:
>>
>>    for i in $(seq 1 100); do \
>>      ./test_progs -a 'sockmap_listen/sockmap VSOCK test_vsock_redir' \
>>      | grep Summary; \
>>    done
>>
> 
> For what its worth, bisect points to the following commit:
> 147f3efaa241 ("sched/fair: Implement an EEVDF-like scheduling policy")
> 
> Which was merged into bpf-next 3 days ago as a part of:
> 3ca9a836ff53 ("Merge tag 'sched-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip")
> 
> Scheduling changes uncovered some old race condition?
>

As replied in another mail, I think the issue is introduced by this commit:

405df89dd52c ("bpf, sockmap: Improved check for empty queue")


> [...]
> 
> 
> .


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ