Received: by 10.192.165.156 with SMTP id m28csp541980imm; Tue, 17 Apr 2018 14:57:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx49vH3xvVraClUTtzydrvVsY/w0I9FZHRjVgBcRlh37jibJ2nRc6IEJjvrvwgp7zhqSTqMmC X-Received: by 10.101.66.6 with SMTP id c6mr3096553pgq.133.1524002236669; Tue, 17 Apr 2018 14:57:16 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh10-v6si12103297plb.322.2018.04.17.14.57.03; Tue, 17 Apr 2018 14:57:16 -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=Fjayjcox; 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 S1753352AbeDQVzw (ORCPT + 99 others); Tue, 17 Apr 2018 17:55:52 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:36618 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbeDQVzr (ORCPT ); Tue, 17 Apr 2018 17:55:47 -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=1524002148; 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=tbFExFNSmGhNbAf/djC4tsJR81sMOO6g8s6uVjEO7dY=; b=Fjayjcox6Hm1MhE9sNGrBjgMwP1zxWZoRYdrDPA0VhUuGW+JnOXDtweSP7jO8k3BKYXD4N N9RZ8Oh7XHimpVFOkYIL8T4FXSJZ+6qqu30p4yqrB/GfEKV4Tc2vXYpYC0r3ZRhlbZ1SQf qfBxDmta3Q5z9k+2My8ouNtWjtaKFlc= ARC-Seal: i=1; s=arc-20170712; d=natalenko.name; t=1524002149; a=rsa-sha256; cv=none; b=18kalLrfrmTJDV0kKMNoulty636qmvc3ab06b9VV3vkdtFryTtr7UwdgGlG8UI6xXiG3vn4vjVZKDHwk0qmSCZE0/fb29sBT0jtWgmAHdXG0SbS7zcLsMKGF+ZGEz+hxmT895XcbZY9csmGcfiHf2D3k49Hv563YODP/dSd9Sgg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=arc-20170712; t=1524002149; 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=tbFExFNSmGhNbAf/djC4tsJR81sMOO6g8s6uVjEO7dY=; b=GvCB4N+Fh1GRoX1UbU50TaZN5KO3nPZ4VnZELKKNBWK+veko41EUZ6Gs6am45aCz3/vuSy T22+mXF3uDO693HcUCt/5rxI0T0Ww3tbC7MCqgpJezzKIhdRX/WQpi21TddaJQDSRJMm7n 5ZUm7QxKz7S+aidu/c2fQY0KQOB0FRo= 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 B598333DDAB; Tue, 17 Apr 2018 23:55:48 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 vulcan.natalenko.name B598333DDAB 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: Tue, 17 Apr 2018 23:55:48 +0200 From: Oleksandr Natalenko To: Kees Cook Cc: Jens Axboe , Paolo Valente , 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@vger.kernel.org, keescook@google.com Subject: Re: usercopy whitelist woe in scsi_sense_cache In-Reply-To: References: <10360653.ov98egbaqx@natalenko.name> <2864697.7uzmEJovl2@natalenko.name> <8473f909-2123-0cfc-43b1-beba0b1aef9b@kernel.dk> <07f263ff-cea6-ac3c-944b-0f36fee8ba25@kernel.dk> Message-ID: <182097a2acc78285019d95d7e750be9e@natalenko.name> 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. 17.04.2018 23:47, Kees Cook wrote: > I sent the patch anyway, since it's kind of a robustness improvement, > I'd hope. If you fix BFQ also, please add: > > Reported-by: Oleksandr Natalenko > Root-caused-by: Kees Cook > > :) I gotta task-switch to other things! > > Thanks for the pointers, and thank you Oleksandr for providing the > reproducer! That was a great fun to read. Thank you for digging into it. Regards, Oleksandr