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 DBF95A0525 for ; Fri, 21 Feb 2020 17:12:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D36C934F3; Fri, 21 Feb 2020 17:12:46 +0100 (CET) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id BB81B34F3 for ; Fri, 21 Feb 2020 17:12:44 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id t3so2652685wru.7 for ; Fri, 21 Feb 2020 08:12:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=amzplBCv3Rd25w/1nK149pc3KLDsv742c88cKcyFG+U=; b=L93NEeB/Z3rek0F2raE2YhEV1LR+pOTbb49IjKiCTqnOq12xLBa4bJJUYnygZNlttA cTySrae87QVP3ktZSewA1P8saNALXnX1+uMMaPDc6LTv5Mt5y7XM2myrtt4pPNKLAE4D OseECNDsGHn1/VoQ9rpYqPyaMA6n4BkL66uIwHMOh7zunpieiqeABUpq9Mr2uB2WGb8X 3pMyIzltOlGYOeMP+DTxQC7XNiAdITYf0S+deQfEvy4GzSWnuoGPndeY/7D715FSvhfJ Uf4PrRLhK4BjCPZbSOmlJ22grhRRNplhycCL0uXQw3nkJq5KK41ZOVqebTFfYJhNJMc3 7fug== X-Gm-Message-State: APjAAAVnHphKMyY7CzmFFsztiiCjDhmKx2/qgGVp3zaLNo0MXtXkRlrb qvmO5fRRZsvVHdlcCVt+H7s= X-Google-Smtp-Source: APXvYqyVlLQwFC/6lLrxiC4RDheBv5omqRenH3oZKcturVVT7s/PFlOO+nZLKTFn+DLGHOmCXjwt2A== X-Received: by 2002:adf:cd04:: with SMTP id w4mr52196678wrm.219.1582301564678; Fri, 21 Feb 2020 08:12:44 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id o9sm4570690wrw.20.2020.02.21.08.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 08:12:44 -0800 (PST) Message-ID: From: Luca Boccassi To: "Yu, PingX" Cc: Adam Dybkowski , stable@dpdk.org, fiona.trahe@intel.com, "Mcnamara, John" , "Daly, Lee" , "Xu, Qian Q" , "Yigit, Ferruh" , "O'Hare, Cathal" Date: Fri, 21 Feb 2020 16:12:43 +0000 In-Reply-To: <20200221154005.2777-1-adamx.dybkowski@intel.com> References: <20200221154005.2777-1-adamx.dybkowski@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 17.11] cryptodev: fix missing device id range checking 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" On Fri, 2020-02-21 at 16:40 +0100, Adam Dybkowski wrote: > This patch adds range-checking of the device id passed from > the user app code. It prevents out-of-range array accesses > which in some situations resulted in an > application crash (segfault). >=20 > Fixes: 72de277dd423 ("cryptodev: fix checks related to device id") >=20 > Signed-off-by: Adam Dybkowski Thanks, applied and pushed. Yu, would you have time to re-test the head of the 17.11 branch to see if this fixes the issue with QAT? Thanks! --=20 Kind regards, Luca Boccassi