Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp564947pxy; Wed, 21 Apr 2021 09:23:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwz9E/hcQLOz9aAA1YLLW4EdCHvBteEqtw183kY5rpkJLyMux5eYA7YBS8qLYbSSDM2A1vb X-Received: by 2002:a17:90a:ab02:: with SMTP id m2mr12392720pjq.194.1619022194027; Wed, 21 Apr 2021 09:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022194; cv=none; d=google.com; s=arc-20160816; b=wkTS6qAIPOYBYkp1+uUJKfSlqI6BpH7967FxVdkYHqtpZiBYJ/VwjPoDR7Y7JaB4K6 VwxxbABmG/+8xofyiYkhwsmUfTVyEcSVlzJNezLPnK0KuHOzmIdTWGml03fe1R+f/7AN xJWCakWuee9IhVKBU0PDdRFNP70poAWPXlEjTwxQzgiGnFY5oLL1FIry9ZqylmEvPQoJ sh1aKUEjAnMJqunMqtVETAReemTE/v/k5UeV5XzgCedoJDsZ4R/Q6c3bP7VSJfspVZNZ JCrsKoCyogYBqX85BSTOeNSWpTDCfvoMVBcTu1RoL2unJoNO4ZuWFvuG951CXXUqg/35 kDqw== 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=Obg7GenNA5VMUoaI2tFMqeAnbVbqknQ2N37NBuR/vyQ=; b=tZxU3goS6v0LY27M1IIBSExJcZeY+65QiuNeXguDnZKAKHHBgA8HeFdk85oA47IqI1 bgHrPrDUDM4TSRfVk51T/FerTgSLIN7LuEkgGMsx602PVheh0rQfSayeR/kLio8lKbvI 5rY7+Qw/ND3GjLO5g60984PXi6VgsSkPUqPLL4iyatLCYi3S7x6E2tx1DHN8L4rAI0rW PrDdansJ+F/K9TqH4y4dqZSELbuqVDiptzqDO0I3o39d/nyl9KD9A94seiAf1wCsmrFQ gX3cGCM7nWYAHdsz68PFoa47CuF+wLq5ivwOwUx391l2bHi4JZVANCbeVEisg98X9omO OSrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ys/4S1a1"; 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 q1si57376pgv.81.2021.04.21.09.23.01; Wed, 21 Apr 2021 09:23:14 -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="ys/4S1a1"; 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 S241755AbhDUNNY (ORCPT + 99 others); Wed, 21 Apr 2021 09:13:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:49250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241690AbhDUNJR (ORCPT ); Wed, 21 Apr 2021 09:09:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DC0C26143B; Wed, 21 Apr 2021 13:08:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010523; bh=wauSPb1UHT6b3etSZmWbUPFddj2bur9oZW4bivtm00o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ys/4S1a1rjGSa4pqemzBjsQIAJrUjiinccptkzPq/B2RsV2MiqNm2kKudObaRm09L 5EzMTiNl4ZbI5sjQNXkwqxWtk5eYNdEiCAVPvWasOPhXkbgob6jCUMzw4XEAXs2aYi O3LhPiZw1mYFNuRFg2dSs/ixZbd4njlcktx7ouMc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Wenwen Wang , Jens Axboe Subject: [PATCH 167/190] Revert "gdrom: fix a memory leak bug" Date: Wed, 21 Apr 2021 15:00:42 +0200 Message-Id: <20210421130105.1226686-168-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 093c48213ee37c3c3ff1cf5ac1aa2a9d8bc66017. 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: Wenwen Wang Cc: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/cdrom/gdrom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index 9874fc1c815b..466fc3eee8bb 100644 --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c @@ -863,7 +863,6 @@ static void __exit exit_gdrom(void) platform_device_unregister(pd); platform_driver_unregister(&gdrom_driver); kfree(gd.toc); - kfree(gd.cd_info); } module_init(init_gdrom); -- 2.31.1