Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp257208ybg; Tue, 28 Jul 2020 05:24:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTeGxktjn5sINhnlmBidmQNbRCeTmM/mqzv9zsTb/9ZIRmPmZFDSTrNnnkUf3xSn7geZdQ X-Received: by 2002:a50:ec93:: with SMTP id e19mr25085040edr.254.1595939048552; Tue, 28 Jul 2020 05:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595939048; cv=none; d=google.com; s=arc-20160816; b=pAQiv7uUBpciyk+vc8ZhtsAtFn17LtvTgOq9HP8ib2ih91j9l8xhemuunLZ01s4ieK H42rJdow4TFx5VFG/n7V58/a3SaAtsa3earvHrJP8fhMneJgcVQgXqkpIJiBGLMNIP+d Tr34hBGGYRllVAh44sWZoZjjsdvUVH2x6iU+7aib2Cy17Q82bOeAYQWrPc3IMBxLbmUB qCBDusKzruasAOO/r6FU3tj7evjgffpMMu1Vtew3SIFjJ+mFmelxEsGESTOAxTxJ4StB 2Ifzryb8PEf2fpaff4lOhH3uK1rTsE/03FF9iWoEGg6ZVBygpRV1Aqb4mGgiZKr99G3V ykug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TESeuYU5SfzLxBWMQ4kl8vP13Tpf9d4XmBM8Gp63Ao8=; b=qmHpKcnB5iF4yoPqgxIFdTdUN9OGNQh97JbI6OIMQ32gUue4WXEdB2WlwnigaAPBDX kUT0LlVBEfxpP6E56QXZcNHdYWjv1+6J8fd6VBm38uPh7okvw4SvYb/CERAP4vW/SxVl EK4ziHnUYKo5Fc7tnHMgOOvRuyeVzauPS2P0H+X+guMIadYpUPlZxnOc6Nzr2Im1o+3t fmiOla9bdfmkBz0295Jhi1FDnGmAmNKlemBJZjHU3WM4LBNFFSa9xunVugdV2TshJj7e WAosBOwpgaWyUy8Uh73XGElWaxk+pPkigSg5AcpOPQCXnhf3zLb4SpXSXxrC8NlUhHXK qPTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tWs0cbIE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si7312837ejm.102.2020.07.28.05.23.46; Tue, 28 Jul 2020 05:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tWs0cbIE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728927AbgG1MWo (ORCPT + 99 others); Tue, 28 Jul 2020 08:22:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbgG1MWn (ORCPT ); Tue, 28 Jul 2020 08:22:43 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5157BC0619D2 for ; Tue, 28 Jul 2020 05:22:42 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id q6so20880554ljp.4 for ; Tue, 28 Jul 2020 05:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TESeuYU5SfzLxBWMQ4kl8vP13Tpf9d4XmBM8Gp63Ao8=; b=tWs0cbIEtxsoEEWx87oQK2/AgPlRAXgY0LbgzgRA3ewO5DWL6Fyxb8WS3aulE9/J9C X3RsXavLk4qFUAWa4p05w6NqoVN+pucr64IBxtUbfF0Mf29aAXTZyAEJTyX15Z9ovorj wQEi4O2bCR8ckUmBIg6mwgpxBnP5IMhwzOd86n02qGgjjYaAjBM79Rn3x2dlCYpTnBqV I+UTfpEnvgnzhrgm3JZqje3nsXlj8agQslaPouGHWhmpPABmgolCN9NXsxPDZd1PQh+v NGQwfGtgnwr0M3pbpqj4n2+rOU/1w12GWAALbgiFNbUtF3NmRBGZFe+sqUlrg1pbaDHE v+qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TESeuYU5SfzLxBWMQ4kl8vP13Tpf9d4XmBM8Gp63Ao8=; b=UiuOEp1vaHwtFyTJS2xJ27l/PvtzKraOJvTOWCeRtJWEG5ZlyZ/msogjZAlfVZN6y0 QvDWFbBWmJ4Z0yJqGptlNfMhPSvjXteMCYdLXc4q7lUfS7zX87ClNxGzgAWkII5jnTAk 9o3hhpEugiakKrGsEc6CG78pFRGz7EXZ11IQ0DKqFcZstpaTgAevBxaUcsEi3TRR2qEs LFz6HgRFDcS3nyKA/1446/GeOfgCvpYhSMLVB3obUas4yLhDD89WMC1ZZQFy5Jz1hlRb xDXdaH85ZUfwypckcxkhbGbFCGSH61Yz3U/7ItFurvgto/OxrkJwbKUT7Ap8lRaX7XR9 w2zg== X-Gm-Message-State: AOAM531X8/2EIPedt6Gm1EoxE0JOz2VVgSqcsBf6xpPLv2Wc5wCPuBGP 4jbHCur0oCvHKONuviTqhY4pmEaWYwr4wEd8Rx6ygg== X-Received: by 2002:a2e:90e:: with SMTP id 14mr5500607ljj.293.1595938960755; Tue, 28 Jul 2020 05:22:40 -0700 (PDT) MIME-Version: 1.0 References: <20200726220557.102300-1-yepeilin.cs@gmail.com> <20200726222703.102701-1-yepeilin.cs@gmail.com> <20200727131608.GD1913@kadam> In-Reply-To: <20200727131608.GD1913@kadam> From: Linus Walleij Date: Tue, 28 Jul 2020 14:22:29 +0200 Message-ID: Subject: Re: [Linux-kernel-mentees] [PATCH v3] media/v4l2-core: Fix kernel-infoleak in video_put_user() To: Dan Carpenter Cc: Arnd Bergmann , Peilin Ye , Mauro Carvalho Chehab , Greg Kroah-Hartman , syzkaller-bugs , Hans Verkuil , Sakari Ailus , Laurent Pinchart , Vandana BN , Ezequiel Garcia , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , linux-kernel-mentees@lists.linuxfoundation.org, Linux Media Mailing List , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 3:17 PM Dan Carpenter wrote: > Here are my latest warnings on linux-next from Friday. Thanks for sharing this Dan, very interesting findings. > drivers/gpio/gpiolib-cdev.c:473 lineevent_read() warn: check that 'ge' doesn't leak information (struct has a hole after 'id') We are revamping the ABI for 64bit compatibility so we are now running pahole on our stuff. I suppose we need to think about mending this old ABI as well. Yours, Linus Walleij