Received: by 10.192.165.156 with SMTP id m28csp6281imm; Thu, 12 Apr 2018 15:21:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx49rzQYfmZsW0L+kt/KD0dlp8HBE4kKjOBnY0/h5o9O/NKorqWSbSWcdrfO868yLfVvuRQUT X-Received: by 2002:a17:902:7249:: with SMTP id c9-v6mr2768966pll.217.1523571712620; Thu, 12 Apr 2018 15:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523571712; cv=none; d=google.com; s=arc-20160816; b=qy2duAuYHhSlwOMJ020P81wnhq8Y2wJ/d9CpqD0EUUWQHn6y3fBU7OqSzpva2IAt58 qGqGzvg7YsANiZevYz3/mv4Cs/ymZhfKS8vbcA/Dms/f5qeLPX9aIyen6hq/NjcLerQP KTs6WoC7PKjFg6iNuM1qgkZVmdMvZhdNoMTQNigFrm2arW8okvR6NQMN9zjfbnXtQCdk pBtoj6Rj+7PxU3p6JXrrBtwVGs7kJhYvnf1/C3IgyzTmTrAU/oQoKG3x5HBWSoUihugS TrGRJp3+zPFRTrS/zJ2YUVUlnOVH6DntMykojmBG3476rcHOFWF0wEGaU9QaHzDt7mG/ pcKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:dkim-signature:arc-authentication-results; bh=DLYQX3oIBOQeoxvDQZqLZgJxKHHyCGOfrtK3jS1uwYU=; b=QcV0NQkFKo32ZmZT9XQr+KTrTqbOLWPReS7RXfy6YxMjHN7ZpmfWpI9elvHiAzeGou Gs/6vtkeJkv3uMeDJdnn74Fbu1AJDHVsrC7+HEu2F/WiJTBdik/5xKrptL3xi58ea/vE qakwzkbSQz3lKm80N92HiByHlbOWE9YC3LT7zUfk0FMsgVEQ+iBYsORO8+kWWcca6yvv oCxDKn2Trh7w89A59LyB4T759brCpqs35ezyvaDvG40vSZeNqWehQYQ75A4DiVOfNA3X N39adv3IkRD8XT8/vY5r3pTueBKYRXCehPPgsa9K6pg+sjcI0XBlO5Bt5XtdOYWxi5f8 qvTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=gmHfw8GG; dkim=fail header.i=@chromium.org header.s=google header.b=lJDbNq9P; 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 q24si3188716pff.13.2018.04.12.15.21.38; Thu, 12 Apr 2018 15:21:52 -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=gmHfw8GG; dkim=fail header.i=@chromium.org header.s=google header.b=lJDbNq9P; 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 S1753611AbeDLWBo (ORCPT + 99 others); Thu, 12 Apr 2018 18:01:44 -0400 Received: from mail-vk0-f47.google.com ([209.85.213.47]:41293 "EHLO mail-vk0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753536AbeDLWBm (ORCPT ); Thu, 12 Apr 2018 18:01:42 -0400 Received: by mail-vk0-f47.google.com with SMTP id m69so4219192vka.8 for ; Thu, 12 Apr 2018 15:01:41 -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:content-transfer-encoding; bh=DLYQX3oIBOQeoxvDQZqLZgJxKHHyCGOfrtK3jS1uwYU=; b=gmHfw8GGE3nGUwKqnFRXyXigefUEZCZcVqZ4avpVMQCgs+4uOAGYIwR14HpE7iC1lt I6P+Gu5ILoyCL/zbGlZk0e6g4Gt7CHT1QL7OuO6KQT5BL6TUURSSfgeOWJSge/LL9LQk /hKXvbM+kbXKCpA5KqY0flHc9SiQvxQO8lGzGbiYO1NCyhr7p6dt6k+EFnucwdy+8fOW MV2iAyNYodzwFjxHPOIG1zktr7oSztu1kJSTwyFRsP37nLqmJ/rbVY9dVWWgSbYvwrvp 10Rbrxs1PjME4bq+hPV0F3xic1LDVAJnpA1Z6xlX6mZJSj9QC4gIimIMG53gIkB62DBm FU8A== 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:content-transfer-encoding; bh=DLYQX3oIBOQeoxvDQZqLZgJxKHHyCGOfrtK3jS1uwYU=; b=lJDbNq9PMcgEwUUUHvBBODz77rxF4TqIdSruEoO3DR4MilWuCV8oVtJ36j9vi7nBOo sA8N5EzL/HZ3kS43upb9+AXEIW5fD0qXlaMOEwtQvgu4ANV0Xpt3i3xfnSbElHDOLZJc 2xEnfif4T8K7R3l42SltRGyJS7eZleO78YDIQ= 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:content-transfer-encoding; bh=DLYQX3oIBOQeoxvDQZqLZgJxKHHyCGOfrtK3jS1uwYU=; b=kFIAU4kIQ8PXENYOAbk++IETbJYSZf0amehSUUx29rs7VxnK5f/KyNKS+w0MlKXoNA iqJqhezQ8o8n4Ix0tUhO+0mONE61IEkXtotPKWHD67PNWax/FUBtI6Fom9TZDfCMA2wG o2Kc8cZaTllO7TRKbh4XazOL0eXKtevtNZoCtU4UJfji8gsspRG1SopyuqukbIjCMOem MKqr6cXvPkuXxy0whdmYvrNy3+apz91o/1TbwixxFF/5AAvbqHA/5SdFgJ2gEgrW+ux+ IfRraeCXbCmtB4M3Z1jNxECA+hZp1NeXgOImyUJXSV4N/sZSxMCciWxgWTfzuA1Mg+B5 XHjQ== X-Gm-Message-State: ALQs6tBz3t6iqu+TJbE3pVMlbyNVj+SJJWxwSzvnZaZqGgt0fHMW3/oD fMRsDzdrZmmIewmXCv0NxVtu+w9permnN7i8AUb1YA== X-Received: by 10.31.152.214 with SMTP id a205mr2117817vke.96.1523570501246; Thu, 12 Apr 2018 15:01:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.164.81 with HTTP; Thu, 12 Apr 2018 15:01:40 -0700 (PDT) In-Reply-To: <2864697.7uzmEJovl2@natalenko.name> References: <10360653.ov98egbaqx@natalenko.name> <2864697.7uzmEJovl2@natalenko.name> From: Kees Cook Date: Thu, 12 Apr 2018 15:01:40 -0700 X-Google-Sender-Auth: W9_exQBhK9GXlFfgwMskXXF5CEQ 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" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 12, 2018 at 12:04 PM, Oleksandr Natalenko wrote: > Hi. > > On =C4=8Dtvrtek 12. dubna 2018 20:44:37 CEST Kees Cook wrote: >> My first bisect attempt gave me commit 5448aca41cd5 ("null_blk: wire >> up timeouts"), which seems insane given that null_blk isn't even built >> in the .config. I managed to get the testing automated now for a "git >> bisect run ...", so I'm restarting again to hopefully get a better >> answer. Normally the Oops happens in the first minute of running. I've >> set the timeout to 10 minutes for a "good" run... > > Apparently, you do this on Linus' tree, right? If so, I won't compile it = here > then. Actually, I didn't test Linus's tree, but I can do that after the most recent bisect finishes... I'm just trying to find where it went wrong in 4.16. > Thanks for taking care of this. Thanks for building the reproducer! :) -Kees --=20 Kees Cook Pixel Security