Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp48579ybh; Tue, 21 Jul 2020 16:05:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnFJhFv90GQQHVSM6SXQAkeTcDeRz+LHVh7X3YyE2Oy7PWLvwE/jVRkVwJq5E2lpdfaSxV X-Received: by 2002:a50:fc88:: with SMTP id f8mr28470217edq.314.1595372705810; Tue, 21 Jul 2020 16:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595372705; cv=none; d=google.com; s=arc-20160816; b=L1L02JREHGiLVTsSX5GBpKUDVrADKgV42vW4Sc1YCC9ZKUuHMqPZZmuWgToy4+la3Y z7Pk22F2XNY4xHOsyfUMAFNeeGTFWaIrjVO8h6s77jXyQTzh3BEUHMgKJQqXvaKh/owK P5Q2+2SWdwKszPmB5/F4aZq7buPjFXTwy7M5wghh0yT80Bi6kopkL51EaQT0iVkhmAPp zx7JfjgXOKIAvRdIBPqBd04edI3EISGMV2uTEUsWesNQ+21/1NaESbcnhQ2xrempyT3P E4Z99kt7dXf+hcEaPL3YkOjH+ElDO1iL4upN9oADFX7Ds4W6rtSzBQv7YFk2Diyya50A 78wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=WvMQ493qknWqC4aN44b/0wpXzOT4HpiIAfGO202Q1SI=; b=WnS2ek5eWn+lObT6ZzzMLLXKdDYSR6mVMnf+3l2gBVyrdCbXMcO+v/4uSHzVV1rSvn tedZkfA2HdtCNiId0SPphjhCaNgtSo3SyBF+FPliZsf+/CQg6MyU1sjYeA+QfMaVrNvN FLtfxe3kBcnmiQ5+JE4tnFNJldlkT7bd8GVYmoqo2JSmkjWtu+E5TLcPU14c75naMLHR r7OUXzTs3AdE0BBDhKjfbmazq9R0/gqaF7x+pwxfRSvNTznWRu9dntKQqbS076ONOoEC msjJ+O2ikrnCLNd9mQFKBOOkrUAWXHuyXzdWEcM4fYZNerZmrwGFIhqFYeVOsXxnGXUO fnwA== 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 l7si13036378edr.156.2020.07.21.16.04.42; Tue, 21 Jul 2020 16:05:05 -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 S1728092AbgGUXEd (ORCPT + 99 others); Tue, 21 Jul 2020 19:04:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbgGUXEd (ORCPT ); Tue, 21 Jul 2020 19:04:33 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F2DBC061794 for ; Tue, 21 Jul 2020 16:04:33 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jy1JC-00HUkp-Vd; Tue, 21 Jul 2020 23:04:27 +0000 Date: Wed, 22 Jul 2020 00:04:26 +0100 From: Al Viro To: Max Filippov Cc: linux-xtensa@linux-xtensa.org, Chris Zankel , linux-kernel@vger.kernel.org Subject: Re: [PATCH] xtensa: fix access check in csum_and_copy_from_user Message-ID: <20200721230426.GC2786714@ZenIV.linux.org.uk> References: <20200721220035.32584-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721220035.32584-1-jcmvbkbc@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 21, 2020 at 03:00:35PM -0700, Max Filippov wrote: > Commit d341659f470b ("xtensa: switch to providing > csum_and_copy_from_user()") introduced access check, but incorrectly > tested dst instead of src. > Fix access_ok argument in csum_and_copy_from_user. Applied, with apologies... Which tree do you want it to go through? I'm dropping it into vfs.git#fixes, will send to Linus unless you prefer it to go some other way...