Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp562738pxy; Wed, 21 Apr 2021 09:20:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5JXFK2hMjngxg46d3uMDtyKyoXPmRiUSslHAsLhridLqiuoW2uKmxfpSJowr/EOQXXt0Q X-Received: by 2002:aa7:9817:0:b029:25d:f866:4a71 with SMTP id e23-20020aa798170000b029025df8664a71mr18447584pfl.47.1619022027125; Wed, 21 Apr 2021 09:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022027; cv=none; d=google.com; s=arc-20160816; b=lYHdbmXJDuBoZ1nXkSi431FSA5GJfH3oYSWoMngH3w1CIdLCZGjuFlfDdRgPFDzD6M DaiRRH4aRrLpVh65TV1wIvpk7msDvcIz75pUu839OyHlxEU/dfbrgLL7rMqkuyYcK1aL ocoPMZfSpGYTJW9FNHl1OMflzChHQizXl+P6IgnKD3pFfSHy0KL84be7dkClsPQrMTF2 RWsHewrDZ8KU4uz8eoiww2jvKfh412WiH6/zEMidgdXlDOGrDopmLdoRR5LsPj+zZwP/ UJv1vasZURl9yxpHESkCX/VcsJtz2s3CdeeDorVyXHHZMYS3EdZOrOjK04rKUb/A+Rb2 e0qg== 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=Bdx+Iwqv7nBh1lzvyyTBGyYR2KNhuL4cTt2Ku9kLHUo=; b=HvLf20ahpHb3hjVfUelexKytE1aTp5fh0XtSacx0ppmRLE5LhZoV4H9+YcNBDb766M 136/Ha7n8RCC/0DhQqz9odv+gf3W9AsPIpmW2d7qqwF0JNrizOmlGj7Iqx7tzguf0Ri5 BuS4yUMeNXdJ6PCDMcbNalrcqjVVNwgcxB8UxD95HgyylxRI14dIUqDEQtZoY8PRbLtS 7B+c0BY1/B7istdzMFywjtFT8soqdadfNBfolAiQ1QlbhonPas6NLde6E0xIPFIkQ0rx pYgdGpicwV+kZNZdsQh7xS+XIhvtr4SKluBIabGT/f0hVDs8HEv3He8DrJaf62YYz+zA 37Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gBHs96z6; 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 h19si2716522pfh.338.2021.04.21.09.20.15; Wed, 21 Apr 2021 09:20:27 -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=gBHs96z6; 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 S242457AbhDUNKL (ORCPT + 99 others); Wed, 21 Apr 2021 09:10:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:49658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241035AbhDUNHf (ORCPT ); Wed, 21 Apr 2021 09:07:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0378B6146D; Wed, 21 Apr 2021 13:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010421; bh=CEumbI762zughXLmNxPnsuID3yI1J/TDIozx/JWmOYs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gBHs96z6d5b80E5USDEXH7piaxNXQROasyPbeqBEoMliCbvpzUNuQxkLMpNkaPHGS lDTXNfbeOEvvRbQ93p17rYGhNDZY7hVLT9OLwMgalaM2J33IjkNe7fYO4EPn7Ngn2e h9+M0PBluB9qf8vLVYfqlxxTklqmeIc63G5TQPIs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , Takashi Iwai Subject: [PATCH 130/190] Revert "ALSA: usx2y: Fix potential NULL pointer dereference" Date: Wed, 21 Apr 2021 15:00:05 +0200 Message-Id: <20210421130105.1226686-131-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 a2c6433ee5a35a8de6d563f6512a26f87835ea0f. 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: Aditya Pakki Cc: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/usx2y/usb_stream.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sound/usb/usx2y/usb_stream.c b/sound/usb/usx2y/usb_stream.c index 091c071b270a..6bba17bf689a 100644 --- a/sound/usb/usx2y/usb_stream.c +++ b/sound/usb/usx2y/usb_stream.c @@ -91,12 +91,7 @@ static int init_urbs(struct usb_stream_kernel *sk, unsigned use_packsize, for (u = 0; u < USB_STREAM_NURBS; ++u) { sk->inurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); - if (!sk->inurb[u]) - return -ENOMEM; - sk->outurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); - if (!sk->outurb[u]) - return -ENOMEM; } if (init_pipe_urbs(sk, use_packsize, sk->inurb, indata, dev, in_pipe) || -- 2.31.1