Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2968974rdb; Mon, 4 Dec 2023 12:34:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1AbqehvS9kQTUM7wfcAi2jf5urPhzo2+mIxAs73tqeI95Oxjnt/rhjCgn1ut5DXz0Y4XX X-Received: by 2002:a17:903:2291:b0:1cf:cd31:459d with SMTP id b17-20020a170903229100b001cfcd31459dmr2013359plh.21.1701722064635; Mon, 04 Dec 2023 12:34:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701722064; cv=none; d=google.com; s=arc-20160816; b=WxpOR3667pqY7AmJpAFGSNgpJxe1QsbTIqHyVb0Lfesgz8MdCUbrwGfIyHX2LNh2v0 IK8/y2WqdWz3VQdi3751nZwereShD8CClS81ciB1SC/i7cToo69dXzO/kZauUqLOP0Sl C2ik7M2ie7lQLFkcTd0TLFRefDPtjWGS+XMbYveGAYBWMxJG8q650OcwOLvtZw02AUKG i1U2Hav8MrCLvO2aAtpKtj6SYYZFBIij3fzYNzYcomAmFiRxobG3Nb3YT6Gu3+tvIPFr KBvaGAF0rSMyV9w0Qkog2VSUAUzs3bMd3+jEORcVIeEKfqVWpSmShMynQFmsD1HNW65s +LRQ== 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=u2mONIt9e7C4VnLH6EXVjuPxV5/tmNX2gkr+xagjmf8=; fh=KN9cY8DxGTmuaXhP1lbwLOZ3rq8PDtjKsR6blySt7a4=; b=lpP2Gn8RwyalAogJ6iGv5tIMUwYZS4ynfyM5TmuZ7US5IbjJHucABxKxvVyxNpP1Gy R+dRgSGZTCWogd7dq5GjaaoRmn54eTKA53vrsusmDEFgVQvP8W0gPLvIqyEsRKz4GAIw pHwd/j/44nQhVzrnszb+fZoECGlVWsNFy3tggri3EdG6ZJ1IyX73hQCLBRnqIfmcjlOj TdalkUE6MzlA/BTnv1UFJpYgbwFhVBK5rLeAa/E5NXwcYrPzUSDKl4dKNUnE6N/FQ3NE u05Z+wAHBrhnBD71EgEDQVjzP9rC+fi0VWdTC3C2hcXdUsXe7F7jw6ZEscv2hJLUwhL/ lzqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b4aWd4t4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id w8-20020a170902904800b001cfd4c10e47si8132010plz.8.2023.12.04.12.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:34:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b4aWd4t4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 174E18056A0B; Mon, 4 Dec 2023 12:34:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346297AbjLDUeF (ORCPT + 99 others); Mon, 4 Dec 2023 15:34:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346129AbjLDUdl (ORCPT ); Mon, 4 Dec 2023 15:33:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FB181BD for ; Mon, 4 Dec 2023 12:33:44 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A8A2C433C7; Mon, 4 Dec 2023 20:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701722024; bh=40ewDILkJWQcO31G58cjJ0L3RCQpKqcx73H5B5VDZvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b4aWd4t4td4C0EqD9IrW+Q8FLRpJM0p+/OHXF9zHEOMDNXpOZ6I5f2/3zURvtRGpc PqssrxAf+PFRYr9R9VZLZ+NpRiR9u/hCrXYqYEMW5w7e293sDURoHvT6cZTbl01RcM ykZ8jfo/HZQFl0viMRnMNFmwDaniGpcfOdjxlkkB3u3UX7LLUOIzkCOwaR9nr+Q9cD V6tjOX5OcrzzMrc38CNXnKec5tQezZKQNKap8uhIwnl17wicgppTXZ5sc7m0sEg2/p Nmhx4e7cRVyqDFYE4F/wCYRwHWhUdFIPt2YSVO4WKqgWaBt5piPj4xHmo0Zokue6eR kS0GYyoI5Uvdw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Edward Adam Davis , syzbot+b834a6b2decad004cfa1@syzkaller.appspotmail.com, Paolo Abeni , "David S . Miller" , Sasha Levin , matttbe@kernel.org, martineau@kernel.org, edumazet@google.com, kuba@kernel.org, netdev@vger.kernel.org, mptcp@lists.linux.dev Subject: [PATCH AUTOSEL 6.6 10/32] mptcp: fix uninit-value in mptcp_incoming_options Date: Mon, 4 Dec 2023 15:32:30 -0500 Message-ID: <20231204203317.2092321-10-sashal@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231204203317.2092321-1-sashal@kernel.org> References: <20231204203317.2092321-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.4 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:34:21 -0800 (PST) From: Edward Adam Davis [ Upstream commit 237ff253f2d4f6307b7b20434d7cbcc67693298b ] Added initialization use_ack to mptcp_parse_option(). Reported-by: syzbot+b834a6b2decad004cfa1@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis Acked-by: Paolo Abeni Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/mptcp/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index cd15ec73073e0..c53914012d01d 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -108,6 +108,7 @@ static void mptcp_parse_option(const struct sk_buff *skb, mp_opt->suboptions |= OPTION_MPTCP_DSS; mp_opt->use_map = 1; mp_opt->mpc_map = 1; + mp_opt->use_ack = 0; mp_opt->data_len = get_unaligned_be16(ptr); ptr += 2; } -- 2.42.0