Received: by 10.192.165.156 with SMTP id m28csp1265602imm; Wed, 11 Apr 2018 15:51:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/VNfyIDsVnYzFKTdbjzJRarCj1a+KaN7cbZef/nVbRb31HgrFtRFJd3BSrnm5aHcGlnKKa X-Received: by 2002:a17:902:9a9:: with SMTP id 38-v6mr6981368pln.40.1523487086514; Wed, 11 Apr 2018 15:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523487086; cv=none; d=google.com; s=arc-20160816; b=YaN+qeHTaBoAPJB2yMmhPGhrtR/6kIedf4RPQNu8iO1+g6kACY5iXtBeHYdIAQr3Wu t5psvQlepmYi5v3q+OdUKmm6jlixRLydiffZQf4e+mbefI4OSoDCnKfkrUMlx3WfNfeQ l+4F5otG//hcopSVnMjcThxirCLhtkfdy1MYJEuEghFBzi0v0/OhUbkLKSqYsWv0X56W bs/EL4vnzV05w1klgP10YRp0X3dC9wug7sqWaZTNlHWouWUYiGc/bOQUqN7cDcG45NrL DQM8W1j3cqLYST1jk0LaxmsdOIGBwqTmq9JsO326kIWMFv5IXb3nKcr9rt7PU341AZfl IAbQ== 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=w3mDL+TCsRga4M4XpWR8SQ4H/ep211uG18Z4ZJOBFQY=; b=tZ1SKuerPQHoHVzWs4sZCGumuxMprb085W6diV7Rg99rFK2Oi4UgUZpJKt2KbtVDcC CifSz5BKXRN7l2jIy9jEBMNkEIMGRDl9AmpnUsHt96t3oLgUvM0yL6nF5Z90ofmcZkqM YOkqc+Ew51qbSwaDUTg4FmfA2YVuKKBY7AX/pN1dac8Amsr20hHE9e7ejrKxYV/77kUS 7G9d64bCRLBlYPcvyr21M2uuF2CEcluTpn32UqbZVD3/MTo3o5VO89exJbIST0ChoHYY cFv+aISr/0DA0b+HI7p7wO3G01grcQ8HfphOCqF+tyiDNGz0SPy+9u7DAeHcIHwYp090 Ey/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=JLi/IC8t; dkim=fail header.i=@chromium.org header.s=google header.b=ih80r5sR; 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 l2si1365776pgs.555.2018.04.11.15.50.48; Wed, 11 Apr 2018 15:51:26 -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=JLi/IC8t; dkim=fail header.i=@chromium.org header.s=google header.b=ih80r5sR; 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 S1752253AbeDKWr5 (ORCPT + 99 others); Wed, 11 Apr 2018 18:47:57 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:34058 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751491AbeDKWry (ORCPT ); Wed, 11 Apr 2018 18:47:54 -0400 Received: by mail-ua0-f194.google.com with SMTP id l21so2258196uak.1 for ; Wed, 11 Apr 2018 15:47:54 -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=w3mDL+TCsRga4M4XpWR8SQ4H/ep211uG18Z4ZJOBFQY=; b=JLi/IC8tSRm9FPEXU2Bkdehia3tpvDiPKR8zsqWr1KqMm6SBHE2mcqnXRJ9zOyxRmB j467IT1eHbM2DZpc+5cl3ySpMp21gTy36JAyeoHI9MQ31y/UMMniJlMER88TYZABKfeG PlP5d3NGTujYpEkH+hW+REocyLngJXZDpi4GpoYRc9+qg/KjkfAtHxxKp0roPB/oHJDZ IobZC0i8pdq4m4CbwYtybpXmd7gJvCo/hhzyNPWRTsz/oOfbSRS9KpYLjmCWfCe1rgc/ miuSV0lkJg86rvVSIlrNGXyHuGA2vSGXb6DOI67UyeWpwOzRZkCYDfkyXOehzRtYL8LK 0mdA== 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=w3mDL+TCsRga4M4XpWR8SQ4H/ep211uG18Z4ZJOBFQY=; b=ih80r5sR10iuvkC5Hj6FzdYKpcLoHEWKwNCzNzspqOBXi3knU4n+eNsxhfMNeRQPmf dkJHwlK8CqWhoYNN1RvJjzV9LCoMcDGCtulht8njxPdNsIDSTZOZQJENNVSI8YHZM7Uc eX6meBqUdgwDPmjBKON1L0CIAdEavRju+qcxE= 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=w3mDL+TCsRga4M4XpWR8SQ4H/ep211uG18Z4ZJOBFQY=; b=kbDN+zVlQbfWBhiWp9KsR11TNL+PxCxijQAD0XQpSR88AIW6c2DpJ8XLtGi5J9UCRZ Hs+D+HKI0u/bPfzll/2wAp8DPkH8zFyHKc87OytADPjdDo9xH+PAbX08mqY4v7hyVjH/ SOQM1m+tL54m4dRNLQgUR+GAhKzfHEJFqSy/aG8YZJaKeOIQ7M+V2DSuoYtgwesBtvT2 f75LLM2X1sLh5vIwyitbFry8KhQoMAQXB51xFcNqUYHiJquPfdL4+qV/+qHZrZHKdm5u 1m2HazcCTjPaEpOzqHRk5YpY58oBN5JV3CO3BxXLk/bXF6XBgllxPvedQMT99mMpIQYW +iPg== X-Gm-Message-State: ALQs6tCokfw6u2mYt4F6CNBhJ9qN7tgBdhXPN87ePyg/NkZZjNgh004f Tvi7oR8k4vTHoj3fabYtGG6EcF4h9xUdDFG0tVM8sw== X-Received: by 10.176.86.206 with SMTP id c14mr4970974uab.164.1523486873473; Wed, 11 Apr 2018 15:47:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.164.81 with HTTP; Wed, 11 Apr 2018 15:47:52 -0700 (PDT) In-Reply-To: References: <10360653.ov98egbaqx@natalenko.name> <2679696.GDoj5zcZOu@natalenko.name> <51a7e805058ef7f35b226cbbf0ccc4ff@natalenko.name> <3d7b5a707e216e19eb3defe0586bfbc8@natalenko.name> From: Kees Cook Date: Wed, 11 Apr 2018 15:47:52 -0700 X-Google-Sender-Auth: 6qbgzvX78wIF-fvWVpLGkUqqLs8 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 Tue, Apr 10, 2018 at 8:13 PM, Kees Cook wrote: > I'll see about booting with my own kernels, etc, and try to narrow this down. :) If I boot kernels I've built, I no longer hit the bug in this VM (though I'll keep trying). What compiler are you using? -Kees -- Kees Cook Pixel Security