From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DF40A046B for ; Thu, 27 Jun 2019 23:16:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED1341E20; Thu, 27 Jun 2019 23:16:09 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 371511E20; Thu, 27 Jun 2019 23:16:08 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A64FF220CB; Thu, 27 Jun 2019 17:16:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 27 Jun 2019 17:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=y5BgeXs2VVqV1VYeo7fzEWDJZiUXDGt5ukfOt7rPsHs=; b=CMYCeJtDkYGM +f/JlPpAXZYzmFHhEVMPCR8B9gCBKKdd+PpQEJdWzs9PSde7pLe2mSsI/aXgI9+m RX26X8tuGTdq4XmZSAfZqmJzLjclesFo0OH2B6GlvOzeTbaskNdKFCrH25202uV2 9PFnWeufOsxu4UUQb4qRBnUuiflBNds= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=y5BgeXs2VVqV1VYeo7fzEWDJZiUXDGt5ukfOt7rPs Hs=; b=b53alnKIxiuJBVJkAYxVw8HjEHkUGCH9kaM8ucwV9Z4KaJ4wkMURkg37D Ok5kDhfFa9eS7j13bjaWOMtffEIyCpjyqcZR580r+Mvtb6nFNOF9e/1Mg/mmowME XNAG8+84OMmRd1nzJBWHWFiV7UKE+4lrvTlV0Hv516e5RuYdkJT9pMkj+glL9MqK sXE7LaVKpxDy618iZzomt7ETUUFLN3h4go4LkJZQ98IzSHfv40NipPcWh+VJ5i+p lyKPDNSyimOQ+mfKkeaIDBvpiiTDRzav2tpPffS/OIN5+jRN0SjMBLZHdCzwWGYP 5sOSliNBRpwZ00ym2VVKkcmgRLwVQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekgdduieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff homhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrddvtdefrddukeegnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtne cuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D637580063; Thu, 27 Jun 2019 17:16:05 -0400 (EDT) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org, michel@digirati.com.br, stable@dpdk.org Date: Thu, 27 Jun 2019 23:16:04 +0200 Message-ID: <1574152.yE7rOHmIcX@xps> In-Reply-To: <20190621142649.14125-1-konstantin.ananyev@intel.com> References: <20190621142649.14125-1-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] bpf: fix invalid array size X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 21/06/2019 16:26, Konstantin Ananyev: > Array ins_chk in lib/librte_bpf/bpf_validate.c has 255 entries. > So the instruction with opcode == 255 will reading beyond array > boundaries. > For more details please refer to: > https://bugs.dpdk.org/show_bug.cgi?id=283 > > Fixes: 6e12ec4c4d6d ("bpf: add more checks") > Cc: stable@dpdk.org > > Reported-by: Michel Machado > Signed-off-by: Konstantin Ananyev Applied, thanks