Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp392626pxv; Thu, 22 Jul 2021 02:51:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxagj+UFph7Ts8s5w75o8h3Wv4M7S625zAQEFq6bZmKwXkvdtTOL8LCzLu9iUBGW6MijSZj X-Received: by 2002:a5e:c006:: with SMTP id u6mr334037iol.66.1626947473165; Thu, 22 Jul 2021 02:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626947473; cv=none; d=google.com; s=arc-20160816; b=cjpRtVLPydD5pE8vDBLls9xxooPVLjFwvyuacZZor15phaTe9QEIej4T2MBQ9hss9H mo8enRB5ERJPg5clltfN7q0O7l+w2OI1RhIIGY3/LZwRBqInQEMeIj3OD1cNdLvOPjuN mCb/iJUTb7/w+1QH8UPuMDPn9mXchOCh73rBCSanTvAxHD1VlH0WGlPxO/r8G7ZetFpd fA0qpUAjHA2UAIaYg2rN2cYN9UPNUJQmwhWPiJFTvIuCIbND69aXUrPjvAOC0PKQhW6f R2Ij/rn+XJlcWUGgRuOcNxIa9blzlrIlll5Yl9nCydmVqknYE9lBXJiytr+vMON5YO2F Om1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7NS1SG23ky+FzRspdZSMaHUEavAeIE7J5e60Jht2Fm0=; b=S5OPHzBKRApZetz+49wvx+fFSKli8AjAtRi74eSz/ObLlBMVPe5njjurgRKP49B6KY icS2QNWnykzbv5k/kbDDE5hlI0GqP9pQaCXDvyORI+ToOy+6l5vj+GOlmRJrItPdtiEO ynpC6JxYNiy9F8z3dBwjHYm7yvW7pJ0vEUTXSxIq50jpw/yQel4izNbU0nAV222jJMEx 8j2uxszjrMQDmrYZVSIbhcDa385BUV2EyUPGCZ5ZR0vBjSsgoWwVEEqGnJ26Nlees2oJ BCcyW9g4XPtD6b3UJkKmyfRl64dz1vlx/Wz9HHmbUUlvn9Dnw2XAxrkaRppNwGTyxMwP Jx6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 g9si30741622ilb.126.2021.07.22.02.51.00; Thu, 22 Jul 2021 02:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231368AbhGVJII (ORCPT + 99 others); Thu, 22 Jul 2021 05:08:08 -0400 Received: from mailout1.secunet.com ([62.96.220.44]:50074 "EHLO mailout1.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbhGVJIH (ORCPT ); Thu, 22 Jul 2021 05:08:07 -0400 Received: from cas-essen-02.secunet.de (unknown [10.53.40.202]) by mailout1.secunet.com (Postfix) with ESMTP id 0890080005A; Thu, 22 Jul 2021 11:48:41 +0200 (CEST) Received: from mbx-essen-01.secunet.de (10.53.40.197) by cas-essen-02.secunet.de (10.53.40.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 22 Jul 2021 11:48:40 +0200 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-01.secunet.de (10.53.40.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 22 Jul 2021 11:48:40 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 3C7333180B27; Thu, 22 Jul 2021 11:48:40 +0200 (CEST) Date: Thu, 22 Jul 2021 11:48:40 +0200 From: Steffen Klassert To: Dmitry Safonov CC: , Dmitry Safonov <0x7f454c46@gmail.com>, "David S. Miller" , Herbert Xu , Jakub Kicinski , YueHaibing , , , "Shuah Khan" , Subject: Re: [PATCH 0/2] xfrm/compat: Fix xfrm_spdattr_type_t copying Message-ID: <20210722094840.GD893739@gauss3.secunet.de> References: <20210717150222.416329-1-dima@arista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210717150222.416329-1-dima@arista.com> X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-01.secunet.de (10.53.40.197) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 17, 2021 at 04:02:20PM +0100, Dmitry Safonov wrote: > Here is the fix for both 32=>64 and 64=>32 bit translators and a > selftest that reproduced the issue. > > Big thanks to YueHaibing for fuzzing and reporting the issue, > I really appreciate it! > > Cc: "David S. Miller" > Cc: Herbert Xu > Cc: Jakub Kicinski > Cc: Steffen Klassert > Cc: YueHaibing > Cc: netdev@vger.kernel.org > > Dmitry Safonov (2): > net/xfrm/compat: Copy xfrm_spdattr_type_t atributes > selftests/net/ipsec: Add test for xfrm_spdattr_type_t > > net/xfrm/xfrm_compat.c | 49 ++++++++- > tools/testing/selftests/net/ipsec.c | 165 +++++++++++++++++++++++++++- > 2 files changed, 207 insertions(+), 7 deletions(-) Series applied, thanks Dmitry!