Received: by 10.213.65.68 with SMTP id h4csp2787607imn; Mon, 9 Apr 2018 09:02:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49wZxBFT6YOfx5j1go/cZog1IkOxc0EuJUDYmTnEUQlO4sHiDT+lJU0Op2QFj8xe/kyIpz+ X-Received: by 10.101.97.169 with SMTP id i9mr25252446pgv.31.1523289740042; Mon, 09 Apr 2018 09:02:20 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si397653pgt.44.2018.04.09.09.01.41; Mon, 09 Apr 2018 09:02:19 -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=TOOtOaEt; 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 S1753364AbeDIPym (ORCPT + 99 others); Mon, 9 Apr 2018 11:54:42 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:50454 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbeDIPyh (ORCPT ); Mon, 9 Apr 2018 11:54:37 -0400 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 861AB335ECA; Mon, 9 Apr 2018 17:54:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1523289274; h=from:sender:reply-to:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:resent-to:resent-cc:resent-from:resent-sender:resent-message-id:in-reply-to:references:list-id:list-owner:list-unsubscribe:list-subscribe:list-post; bh=qKYGAfhths+YLACd1NnLdG9gJEPf/L+5kUpE9ZQy2Ig=; b=TOOtOaEtwSKCtgd6jRkwz+3HwDxqtqOewpkrF8CPh+dBa58RvZ6ALw1efzoGxKRdTSjRy6 /DKhETUovMUC7dAeg4OgdXqzVS9Ze91YIVJIBYRl7pf4DszJhbdZ8btWdBxJoZmmS9w7vA 6jWMhUlw/bCaAJOAFgbfjY+y4sciEes= DMARC-Filter: OpenDMARC Filter v1.3.2 vulcan.natalenko.name 861AB335ECA 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: Mon, 09 Apr 2018 17:54:33 +0200 From: Oleksandr Natalenko To: Christoph Hellwig Cc: Kees Cook , David Windsor , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, LKML , Jens Axboe , Hannes Reinecke , Johannes Thumshirn , linux-block@vger.kernel.org, paolo.valente@linaro.org Subject: Re: usercopy whitelist woe in scsi_sense_cache In-Reply-To: <20180409093520.GB10405@lst.de> References: <10360653.ov98egbaqx@natalenko.name> <2679696.GDoj5zcZOu@natalenko.name> <20180409093520.GB10405@lst.de> Message-ID: <20ba00cdfd1428aff13b7ea4cb42b03c@natalenko.name> X-Sender: oleksandr@natalenko.name User-Agent: Roundcube Webmail/1.3.5 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=arc-20170712; t=1523289274; h=from:sender:reply-to:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:resent-to:resent-cc:resent-from:resent-sender:resent-message-id:in-reply-to:references:list-id:list-owner:list-unsubscribe:list-subscribe:list-post; bh=qKYGAfhths+YLACd1NnLdG9gJEPf/L+5kUpE9ZQy2Ig=; b=fafQLpEF98uZq15Ed21Jk5lVMNRHFiU0WsYlPtfBl59Gj6R1uE8uW3NDaS8rOb/jIg+ceK WduEcG2Rouc0EaJJPx7wT95236oBaCd+6r8SM8xKk0nO+d/A9xmR0pjZ4q4kk9QS2sOKMy OJ25QFIADALiJCLrxPluVap/JAeb0ug= ARC-Seal: i=1; s=arc-20170712; d=natalenko.name; t=1523289274; a=rsa-sha256; cv=none; b=G03H+6UjdUzeHHqH1lAcgLY132PylisQi52+iXHxorx8XF06jNfb+I71+h8e7GCUs8GLoFB4aJMjNPT/M07xTYpHbaw6uwAujW5HpTt8cx/prRfc0jhYnHV2lnz/zbsUUyiL4v9hmXCPQhEJimSFO0XhzeD8J+K2IXnJB9LpGtM= ARC-Authentication-Results: i=1; auth=pass smtp.auth=oleksandr@natalenko.name smtp.mailfrom=oleksandr@natalenko.name Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. 09.04.2018 11:35, Christoph Hellwig wrote: > I really can't make sense of that report. Sorry, I have nothing to add there so far, I just see the symptom of something going wrong in the ioctl code path that is invoked by smartctl, but I have no idea what's the minimal environment to reproduce it. I'll try to collect more info. > And I'm also curious why > you think 17cb960f29c2 should change anything for that code path. Maybe, I've just mis-read that code. Regards, Oleksandr