Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp979158ybg; Mon, 1 Jun 2020 20:54:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd0a3iKawzj/VuVDphEspJWvhOH5gnBb7+xnhK3fIcAtZYs7P7n9n88Ih5MF9/uPbEuX0y X-Received: by 2002:a50:9f0f:: with SMTP id b15mr24008248edf.60.1591070097210; Mon, 01 Jun 2020 20:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591070097; cv=none; d=google.com; s=arc-20160816; b=kschq7sJ82Z3bEiR0HmhvLh1Rx9S7Ypq2DDiD7Lc+Z/mfwZVr8/rLftsOWGq66rYA6 /GWVoZnWuCxQod6g9JlXf/+NqPoloK6g+JZKvT2vycugWEx62umUFGq5S/vwn9SaesgU 8AmTRFBHCJeZuu6pdtuhH8HTW7LZAC1xyIrD32av9nLKicjjQoPHfC7c2NPy2ZBkeLwt xkLscXjYQsBGJygLsp7k6sIm4uW9LdKU17nq1xrOjRCfu0LqlRD/tIRvFRPOZseZwgq5 mqUjdp6t/VsklRY2VAoPfOgH1qhMus3LkxO9hSDhj7+ccw7NANkMjEMkAipEXT4H1k07 msKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Fv6lfW9s0jZerLh3oykYpkMmXQuwE2P+KnRS/vkU5bU=; b=xGmPTCpz2mj7hx+pdCm7R6VnGvQi4Efc77OJq2pefGfkVuTRbKX/DWtwVz7QnkOd5L P4tLjLtp4vye3ZOKevErNNopEOSKwnfV4EorGCtvKGIDlI88d/6r1YV77HNZ/yVOTvC5 F3aXmrt4E6on6P23DBgreeIjNbzOlxcVmw47gmmQqLBAtr+OSgu+1bWRfEWjJV/ygqM1 OKXx2CRmN7v+CSr250GrP1WQyewpmtOvyQbOBjsmzMFz9RpXQdq4v08g5f4xm2sB6eb7 DobqGsYghIknyb/eUURJzRIZ+RBwF+wWSgSBBmp2TaB3qvol5fss/NL1G1IYZSgrfoTX CuxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si770106edr.516.2020.06.01.20.54.20; Mon, 01 Jun 2020 20:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725900AbgFBDyR (ORCPT + 99 others); Mon, 1 Jun 2020 23:54:17 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:46658 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725793AbgFBDyR (ORCPT ); Mon, 1 Jun 2020 23:54:17 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 639A4D5D1D8B26E95453; Tue, 2 Jun 2020 11:54:15 +0800 (CST) Received: from [10.174.151.115] (10.174.151.115) by smtp.huawei.com (10.3.19.202) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 2 Jun 2020 11:54:05 +0800 Subject: Re: [PATCH v2 2/2] crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req() To: "Michael S. Tsirkin" , Sasha Levin CC: , Gonglei , "Herbert Xu" , Jason Wang , "David S. Miller" , Markus Elfring , , , References: <20200526031956.1897-3-longpeng2@huawei.com> <20200526141138.8410D207FB@mail.kernel.org> <20200531052126-mutt-send-email-mst@kernel.org> From: "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" Message-ID: Date: Tue, 2 Jun 2020 11:54:04 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200531052126-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.151.115] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2020/5/31 17:21, Michael S. Tsirkin wrote: > On Tue, May 26, 2020 at 02:11:37PM +0000, Sasha Levin wrote: >> <20200123101000.GB24255@Red> >> References: <20200526031956.1897-3-longpeng2@huawei.com> >> <20200123101000.GB24255@Red> >> >> Hi >> >> [This is an automated email] >> >> This commit has been processed because it contains a "Fixes:" tag >> fixing commit: dbaf0624ffa5 ("crypto: add virtio-crypto driver"). >> >> The bot has tested the following trees: v5.6.14, v5.4.42, v4.19.124, v4.14.181. >> >> v5.6.14: Build OK! >> v5.4.42: Failed to apply! Possible dependencies: >> eee1d6fca0a0 ("crypto: virtio - switch to skcipher API") >> >> v4.19.124: Failed to apply! Possible dependencies: >> eee1d6fca0a0 ("crypto: virtio - switch to skcipher API") >> >> v4.14.181: Failed to apply! Possible dependencies: >> 500e6807ce93 ("crypto: virtio - implement missing support for output IVs") >> 67189375bb3a ("crypto: virtio - convert to new crypto engine API") >> d0d859bb87ac ("crypto: virtio - Register an algo only if it's supported") >> e02b8b43f55a ("crypto: virtio - pr_err() strings should end with newlines") >> eee1d6fca0a0 ("crypto: virtio - switch to skcipher API") >> >> >> NOTE: The patch will not be queued to stable trees until it is upstream. >> >> How should we proceed with this patch? > > Mike could you comment on backporting? > Hi Michael, I will send V3, so I will resolve these conflicts later. :) >> -- >> Thanks >> Sasha > > . > --- Regards, Longpeng(Mike)