Message ID | 20220110071823.111741880@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16149C4332F for <stable@archiver.kernel.org>; Mon, 10 Jan 2022 07:36:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240749AbiAJHgl (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 10 Jan 2022 02:36:41 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:59994 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239591AbiAJHdZ (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 10 Jan 2022 02:33:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A701EB811F9; Mon, 10 Jan 2022 07:33:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF2EAC36AED; Mon, 10 Jan 2022 07:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1641800003; bh=+IgOhsZw0AUTYG+Ut03DuxUF55vMspBPcisC+jUTaIk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CRGS0kjh2xaEuaaC4sYARBFtC4KyYi8zT7VeYL3flSgIqDEiwhZqmJFaQ1SifbpYh s55ygUo1TF2PMK/asr6HvKbgZFhWoRqoMn7z6sOXsKBKXoJ7m+KIZKYXZCVrs313d4 aD8z/6w+Ie26wld+nMLL36hxCXybi5zDS7eO1RaE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, syzbot+cdbd40e0c3ca02cae3b7@syzkaller.appspotmail.com, Haimin Zhang <tcs_kernel@tencent.com>, Jon Maloy <jmaloy@redhat.com>, Jakub Kicinski <kuba@kernel.org> Subject: [PATCH 5.15 46/72] net ticp:fix a kernel-infoleak in __tipc_sendmsg() Date: Mon, 10 Jan 2022 08:23:23 +0100 Message-Id: <20220110071823.111741880@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220110071821.500480371@linuxfoundation.org> References: <20220110071821.500480371@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -1461,6 +1461,8 @@ static int __tipc_sendmsg(struct socket msg_set_syn(hdr, 1); } + memset(&skaddr, 0, sizeof(skaddr)); + /* Determine destination */ if (atype == TIPC_SERVICE_RANGE) { return tipc_sendmcast(sock, ua, m, dlen, timeout);