Received: by 10.192.165.148 with SMTP id m20csp688787imm; Fri, 20 Apr 2018 13:45:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx48PHfXlxIhGaNL6fGwLZjNnFgqazEIsQqbAqhtKg2gktpAys87+Ia0XyP1oIcmUwTUSfLzk X-Received: by 10.101.67.129 with SMTP id m1mr9438677pgp.373.1524257144507; Fri, 20 Apr 2018 13:45:44 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si6098193pff.136.2018.04.20.13.45.07; Fri, 20 Apr 2018 13:45:44 -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=@natalenko.name header.s=dkim-20170712 header.b=W2hdTFwI; arc=fail (signature failed); 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=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752306AbeDTUlc (ORCPT + 99 others); Fri, 20 Apr 2018 16:41:32 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:30830 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227AbeDTUl3 (ORCPT ); Fri, 20 Apr 2018 16:41:29 -0400 ARC-Authentication-Results: i=1; auth=pass smtp.auth=oleksandr@natalenko.name smtp.mailfrom=oleksandr@natalenko.name DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1524256894; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4hWjI3S9t3sYswaxbHZ4cifP/qZAdfjrGnsjwNCLR6w=; b=W2hdTFwI+3V2k4FKs03dDxu9AyRJWtisAgEOyBVGC6FVbD0w1v8eI3jakvqJyEytPXEoRf PosieLvO0u+2CV+BUl7oM3SQKK8zOE3SmC00A/KVFHy01YWmsC7+G88OPe/Z87JR56yKL8 u+8k46a8o/vvKEP4L98yAm+iVg9wi8Y= ARC-Seal: i=1; s=arc-20170712; d=natalenko.name; t=1524256894; a=rsa-sha256; cv=none; b=rPUIty3A75NIzfp2Iv+ws64G44wv1rdE0PDlhKy73lpE45EEJKnQF3KKlbOSFWUp5oLmJAUTGrOtSr/WSn032hyzDCJabMLv3TDMvu8KN4CM6RWAYWSgiWA7NFVcfJvAKX6/mhN8GTHNBAUSY1o219T/VRljpnKj/8TrA/2iZmY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=arc-20170712; t=1524256894; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4hWjI3S9t3sYswaxbHZ4cifP/qZAdfjrGnsjwNCLR6w=; b=YHTJb2m05xfrO9aJOQyvVDc0DbLlD6aTOtyq1EQz8wH10GuU5SoZbyX+061ct+pNkSbQ+q +xWf2XRoTfVeAUXPzC8mGpAwmrMpr3PEPc3Rw4Zq04J/JBxwrMpgPP4/p2Vtd8Vr5IMony lD5zHmdgliqDpOTRekRGxyteEx8BS68= Received: from mail.natalenko.name (vulcan.natalenko.name [IPv6:fe80::5400:ff:fe0c:dfa0]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 18D213416D7; Fri, 20 Apr 2018 22:41:34 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 vulcan.natalenko.name 18D213416D7 Authentication-Results: vulcan.natalenko.name; dmarc=fail (p=none dis=none) header.from=natalenko.name MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 20 Apr 2018 22:41:33 +0200 From: Oleksandr Natalenko To: Kees Cook Cc: Paolo Valente , Jens Axboe , Bart Van Assche , David Windsor , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, LKML , Christoph Hellwig , Hannes Reinecke , Johannes Thumshirn , linux-block , Ulf Hansson , Mark Brown , Linus Walleij , keescook@google.com Subject: Re: usercopy whitelist woe in scsi_sense_cache In-Reply-To: References: <10360653.ov98egbaqx@natalenko.name> <8473f909-2123-0cfc-43b1-beba0b1aef9b@kernel.dk> <07f263ff-cea6-ac3c-944b-0f36fee8ba25@kernel.dk> <8b32e079-d4e6-3fea-a89d-ff856e4e13b1@kernel.dk> <0fbf2b13-8bae-c7c5-d930-ebaafdc72202@kernel.dk> <011EF7D1-B095-4B8D-AD2A-993048932C49@linaro.org> <13DBFC76-4849-4DDA-AC44-B2C1257912E7@linaro.org> Message-ID: X-Sender: oleksandr@natalenko.name User-Agent: Roundcube Webmail/1.3.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. On 20.04.2018 22:23, Kees Cook wrote: > I don't know the "how", I only found the "what". :) If you want, grab > the reproducer VM linked to earlier in this thread; it'll hit the > problem within about 30 seconds of running the reproducer. Just to avoid a possible confusion I should note that I've removed the reproducer from my server, but I can re-upload it if needed. -- Oleksandr Natalenko (post-factum)