Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp847864rdb; Wed, 6 Dec 2023 01:20:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6dMg6Y/wwq/KL6U6tD5BSLfTOZFpFLFkM02n7b4LPUTv/yzFLgI91vIkRRMIkfXBUsN5U X-Received: by 2002:a17:902:eed2:b0:1d0:48cf:bbe1 with SMTP id h18-20020a170902eed200b001d048cfbbe1mr554791plb.56.1701854456140; Wed, 06 Dec 2023 01:20:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701854456; cv=none; d=google.com; s=arc-20160816; b=ATnTJBdLQUdc5evZgCk/EjfCQc1C9zcxTbxJGM9bTX3aZhiKWqON+pZ7aZbrYDBoYZ rQA0+KAigda3AQ5HHJaUjb3cow3VP46AuEeA826n9lpep1dzteDQgeJq/59ArgGX2FPG XNMJBUDYIfrBVbrt6AIC+nk2rCvGGFehR6KsWlHzfqDquncyq9HYRaMmOED4bsiLr2yk bOUCoFTKvtMNjcinNAw/Nct50IlFo5g23QDybqYbaR4UsoBxrLKTpmUartO6x+yqfP6S adKqDZ4Jc1QmXrpCMMBtY9RrYibWGznsblZQZCNZo6x8ChdN9EDL/PupwdW4kE1VwyZa 0hxg== 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=Ow4amYKcbnAsNAKJA+Z3OJuoVzuF7iwIFZEifk/JwsE=; fh=Tx52UhVFfB7RFt/t1+dghHu7nuUWKYB1qNWgeoU94qI=; b=QYjPq6CXXQ2Zg4LI1+/75lRp/RuRRpalDf1KtkAMF6cfyticzMDEeBbXndNoumqUUc aH6NXcUpMnqck++Ef55297rdEI+okG5qEXPAUKVQIsWWWCjGd4wMlyapaguyXt5Hbc8K LwvAdjqEQRJRAbNTkg6cvyQuQd+TIdnkYgBc/oM8+z3UOOmlI5BWGvO2aT3tjyS8MquH oQXAUhrCd5UEdLg4cjE1nAXTuTT+bId3mvCJ1sINfcD/rDazg2aZCbbFqMPBboHD5Mjs 3qSAjuPluQL2QT6cySvnFEzwyUhXak6hRnc+867G3vRN0YBIGxD9Iw8dG6bvaQWsaGL+ XUFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HNzRf8zy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id j7-20020a170903024700b001cfaa9ba6basi11169201plh.240.2023.12.06.01.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 01:20:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HNzRf8zy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 902F8809927C; Wed, 6 Dec 2023 01:20:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbjLFJUS (ORCPT + 99 others); Wed, 6 Dec 2023 04:20:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232266AbjLFJUR (ORCPT ); Wed, 6 Dec 2023 04:20:17 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A22D4F for ; Wed, 6 Dec 2023 01:20:23 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0A462C433CA; Wed, 6 Dec 2023 09:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701854423; bh=gzlkjQfmWVccL59AU12EX6SfF/xftROkPP8PH4cN+PI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=HNzRf8zyr/bAruseOy/c2Y+QmKrrhtvd6EeOl8sBcU8AhMrnry3t7mBlAATr62dt3 PejvIbnrTO4iGflCijrPcwMJitNJQznVjNmaU23IJ4TMJ/ZBBTXc6agRf2gKIODyIN rjfiDN+srUGKOlid+4vfsEBl8mU/EaHl4MBodUa0QVfm+hOsVInSVanBY2JJZvDP4E dFUy2XeKH0jix5cRImZch1OrgdaGlulxU4k+FdCVg87ns02Mmo5BBBEv/SpTB6365c F2bH45ZxwiYrXKmFULnpuqyFpviyy/Ull/y63kM3OpeqyeVgOUNS9RXWojg2zX3ZOM UaM1zQByhxj6A== 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 E562AC395DC; Wed, 6 Dec 2023 09:20:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170185442293.26512.8602654945960747871.git-patchwork-notify@kernel.org> Date: Wed, 06 Dec 2023 09:20:22 +0000 References: <20231202161441.221135-1-syoshida@redhat.com> In-Reply-To: <20231202161441.221135-1-syoshida@redhat.com> To: Shigeru Yoshida Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 01:20:33 -0800 (PST) Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Sun, 3 Dec 2023 01:14:41 +0900 you wrote: > In ipgre_xmit(), skb_pull() may fail even if pskb_inet_may_pull() returns > true. For example, applications can use PF_PACKET to create a malformed > packet with no IP header. This type of packet causes a problem such as > uninit-value access. > > This patch ensures that skb_pull() can pull the required size by checking > the skb with pskb_network_may_pull() before skb_pull(). > > [...] Here is the summary with links: - [net,v2] ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit() https://git.kernel.org/netdev/net/c/80d875cfc9d3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html