Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp560299pxy; Wed, 21 Apr 2021 09:17:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLW8jkP8H+F6T+P+Dq9hSbv54VpXwp6YcH0c7uSfQt51bTbYAiHky76fOkth1tvM42u1qN X-Received: by 2002:a17:902:c78a:b029:eb:2262:d738 with SMTP id w10-20020a170902c78ab02900eb2262d738mr34377737pla.27.1619021845041; Wed, 21 Apr 2021 09:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619021845; cv=none; d=google.com; s=arc-20160816; b=rEYOXURCErAeOQRbuD8s1AB1enG9NNeGTWX25Ml1j+YAXq9kEIJjbisJV7m4jDOZPv +VPqVUNMKTNKwcOTp0TP26+Y3Dk1hC63/I1lq7Kzqz0kQ0GRzQev1z+MzRU0W9k8tRsj ALNv+ZGs5xLQlnJ6VfatFFrlE5Ot+NQE/A8dK5Ns+j+c11Sa9HFpnWHQORgSqN/WIK4t O+jQIXjjDnt36dVaKzw9+WblqaYezjcjyOjf8sw/JkYncQVhDkUuOX+kfLYIxhMr7DIp /RE5Iqu8aPNmbHNEXkVsd38Rn72VjG5Dbi3jlRE3HlbnK7Q8gmiX/WgoL6SWrJs5uYI2 5f4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WP3ePpR0rOQBnkZo6Uujf+ZxZi5CC4E+8P6GiqgCW9Y=; b=hYoZh4Stxc5rvWrOhwBiQ3MrcrsgaRgYDTW/tG+94/Uw4SV0rdUFo630YG4UZBUtCM JL9UBcOsj9LM5IJueA6ywaPTGO3qsiAos81Vub7yT34N/do4dewXJ1TaJumKc4pqe129 Lpzj23ySKQFe5Wj3TZ2roWlgzwxi5akgLJzOOPeqk371psd6pNLr39hb5LymlXV9klSt WwwhIfjxxTT02BfaJKOoT81Fs6QCNhH7t69zy70ij1j39Ja2Cw2RfLb5AFmsT4j7r2i9 KQHUuY2eGnoX0rQi43T3tDwnFPue7xHdqbTZDGfCUUqGHEAsSXjsG8AT8i3VRxS10dJE +gcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iyipivLP; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a11si39564pgq.140.2021.04.21.09.17.06; Wed, 21 Apr 2021 09:17:25 -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=@linuxfoundation.org header.s=korg header.b=iyipivLP; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240279AbhDUNKP (ORCPT + 99 others); Wed, 21 Apr 2021 09:10:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:49770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241059AbhDUNHl (ORCPT ); Wed, 21 Apr 2021 09:07:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A4F1161476; Wed, 21 Apr 2021 13:07:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010427; bh=sJSw6qt9LXj+9OtwxYG1zowOAe5ygGGsGComf4kfhs4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iyipivLPM4ox1E48pvzDtUFHOy8/0g2PxN2XIQ4dLhM88Au0e5Jukv5bnAGc8xTcU JYaO3PZQrK0JCmrrOhLI8s9iXcXRqhWH9Q8jCUzyxRG5ALmyTeocpCvsKuRHDSWE7M Fkk2NrFBAziuICqLBsdQtb4JD4jXJ6LXz1yuyTfY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , "David S . Miller" Subject: [PATCH 132/190] Revert "net: fujitsu: fix a potential NULL pointer dereference" Date: Wed, 21 Apr 2021 15:00:07 +0200 Message-Id: <20210421130105.1226686-133-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 9f4d6358e11bbc7b839f9419636188e4151fb6e4. 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: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/fujitsu/fmvj18x_cs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c index a7b7a4aace79..dc90c61fc827 100644 --- a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c +++ b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c @@ -547,11 +547,6 @@ static int fmvj18x_get_hwinfo(struct pcmcia_device *link, u_char *node_id) return -1; base = ioremap(link->resource[2]->start, resource_size(link->resource[2])); - if (!base) { - pcmcia_release_window(link, link->resource[2]); - return -ENOMEM; - } - pcmcia_map_mem_page(link, link->resource[2], 0); /* -- 2.31.1