From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CDF1C4708F for ; Wed, 2 Jun 2021 18:00:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7804D61DC0 for ; Wed, 2 Jun 2021 18:00:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231246AbhFBSCM (ORCPT ); Wed, 2 Jun 2021 14:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbhFBSCL (ORCPT ); Wed, 2 Jun 2021 14:02:11 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ADCCC061574 for ; Wed, 2 Jun 2021 11:00:28 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id f22so2854352pfn.0 for ; Wed, 02 Jun 2021 11:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QcAc3xpbq6mLinHs8cXNP7UooUJNCieL/STNfq/k4D0=; b=Hflp9s800Hj2D2XM6bJiMGZ5r0m3Ef9CHGvvFZMmMB0I3nIJo4O8RRVb4GyC9804bK v94gfr6S+cZIaELM3xJkHU5bTZQ8v4Ouk2uoBjwQ2PJxU1nPn/E0cUCWPopTn0dh/bRo DzM8rd93fX4yK6LBx6gvL19oBxr9YSzIFQPUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QcAc3xpbq6mLinHs8cXNP7UooUJNCieL/STNfq/k4D0=; b=n412kNlliKR3fTqOWGqR/5VQCUfrNby7bL1Kokf7+/w5k7+Tfwq8SctjZjNiT6CODL WZqWlFBqUOqI4a4GROTcDQdRLqUBUDxzArUW4rcs3gq99NClXYi+Y2c42nbyYZy204V9 73I6kCbZ7NSSOdSnh6s3AjOnq2kkthihWjNq1lbNYfH7/edxeV3vDMctkDkgYHMMlSf8 bifY6IHKmnNDOJQ3fxITT0xSPjEXfI3SXicLXmQIP+mocxQejNc8cvkFyEtGZqB5bkY9 z5wtGbTCUjE0eHdd+xUhRVptyjlIncgwBQeM8OrU+eiF0B/uhcwS5i5z+O84ixz32msB 0QIA== X-Gm-Message-State: AOAM5307mQVjk3KGLNAWPjyGH6SSAzYq/qiQVMaQCoBph3mJ7X/1QfPA 8AN8F6aadNjvqq8kdwFhEPRPNg== X-Google-Smtp-Source: ABdhPJyqP4fRvL+ZxEDU1MMjYnQQXdCkpSaWoeRi6uM8dZgGFYgmTgVhhfRwgvcSKAIgXV3UEi1Sjw== X-Received: by 2002:a62:3344:0:b029:24c:735c:4546 with SMTP id z65-20020a6233440000b029024c735c4546mr28651087pfz.1.1622656828035; Wed, 02 Jun 2021 11:00:28 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id w8sm397227pgf.81.2021.06.02.11.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 11:00:27 -0700 (PDT) Date: Wed, 2 Jun 2021 11:00:26 -0700 From: Kees Cook To: "Martin K. Petersen" Cc: Hannes Reinecke , "James E.J. Bottomley" , "Gustavo A. R. Silva" , Bradley Grove , Artur Paszkiewicz , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 0/3] scsi: Fix a handful of memcpy() field overflows Message-ID: <202106021100.86D738D@keescook> References: <20210528181337.792268-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On Tue, Jun 01, 2021 at 11:38:47PM -0400, Martin K. Petersen wrote: > Kees, > > > While working on improving FORTIFY_SOURCE's memcpy() coverage, there are > > a few fixes that don't require any helper changes, etc. > > Applied patches 2 and 3 to 5.14/scsi-staging, please update patch 1. > > Thanks! Awesome; thanks! I've sent v2 for patch 1 now. -- Kees Cook