Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp286845rdb; Tue, 19 Dec 2023 17:34:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvweV/broqWnWQshtHJsqjg2fFUyGhKZKEnRBboJz3azZ2XHS9qrBZutmmt/I5e5EZMVVU X-Received: by 2002:a05:600c:1715:b0:40c:24b6:ba53 with SMTP id c21-20020a05600c171500b0040c24b6ba53mr8952739wmn.101.1703036048281; Tue, 19 Dec 2023 17:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703036048; cv=none; d=google.com; s=arc-20160816; b=Szf/A4iKXNQLepnnXVzx6PR71IUKH0IIOanOgzUUJApolA0bWe0J5R6qvPF/x92+P4 JHmCqyr3jN8BJjEiZfqH7JH4z8u/ZTsRFY33EPs/QEiETJ96TqqdF5IRRT+q83Jm0DUH cWa/M+s7cKshWe1iWdkiEFUNhJa7sW3cz/ibVL5qrzlaOXNqW7DteAkf7WUabxxnCXS/ uGTzlNHSObUArHnloeD0t4SstXhracf1b9EhtILuwsv2A0hHzX2EUmAjQtBDauwSP6tO kzifBkajNmilPWv03SEDHjixlO5Ip8nLUFshRYvTWjYKAeykjIyldpnsw9bkLbbhVdac uDKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=6olfIGIGgzeHVBOr41s4tt4aNhYKsunOg24EPTapnn0=; fh=Qnveabd0pohEfn7gOjtg4vb7w9qEhX+G4i4tLM7fRf0=; b=YOWBp6ZAjqK8Bv2KwExayTChBsC6JancaFR4Qzxe5CD8HJ/nnPQCZWFaHIQTfUgcox unfYJCfIMmICuD2947q0y+KLQmmE58c9b3YwJGuBTOi4/G/S1uEtTnkkDr8bwPGSCM+m /qTCiaGE3wYNQKblpOOg5sGa7rKDJfeOehDHgGoNBCFzXdzEZZjjIv5mKvV6kmyjvtpv wJmXutB3hXRGsKobOWi3JpdeH6Vx15bg57sxdYGtI8hyZa0H+YZE+QcG+ZOKTgo40Sd4 055OzGD3v4ki3rwns5XgKjup14hPaYrNrODaiDmQs1pLsp7Y9yXMilQ80QJGadp08lwp eASw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JwG44T51; spf=pass (google.com: domain of linux-kernel+bounces-6249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b7-20020a170906194700b00a235dc0d687si2014736eje.754.2023.12.19.17.34.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 17:34:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JwG44T51; spf=pass (google.com: domain of linux-kernel+bounces-6249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 09EB01F264F9 for ; Wed, 20 Dec 2023 01:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5D6B748C; Wed, 20 Dec 2023 01:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JwG44T51" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1B4AFC06; Wed, 20 Dec 2023 01:30:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5BFF5C433CA; Wed, 20 Dec 2023 01:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703035825; bh=ZrNoIh29HSTlJOYdA5duZSg9G5/8jsY1BPip+euLb+U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=JwG44T515OOs2PbyRLEZiKieywVD6225ABxcba+1ehwDyy2cBP+3J+6h/lq3wnvoz /DXxsKKqlrAEiKmM3D3hkWFM17ys5Nh8Ea+PtSVfkcb/9F6MTqyji5Zi/uENWLX8sR /BgEemUIHlqb2kiVBbaobqEw0THYujxtXvXhFUnbHH0Gv7bnsB9aPLVIT0yGFv1f+F ICEwCq+nTqf7EQSGjLTugtSCGciGDZli+ipM2AGRp4IZ5TU1N5MWqweQsOi/fRkx2Y /iAq3Mxz8dOKbgMbpLnKttLkOLCor2su5v3u6LdDwHyZwyZZ/FP5w4kcEUsW0UTQWR UkBhPrjwNLyWA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 3E8E5C561EE; Wed, 20 Dec 2023 01:30:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v5 0/4] bpf: support to track BPF_JNE From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170303582525.28294.7293109481883503225.git-patchwork-notify@kernel.org> Date: Wed, 20 Dec 2023 01:30:25 +0000 References: <20231219134800.1550388-1-menglong8.dong@gmail.com> In-Reply-To: <20231219134800.1550388-1-menglong8.dong@gmail.com> To: Menglong Dong Cc: andrii@kernel.org, eddyz87@gmail.com, yonghong.song@linux.dev, alexei.starovoitov@gmail.com, ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, martin.lau@linux.dev, song@kernel.org, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, mykolal@fb.com, shuah@kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Tue, 19 Dec 2023 21:47:56 +0800 you wrote: > For now, the reg bounds is not handled for BPF_JNE case, which can cause > the failure of following case: > > /* The type of "a" is u32 */ > if (a > 0 && a < 100) { > /* the range of the register for a is [0, 99], not [1, 99], > * and will cause the following error: > * > * invalid zero-sized read > * > * as a can be 0. > */ > bpf_skb_store_bytes(skb, xx, xx, a, 0); > } > > [...] Here is the summary with links: - [bpf-next,v5,1/4] bpf: make the verifier tracks the "not equal" for regs https://git.kernel.org/bpf/bpf-next/c/d028f87517d6 - [bpf-next,v5,2/4] selftests/bpf: remove reduplicated s32 casting in "crafted_cases" https://git.kernel.org/bpf/bpf-next/c/1de584832375 - [bpf-next,v5,3/4] selftests/bpf: activate the OP_NE logic in range_cond() https://git.kernel.org/bpf/bpf-next/c/31d9cc96b1e3 - [bpf-next,v5,4/4] selftests/bpf: add testcase to verifier_bounds.c for BPF_JNE https://git.kernel.org/bpf/bpf-next/c/463ea64eb008 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html