Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp562726pxy; Wed, 21 Apr 2021 09:20:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgLXIohMhj0g9dowbNBYdUVLeSyEk27dxyho2vru5uoG3t9Im6BD9rivIEXl/9/KMdN2pv X-Received: by 2002:a65:480a:: with SMTP id h10mr22207781pgs.63.1619022026161; Wed, 21 Apr 2021 09:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022026; cv=none; d=google.com; s=arc-20160816; b=NXZL1Z8w5sEBmbSTP5tu1pgj24hmOuRDe0llhqiJz4Sn7g18pWcFzuYE6+CVxXz/DY c7Q6ZRq5Vt1DrUgoAoDlOB+Rh6HQ8FU61mBpWL/4x2I4ZljSbfDTwdeFVteaCnjkue3z 7qh6XU+GDi3/Q14kKpVO842kbfyJkeDz8UASLB6oTFgQP+KK9zJQx5HomzfiWp9h4Sjv DZezSSwu59fkRl/oQEEOcG/uQDOUeyLq2ijEQf13CYckv5wvh+gwL4d7cikCENjZ7o1W f7TlYGrFsHtwDg9P0bOvE9OY3+Er1uNnC+/c5dq4qKcmlWitq+dkfhw4Wc0561oEo1YJ 0GXA== 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=2Qos40Bw8yjfDgr2zeHVEzl5TjZIW0npcJzIc7JpKTE=; b=PLlTqFhW+FB8hWUorv1dPA9O+6Nj8WVdn8kI5zDV5omBGe/S33MdYaPr8MHTDZZ0u8 Uxpwxve2+MF6YrvnMqgM3lUIPppM4W1iKkF/+Gz1e20RKsjeQWXDLjTBJvA2o2yMdE7Q vblRNCbkN4FQgQkBTe6pv7x0uTI+/n4kjHkv/KFI+AenKFvQ2JlK4eAF4+UFHtiDylSh X19QDt2jqfVfiXNFtV5PaqaBwshlmFsPp8leDSQpSJIy7CHMQTDEE6TjcPU1P89711O6 4AkWzYnn2HFViJNLku/H7TPVtK++iX1VInsmVEarQdn8CmpWa1BqR+VUdv0284H2wk6J h+fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0LtWdots; 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 j6si32514pgq.283.2021.04.21.09.20.13; Wed, 21 Apr 2021 09:20:26 -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=0LtWdots; 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 S242274AbhDUNJ7 (ORCPT + 99 others); Wed, 21 Apr 2021 09:09:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:46758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241145AbhDUNHX (ORCPT ); Wed, 21 Apr 2021 09:07:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6C8C761463; Wed, 21 Apr 2021 13:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010410; bh=HAm8BC6yz7cag+cWbb3+xf7Kxx4duj+BVVvUa8Ezd58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0LtWdots9aDirA2wYL2zIySVD8VQRMRPTxinNZN07yOi417zEAZVIJ5GfUDRavlRh 7npb++jS6gYVucitQdITw22U8n8Xbs1Oj+Vdrlmu/SN6X77xFmiDjEbpKTY+QLK9WJ bYRiYNiWjJEfy3XNmo7lljSGyvIEy0JkeGEzAObo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , "David S . Miller" Subject: [PATCH 126/190] Revert "net: openvswitch: fix a NULL pointer dereference" Date: Wed, 21 Apr 2021 15:00:01 +0200 Message-Id: <20210421130105.1226686-127-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 6f19893b644a9454d85e593b5e90914e7a72b7dd. 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 --- net/openvswitch/datapath.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 9d6ef6cb9b26..99e63f4bbcaf 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c @@ -443,10 +443,6 @@ static int queue_userspace_packet(struct datapath *dp, struct sk_buff *skb, upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, 0, upcall_info->cmd); - if (!upcall) { - err = -EINVAL; - goto out; - } upcall->dp_ifindex = dp_ifindex; err = ovs_nla_put_key(key, key, OVS_PACKET_ATTR_KEY, false, user_skb); -- 2.31.1