Received: by 10.213.65.68 with SMTP id h4csp3192851imn; Mon, 9 Apr 2018 16:10:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/nmG5b+bYRN2U8pCvoMZZc51om4n4jaomcXZd+HrzBWFCn7eCtrXgQ6psriQND17S/RCM1 X-Received: by 2002:a17:902:9a44:: with SMTP id x4-v6mr40947039plv.312.1523315428547; Mon, 09 Apr 2018 16:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523315428; cv=none; d=google.com; s=arc-20160816; b=qHVtQhtOGjiDcJUsK443D6lxySXnCMBDVSpx3hTWpAy9/lerW2Qm4TPpjqS7ZbzWIf CdtiBp+MFNz0Ew7iA5aWc/IaBxL3t/QJNeginxiyoftyVzrFT/YZmPxta/kkEOvJtl+B OAkRKSy/eK/QYAvRTh/p1nw9KIVOsuz1oLRVb8hKsxHadEMd7lqcRHkGhI2vjM9bk/BM UUEYL5YSaYXI6P1Mz+CxlR1AE1EedBcCTnESyc2XkZX0YL71DVBHg0NLe7iCrMEO4Knp R/L6+Ni7HWL1H4sG/j3St5KNBEyzNhkpd4lC/VhZwDfYGedd3O0xiGHn5w9dVvRWFh0r Hv6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=MB8chB+6Pipql7rtl7M9sKF8MSxV1OhL4Ig9Fzy2Dq0=; b=x1Bt8ta2hsoHHKOa59G6Czy2sj9qUno6udMfQqNtwpdSNuIDrQEM4g9xFb0+CQ/mPi 0RSw7nqCbeoogF5V0BfKKxil5i7JiYoTOzsPTMt2SJcSX5LVMdqov7mw90YR7Z7kkn4x en2lAUHH2hvsudpc4dUxwLlBAoeLlZnN2C1yA0HVUhzvNXf60lN3QmVAWOpjKvO4iL3f hIZFHxHSjLzfaFnY9LTPoIbBWxytLBrWkRtJjt+DQa78GBH1HAHGF54EM536T9REnLGB WdX46lWOTQF35g+so2Cb/m2MRfOZjC0LXC+SXtsoQ1qmuU2LLSxOZsoLtxna9sNGnjuA SzQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=S34is6PC; dkim=fail header.i=@chromium.org header.s=google header.b=mpN0EtM0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10-v6si1184350plz.464.2018.04.09.16.09.51; Mon, 09 Apr 2018 16:10:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=S34is6PC; dkim=fail header.i=@chromium.org header.s=google header.b=mpN0EtM0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752596AbeDIXDR (ORCPT + 99 others); Mon, 9 Apr 2018 19:03:17 -0400 Received: from mail-vk0-f52.google.com ([209.85.213.52]:35936 "EHLO mail-vk0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076AbeDIXDO (ORCPT ); Mon, 9 Apr 2018 19:03:14 -0400 Received: by mail-vk0-f52.google.com with SMTP id q198so5869356vke.3 for ; Mon, 09 Apr 2018 16:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MB8chB+6Pipql7rtl7M9sKF8MSxV1OhL4Ig9Fzy2Dq0=; b=S34is6PCoaFzrPyQgFwNP9SY3t9xA+U00BVYwkEqshTZmwkeyFOpUnmbm5eL/bG4bQ eLLoV7pcEGKgObGdWXqaZun7QAlhK5YoRv+Y/fViTkDV2FkxQa10+i/pSVN3QES3Kkj+ AvmyMlzRjd7yfPi+wX2C4+q+ArA7qvlJ+omWGAuQIAhy9SEWTi8bZfyKnmv1sMSzPYhF yOUTh0SzKGEh9ZZo8XPGVroFtOih74JJxnTtmptKaDI9Ui6UB0X27sTmr/mVLuWDLea2 yLF34/kgmSaXauBzSrYVkuuiWbtGBThXwefJQnaW2kuX++751tnuxl9X6CldUcELiO9y 4L3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MB8chB+6Pipql7rtl7M9sKF8MSxV1OhL4Ig9Fzy2Dq0=; b=mpN0EtM0tKZv8QabptnSypBecEkMsSz8s0nMRBcvRTPW1xkcojbVtjGCTjHf0mKDFx pECdRObgo7+VpLxt2QssWg2DTeyYLWoYjYGSg4R9EmbRGwU76JG2ItXuDqkf13mBI4sS wKCRXnRbenuVsr6sB0rFTyvJSgpxhZ2YSwEGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=MB8chB+6Pipql7rtl7M9sKF8MSxV1OhL4Ig9Fzy2Dq0=; b=s6gznrVzTlTJVS9CF3x/XgXlxoCOecJG+MCdib3YYsUPMPX+nMhHcYq/LvEpMGAfbq xBBd6aGiXBDeTd5Le6AEqamJTH6rqBb+/FXq3vcxVv6mUq7KM4pLjRno4C8P6I14eGYw 7p6NWu7HBBaIhhI83RcHCK2px+5eKec5pzEWVeC8ElDtXI5JCMcLhuDo2gK2/gI2z4aj ni6S7/aFQZNB3RUmBw9twGINGmDPD815CZ7QjafOK9Pe+sPq+pAUtHy2oHRs00wpjEtE voPOB3BZzemxGtUzMTWK6VOd0forWU0qss0WFf2GCuAgvxD/ST2GEOC7/yAvj6OmHo/r 0mqA== X-Gm-Message-State: ALQs6tBjEW7/6Rn0yREtarZrBd+bDPUBeIpo8+jWK+LrjDPQ8j+uO3sT MLdxAoB3b8oix1slO/V15qyqZJY/38IM7kjOgJOLJg== X-Received: by 10.31.65.11 with SMTP id o11mr24772874vka.149.1523314993357; Mon, 09 Apr 2018 16:03:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.164.81 with HTTP; Mon, 9 Apr 2018 16:03:12 -0700 (PDT) In-Reply-To: References: <10360653.ov98egbaqx@natalenko.name> <2679696.GDoj5zcZOu@natalenko.name> <51a7e805058ef7f35b226cbbf0ccc4ff@natalenko.name> From: Kees Cook Date: Mon, 9 Apr 2018 16:03:12 -0700 X-Google-Sender-Auth: xrXrlJl3iR7CbQfKAO-q7VwFYv4 Message-ID: Subject: Re: usercopy whitelist woe in scsi_sense_cache To: Oleksandr Natalenko Cc: David Windsor , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, LKML , Christoph Hellwig , Jens Axboe , Hannes Reinecke , Johannes Thumshirn , linux-block@vger.kernel.org, paolo.valente@linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 9, 2018 at 1:30 PM, Kees Cook wrote: > Ah! dm-crypt too. I'll see if I can get that added easily to my tests. Quick update: I added dm-crypt (with XFS on top) and it hung my system almost immediately. I got no warnings at all, though. -Kees -- Kees Cook Pixel Security