Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp655169pxy; Wed, 21 Apr 2021 11:33:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6q7AI4pQIEH74KnzU4kX6DqsfgfWjQbFDi7o2bppiU17n/CRGg5U5zslCBee9XXkVrWJo X-Received: by 2002:a17:906:1dd3:: with SMTP id v19mr34019936ejh.4.1619030018063; Wed, 21 Apr 2021 11:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619030018; cv=none; d=google.com; s=arc-20160816; b=B5HTZAZ0u1nHeCZTl6cm8AExbTme9Dq0tonf2Rhxsmyc9bSj4vAd/vVnJW6Z4lOayY /fcIB0qlFX6oA881hL7NMpc0RNCIJb2smKU/YA9tzWg/qGFdg2HcrG2MIiohELBksoeI VtrsrVfExUc3dP9pxFPINbIba+/u1G+GUVMuXGMd2HKvQ/X++3dzu9JDQxfasjEpmgxi k58/86GnC3ADi8MvfWuPgxr3hG7n4M/+IPO7j30D/xv9RdYlGdTwXgkJ4boKpBdodW6m yQHycOJ7USjJq8xT1jakD6SBZ5QB75WuwXtGUV7Lz7dgYZh8DXgF5O8wtTL9wukKUedv X60A== 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:dkim-signature; bh=bdMOzuAoKxixfYpfTCctOntChT3rj2anNj427Z+V4fI=; b=runcIiwVQe1feD7pNT0KrMAZFFFCER0LNXhMxKKciR8VNjAWgs7NXgjTbBWWAATjkb M4uoeoNOAo4TBlC954BJx/24gM2jMS4EWWkHpKe4+uWc0++y2bBceT45+J/IIC3d3r/5 nXwTO9gNBMcdJ7glWXt5P5dKGtiJ82u3vufyXN0O+1htLbDnBeRhDie4GeB/zVe0+xOo JKEpCuB+r7n0Xgi2tvazB9mHwBa+44PbNuHENduS+nT5VRVsO75nz5GZvdXnjckjBsI4 xs/x+gmxjPYl7SdnF0fCzp7Ia8A9ge5NZEfNAVyr/PP2F3RokNjqW9qvaOifnblw2GGH XMVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=e60I8oGy; 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 p26si78595edx.483.2021.04.21.11.33.14; Wed, 21 Apr 2021 11:33:38 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=e60I8oGy; 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 S239091AbhDUNya (ORCPT + 99 others); Wed, 21 Apr 2021 09:54:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238548AbhDUNy3 (ORCPT ); Wed, 21 Apr 2021 09:54:29 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243B8C06174A for ; Wed, 21 Apr 2021 06:53:56 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id k73so40985459ybf.3 for ; Wed, 21 Apr 2021 06:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bdMOzuAoKxixfYpfTCctOntChT3rj2anNj427Z+V4fI=; b=e60I8oGyg1eKKDX/emsMxMSiUCKJmDxAmHy+66zYAcJWGj2XX29f3qTi9We4lmkGug UFumw8VwdHrERSfCHRYt/FvSh/ymtT9LOenDcgnMm47EFe2asQ95PHBaIBlrCy8+CjRj PZZ0fP0fJSl312uEr1dICQzv8azoSUG3J00rWUqveaosdk5XxiPd8cVLLbOMkpxzk5r2 31wUcCtswKYl4xq5HoJkDTe72SIuzUoY3QfxUkEOJolBgA7syct8xm46ZAjx/oaGsmty TG+qlmmi2Eaj98y5rNl0Ac1ETOCnDCh4ig4rdNbTGZOP9wOSKjXQ3DFa9lhb9Oue9oiB Kl3w== 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=bdMOzuAoKxixfYpfTCctOntChT3rj2anNj427Z+V4fI=; b=MATr+wYQ8xNq2sK3xl17n1jZkRwbxsk7ibkvcpDD1TeaTIIGcLzJupbV3wQvC9vWeP 80Ypm0BzHFkJ1x2Ew6IWmKYAQP8MnjmCXG3uccvq/WFBwP3GADGeKgdrmbzbakIJyV85 3ZmI3sXU2m2kOnE27/edceQkBIEL+8OZBL+9LT+C7FCG39OVCbPXZZVjR6jBocEvmhsN 3wD7zaIvLD2QilALkxZd0Np9sncAjdqy+/TGXNTE2wMsqJNaG3ubvccV9kqVTq3huQQa q8fjUWu7W+FBuR4RIzrM5BsM8fyPFhjRK2UJWJ72iVvnnRfzRPZAHDK5dXXEHeCXFKU7 d4WA== X-Gm-Message-State: AOAM5306xUgaPzrW1VWA7h0pjj13fLjhqL6rWB2yGxPIXx0UK7iBpyg2 TrSzo87o3i322GM2xSDBP1GG3mx+GxBj60ZxgOiz5y28cxa8yQ== X-Received: by 2002:a5b:ed1:: with SMTP id a17mr31897569ybs.157.1619013235441; Wed, 21 Apr 2021 06:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-112-gregkh@linuxfoundation.org> In-Reply-To: <20210421130105.1226686-112-gregkh@linuxfoundation.org> From: Bartosz Golaszewski Date: Wed, 21 Apr 2021 15:53:44 +0200 Message-ID: Subject: Re: [PATCH 111/190] Revert "gpio: aspeed: fix a potential NULL pointer dereference" To: Greg Kroah-Hartman Cc: LKML , Kangjie Lu , Andrew Jeffery Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 3:07 PM Greg Kroah-Hartman wrote: > > This reverts commit 6cf4511e9729c00a7306cf94085f9cc3c52ee723. > > 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: Andrew Jeffery > Cc: Bartosz Golaszewski > Signed-off-by: Greg Kroah-Hartman > --- > drivers/gpio/gpio-aspeed.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c > index b966f5e28ebf..91d0fdf8469d 100644 > --- a/drivers/gpio/gpio-aspeed.c > +++ b/drivers/gpio/gpio-aspeed.c > @@ -1231,8 +1231,6 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev) > > gpio->offset_timer = > devm_kzalloc(&pdev->dev, gpio->chip.ngpio, GFP_KERNEL); > - if (!gpio->offset_timer) > - return -ENOMEM; > > rc = devm_gpiochip_add_data(&pdev->dev, &gpio->chip, gpio); > if (rc < 0) > -- > 2.31.1 > Hi Greg, I'm sorry you need to waste your time on this cr*p. This patch wasn't wrong though, so I'd recommend it's left in the tree. Best regards, Bartosz Golaszewski