Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1835890rwn; Fri, 9 Sep 2022 05:00:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR4kGE0ZQ4vpu2mDOTE0W7mqeASRxnkIb0dc3uBHEGKkLjEIaZSrnKFrAp0MO5CqZ1ObzmxZ X-Received: by 2002:a05:6a00:2348:b0:540:fa6e:72cf with SMTP id j8-20020a056a00234800b00540fa6e72cfmr1079517pfj.28.1662724839581; Fri, 09 Sep 2022 05:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662724839; cv=none; d=google.com; s=arc-20160816; b=PqvGSvNh5ft7K2V8KNyjON4GBcyqqZXtKUnbrbjuDv0Up3B4WIW2EpsCWGGrkLNCys IbJj6fl/M5oxe3ucWgJWtbeVIsAZeNOZwNvXS8ErA4sUiR8cVkG7DEoY+xQuNtzlStl8 iLYMmZ+GlVv0XGTn9wgRLombsfDscHbGrg+D8/vWu4ZaCfZLDHNAdYNVzw3MyXVs2g1A n0pZmwFFMA7yHcprd9LKBZwrDGMpxcL5oR5myK9U+QLSmZXPewyI7y6BFLjnWyFBBHlf vE8cQhwxO0TMUyg6VAt642+pzAW1biEsQobGcN16pptGUSJ49ssVMCj76Dp0haGL3m/w MKXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=ncQ9vA+g27k5KfS2gV1RhwfkaoBkKP61zasNQXN6+MQ=; b=Fq4Q4avYyx7fwznv42DEkSFk3OUWCZN1LgkWGSrMxSjWXRPrV0HPT66seduST0ZWYs 6tq5vl1pDzZ6ecsDzBzDqXDRJwLvYp3l+nC8GG+vT2YWfdPItmY+1cYktzdTJxrbTIHO l9D5vx6urtUIf/Z6gCctuujQ+4Nl5hCD38RMLYyPViycwkMwwX6T+rgpNIAUV14nI1ns GQLpiL6Lmbpwuo5741zsOlxq3vycpycNsRsAXl+9IxYvxqbIzvQp3iDIkhCh4WY3UMTQ MCM1B3RqE3vT8MoznoLGurbiOamerR2Orp28+jDQeisJNes3XlG6b7+tcxWt+w3W/F6H WzPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uEQTNHIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a056a001a9300b005381feef4e7si343248pfv.320.2022.09.09.05.00.27; Fri, 09 Sep 2022 05:00:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uEQTNHIM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231314AbiIILuT (ORCPT + 99 others); Fri, 9 Sep 2022 07:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbiIILuR (ORCPT ); Fri, 9 Sep 2022 07:50:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127908B98B; Fri, 9 Sep 2022 04:50:16 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id A1E5D619F4; Fri, 9 Sep 2022 11:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EE932C433D7; Fri, 9 Sep 2022 11:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662724215; bh=uy5XQ1qVprhoZbKSfCQ44KUvLeF3EGSNA/jvAc5x2/s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=uEQTNHIMP1kLVF09Hnd584eyOEajiUvu1/6vTHIsv9pd8NpQQ/MRWErxlyrqwJpCT KBgne8kCM8hSoqwO/2lhhi9teqhUFt5MM3fSLecVhsGBkGnRyDzFvm3SRd7phDTOMC aOXOKcIs7nA2/jCThsOslif+Rq0rNTizBQVz5ymyqEtahC1lOUtwRni2KYJ2YeoDYm wz0YtHCMBBLLSNfTjA9nr4btAmGdqMIXuZdGdeeUgLiU4bc91XjaTFUQCFwbgG1JLY pM3OcHLNxP20YGB4vFDBELDdDWCubSApb84zAoKjFO7nmOpzHWmd1U1Jx1NXd4fl2H AtkVa/W23WvAQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id D381AE1CABD; Fri, 9 Sep 2022 11:50:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166272421486.25944.8198403867606791696.git-patchwork-notify@kernel.org> Date: Fri, 09 Sep 2022 11:50:14 +0000 References: <20220907101204.255213-1-luwei32@huawei.com> In-Reply-To: <20220907101204.255213-1-luwei32@huawei.com> To: Lu Wei Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, vulab@iscas.ac.cn, maheshb@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Wed, 7 Sep 2022 18:12:04 +0800 you wrote: > If an AF_PACKET socket is used to send packets through ipvlan and the > default xmit function of the AF_PACKET socket is changed from > dev_queue_xmit() to packet_direct_xmit() via setsockopt() with the option > name of PACKET_QDISC_BYPASS, the skb->mac_header may not be reset and > remains as the initial value of 65535, this may trigger slab-out-of-bounds > bugs as following: > > [...] Here is the summary with links: - [net] ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header https://git.kernel.org/netdev/net/c/81225b2ea161 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html