Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp55402pxy; Wed, 21 Apr 2021 18:20:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjoo3ByYxQfVmxqF1d2yiRDcVLrJzuzrmg75Fj7uqmEJifL/psy7l11M/+hYKCcxdkKEqn X-Received: by 2002:aa7:8c0e:0:b029:258:672e:9f86 with SMTP id c14-20020aa78c0e0000b0290258672e9f86mr934287pfd.50.1619054421891; Wed, 21 Apr 2021 18:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054421; cv=none; d=google.com; s=arc-20160816; b=xAbpY6gmk24xf0nV5tDEpiQGuhEvUrOXcg95cH/6hbqDoS+63atnmUSYPuem7/mudx WOys5LzRC2+SAGhYTjbPIf7FM1teLIWlNZRfUI0POz0brVOO/V14VJ0IDLLlqS+6ViT1 dpOIKkLr3JPNf/Gu+rtDUtaNTtn0VuziOR2BzFZMKe4+f7DjF6YYCtFhymVkHaesp2N5 BIN7rOWYBF+xeKQLETCHrZOAGVTPgikRJhdR0FD6eOn4K8cKNstOgJ5yUV1jKmqw5FhV lK19vl0Y5f1VkecPEsWx29u6k3AVv4B0xPIXcn5nTvJNTLvwBS/zW0aL6hgN2PRiHYbz Gd1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=3SxB69pUYAxGtcTsZ0OZls1Z7/FhoWntrRFhu04EJ/g=; b=xBODMz71OBc3DcxkkuvY6Gk3voMWW8b17yJgUCgItfDtXNHpsGR0c+MTMNYszJYmtB iyCwwT2iDc5AwTDIAQO61EFZ11SSKaP4fq4xRUpqzZejpYAxIEIRiQ2YPSSqRhYDjv/6 RcEm4XXRU15pss1SMZ0vwPs2i1XoGd41lGaikDUHnT4lvmAFkUC4tdLqh1BUqNNoNalJ FGpbXBMQyudyNeYcDQE2UlyP39BXm4PqNzxONdVMZFlLuF3Htixko4Se8K4KmX0K5/6w +U5p+T+P45EodweFsm4PdTWqVgLQzN7gsdNWK19CJk70Qw7CoP/UFkbm0Gd2YzIT5Uu2 zNyA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si1273444pgn.565.2021.04.21.18.20.10; Wed, 21 Apr 2021 18:20:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243280AbhDUS7H (ORCPT + 99 others); Wed, 21 Apr 2021 14:59:07 -0400 Received: from mail-vk1-f177.google.com ([209.85.221.177]:42898 "EHLO mail-vk1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245352AbhDUS7H (ORCPT ); Wed, 21 Apr 2021 14:59:07 -0400 Received: by mail-vk1-f177.google.com with SMTP id k128so5806275vke.9; Wed, 21 Apr 2021 11:58:33 -0700 (PDT) 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=3SxB69pUYAxGtcTsZ0OZls1Z7/FhoWntrRFhu04EJ/g=; b=SyiypKUxzYst1GOz9oIGIVD3aPWTuSXnSV2VBJ0LLUpVnvMty+T1euAqQC6A1SLnXj 5cW/7EKay95Fe7ytKFIET2gv9frHNAJDaZIwNIGUr/KgdjzRfmWB7QG9HBc0zTMZ9JFQ QQula9FPJuvV7IasgA/lUw3O9qqG6re1FM/BeGFWJibaSG89jZRmbYUe7KInZEiUhsSu cCNJD3TR4dyQsEvUV2B+yEJC1CiVT17A7yrFi5DDkpa6ZH7FbhjsYa8yfC8xBnoOsDNI DsFVYEWUbjQOqzOEcZfxVk57Sxz7DtuZ3me/cnXMD6Y0PIXfpC2QaVs1faVmtymF9quk Hkqg== X-Gm-Message-State: AOAM531PCaVuE8409NNk2t1M7JSoDMmZPuuHqu+2DEZAb1Laz7ZH0TxM Kfy0RRKvywr8/9L2aaZ8oaazBh5cTTCqLNJYTPvqMUzh X-Received: by 2002:a1f:23d0:: with SMTP id j199mr12911517vkj.1.1619031513120; Wed, 21 Apr 2021 11:58:33 -0700 (PDT) MIME-Version: 1.0 References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-74-gregkh@linuxfoundation.org> In-Reply-To: <20210421130105.1226686-74-gregkh@linuxfoundation.org> From: Geert Uytterhoeven Date: Wed, 21 Apr 2021 20:58:22 +0200 Message-ID: Subject: Re: [PATCH 073/190] Revert "media: rcar_drif: fix a memory disclosure" To: Greg Kroah-Hartman Cc: Linux Kernel Mailing List , Kangjie Lu , Hans Verkuil , Mauro Carvalho Chehab , Fabrizio Castro , Linux-Renesas , Laurent Pinchart , =?UTF-8?Q?Niklas_S=C3=B6derlund?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Wed, Apr 21, 2021 at 3:06 PM Greg Kroah-Hartman wrote: > This reverts commit d39083234c60519724c6ed59509a2129fd2aed41. > > Commits from @umn.edu addresses have been found to be submitted in "bad > faith" to try to test the kernel community's ability to review "known > malicious" changes. The result of these submissions can be found in a > paper published at the 42nd IEEE Symposium on Security and Privacy > entitled, "Open Source Insecurity: Stealthily Introducing > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > of Minnesota) and Kangjie Lu (University of Minnesota). > > Because of this, all submissions from this group must be reverted from > the kernel tree and will need to be re-reviewed again to determine if > they actually are a valid fix. Until that work is complete, remove this > change to ensure that no problems are being introduced into the > codebase. > > Cc: Kangjie Lu > Cc: Geert Uytterhoeven > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Greg Kroah-Hartman Upon a second look, I still see nothing wrong with the original commit. However, as I'm no v4l expert, I'd like to defer to the experts for final judgement. > --- a/drivers/media/platform/rcar_drif.c > +++ b/drivers/media/platform/rcar_drif.c > @@ -915,7 +915,6 @@ static int rcar_drif_g_fmt_sdr_cap(struct file *file, void *priv, > { > struct rcar_drif_sdr *sdr = video_drvdata(file); > > - memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); > f->fmt.sdr.pixelformat = sdr->fmt->pixelformat; > f->fmt.sdr.buffersize = sdr->fmt->buffersize; > Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds