Received: by 10.192.165.148 with SMTP id m20csp3782535imm; Mon, 23 Apr 2018 12:15:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Jkhwvg0e/s6+CIY/NCi4XWtTzOXjjfxVKH7PPwSeJmzL5xW4VSJCCTbiW43/ECKvNtK4l X-Received: by 10.98.52.193 with SMTP id b184mr17023261pfa.178.1524510928620; Mon, 23 Apr 2018 12:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524510928; cv=none; d=google.com; s=arc-20160816; b=BoF5InPIndqXvUMyRhJ9FoRIwYDzDlVK5WGAD6YE0dbrNvDKudDBwDA89G37+jtN7n hC1gckcLjiFTPKDvfTrsYr/LHUTbUsx/5GXO4CdJK9CQztTM6o6A15AMl5dga/xMy7zh Z6E0u8bN5ojIhSgfeyK1cU09dFKyrAgQ4iuxrtzWhW4dsa9r9i7q8vPbrzaVex2eioWK A2o7l2jq9lOPYrSsrXBiK8F87opb9McPRoYcPArUEWv322OPWu47CZ636t9n7Kl+u6ea oCXX0rsrv9hK7i7FxLICL7j5AKkv83ATb/Elcb21UkxzOJNNFcQFUFJ/OBlUMN2XwBc+ pevA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=DvHF/bFiZWoHTk+KoIdW3QjfErNWMS8iiSVSlbfsc4U=; b=dFH5dNuy5EwHhMnY5paoXlbl+q2Sq2QaWj7h2oqRQuL3u2c/JxqTylbG1p1SpmHPCs DCnOP0S0gnTdplStJbU15dAOst46HASQIhjjfswv0GlyPXb2qWgH5PZjVd8//77Pa+9X NZlFC6B87olg8vSSD5lRDO/QHW4s4M2yRdxlvpoxbWnDB7QdC75ht1ws0ltgdBbBGOvL M3/SHCt8aqMY6/1ltuIYwK8G5B9+pJ5JEWDkWGj3/BZWFGrgkoEQPQHlO9tQsalNJJE6 IUk4onjQjYAyk1ja2S5Ts4BgoCEq2nC6V9LfgpBwaoD8f0qPd9D8HXCSX9i/Dq8LLUsw NWaQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si216178pga.92.2018.04.23.12.15.13; Mon, 23 Apr 2018 12:15:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932393AbeDWTOF (ORCPT + 99 others); Mon, 23 Apr 2018 15:14:05 -0400 Received: from gateway23.websitewelcome.com ([192.185.49.184]:26727 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932330AbeDWTOC (ORCPT ); Mon, 23 Apr 2018 15:14:02 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 72E8B1AC3E for ; Mon, 23 Apr 2018 14:14:01 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id AguXfbOVW6il3AguXfbtoT; Mon, 23 Apr 2018 14:14:01 -0500 X-Authority-Reason: nr=8 Received: from [189.145.48.65] (port=60348 helo=[192.168.1.71]) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1fAguW-001IbZ-FI; Mon, 23 Apr 2018 14:14:00 -0500 Subject: Re: [PATCH 00/11] fix potential Spectre variant 1 issues To: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Carpenter Cc: Laurent Pinchart , linux-renesas-soc@vger.kernel.org, Hans Verkuil , Ramesh Shanmugasundaram , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Jonathan Corbet , Kyungmin Park , Sylwester Nawrocki , Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org References: From: "Gustavo A. R. Silva" Message-ID: <96bd3e25-9503-d23d-4e3c-091e68b6bf8f@embeddedor.com> Date: Mon, 23 Apr 2018 14:13:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.145.48.65 X-Source-L: No X-Exim-ID: 1fAguW-001IbZ-FI X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.71]) [189.145.48.65]:60348 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 7 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please, drop this series. Further analysis is required as it seems all these are False Positives. Sorry for the noise. Thanks -- Gustavo On 04/23/2018 12:37 PM, Gustavo A. R. Silva wrote: > This patchset aims to fix various media platform and media usb > cases where we have user controlled array dereferences that could > be exploited due to the Spectre variant 1 vulnerability. All were > reported by Dan Carpenter. > > Notice that given that speculation windows are large, the policy is > to kill the speculation on the first load and not worry if it can be > completed with a dependent load/store [1]. > > [1] https://marc.info/?l=linux-kernel&m=152449131114778&w=2 > > Thanks > > Gustavo A. R. Silva (11): > media: tm6000: fix potential Spectre variant 1 > exynos4-is: mipi-csis: fix potential Spectre variant 1 > fsl-viu: fix potential Spectre variant 1 > marvell-ccic: mcam-core: fix potential Spectre variant 1 > omap_vout: fix potential Spectre variant 1 > rcar-v4l2: fix potential Spectre variant 1 > rcar_drif: fix potential Spectre variant 1 > sh_vou: fix potential Spectre variant 1 > vimc-debayer: fix potential Spectre variant 1 > vivid-sdr-cap: fix potential Spectre variant 1 > vsp1_rwpf: fix potential Spectre variant 1 > > drivers/media/platform/exynos4-is/mipi-csis.c | 5 ++++- > drivers/media/platform/fsl-viu.c | 8 ++++---- > drivers/media/platform/marvell-ccic/mcam-core.c | 3 +++ > drivers/media/platform/omap/omap_vout.c | 3 +++ > drivers/media/platform/rcar-vin/rcar-v4l2.c | 4 +++- > drivers/media/platform/rcar_drif.c | 4 +++- > drivers/media/platform/sh_vou.c | 3 +++ > drivers/media/platform/vimc/vimc-debayer.c | 5 ++++- > drivers/media/platform/vivid/vivid-sdr-cap.c | 6 ++++++ > drivers/media/platform/vsp1/vsp1_rwpf.c | 3 +++ > drivers/media/usb/tm6000/tm6000-video.c | 2 ++ > 11 files changed, 38 insertions(+), 8 deletions(-) >