Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp502915pxy; Wed, 21 Apr 2021 08:04:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZlCvK4PdbH3i6v9MtQX4FUEKYMCcHMQiGgKAWGTEzOAgijQ74u0CDaOZf2NzoB/jkM71l X-Received: by 2002:a05:6402:1492:: with SMTP id e18mr26618904edv.351.1619017485529; Wed, 21 Apr 2021 08:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619017485; cv=none; d=google.com; s=arc-20160816; b=MnjzXShFQ+xGr9V9MSniogLBMj+/zbhKBLFz1Buf0YX15ic7QRy0a+wWDh8hJPrv7D vZtB1PiOi8cqyo1pAI8oETWoCZ+105FsUF+CM4qyvQ6m6Sz6V2frMneMMLVp0PDdNe1w INL3u2Yp1odRdInuRc3TRBQ5qgIRl1ZCGRjCdSxjEPZC4vTCy5kMGfBCRNL2JW+ZGOzM IaiCLIVHHFleMwN4ebXeVKha+7jpUAnttULsPC9bWcrsS4vmlHBVm37nqk5xeo0q2ZZL +ggrPuLT2xWlnHSCNP4/ch0R4Bal1l2JKkTPM+Yff6vDqlCuFb583aXMJx+XgLj9n9L+ M9iA== 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=aO+Pwkxx+bJapL9lRdbiTbc3KIB9LIVJKYwoloiLWCg=; b=r9TEx3u04LG+psFcGozB//I6LR9Il61O8z+KxYIx/c0SAAi1qSgLmP6QzDXDu1OAgC KDhdQed/BqEOLKqUJIBL87nluaAatkX0w/XOZJNFyRgn78Tjpcv7v5YDcreMbyVXFELJ u0yzoKv3KYIKvXtd17ASHjuo8NKLsNuZXzGHwkNCGO4VvpV6JE3eMnG3EguHpehAXPCl NiGOFDB1Alw9x02VJgJH1aEmQlt5XNGGI2nkw38nUsip1GpSF2F+WY8vdLbAK873w7BC mHeh38mSDlNvdGnDm/I3CJFzIp77wwj7ptREabxcPQOmzh8+vT/2ivVzbzZqN63kaoV9 ER5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tLgM1wuD; 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 s10si2296512edw.282.2021.04.21.08.04.21; Wed, 21 Apr 2021 08:04:45 -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=tLgM1wuD; 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 S240610AbhDUNEC (ORCPT + 99 others); Wed, 21 Apr 2021 09:04:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:43838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240488AbhDUNDt (ORCPT ); Wed, 21 Apr 2021 09:03:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 37C506144C; Wed, 21 Apr 2021 13:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010194; bh=89kxREtPf2htSEjjuf1n+Ag6s1bNqHtO2rnpCeyFvqQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tLgM1wuDzHbpPVmIN8X0cRFvGHY0TsHTtgaTJNwov6G3W+5Kr3vTE1wTd6YvcJDWd DdCKyiPnJHIcz3V1BAkDUu72mnAO80dZemqhNrA6FY+Ugqz4a8UYM6ma1gnR5NaRAg 3T7fJ1y0tn3k++vgPlKH2VO5nScpkuRFjROgfivA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Qiushi Wu , David Howells , Markus Elfring Subject: [PATCH 047/190] Revert "rxrpc: Fix a memory leak in rxkad_verify_response()" Date: Wed, 21 Apr 2021 14:58:42 +0200 Message-Id: <20210421130105.1226686-48-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 f45d01f4f30b53c3a0a1c6c1c154acb7ff74ab9f. 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: Qiushi Wu Cc: David Howells Cc: Markus Elfring Signed-off-by: Greg Kroah-Hartman --- net/rxrpc/rxkad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index e2e9e9b0a6d7..6cdbfb4f8cda 100644 --- a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c @@ -1241,7 +1241,7 @@ static int rxkad_verify_response(struct rxrpc_connection *conn, ret = rxkad_decrypt_ticket(conn, server_key, skb, ticket, ticket_len, &session_key, &expiry, _abort_code); if (ret < 0) - goto temporary_error_free_ticket; + goto temporary_error_free_resp; /* use the session key from inside the ticket to decrypt the * response */ -- 2.31.1