Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp515829rwb; Tue, 25 Jul 2023 20:51:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlHdqiUBor3hPzV5EZ10nVexvf4RsR7NcHHCCOVQ4RqPP5o4q9OjC2VoYN6WFsz620L+hIMI X-Received: by 2002:a05:6808:10d1:b0:3a4:9f:933e with SMTP id s17-20020a05680810d100b003a4009f933emr1155918ois.58.1690343478110; Tue, 25 Jul 2023 20:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690343478; cv=none; d=google.com; s=arc-20160816; b=iz/zmfI5TJGkxt8LrpWSInOYx6Xx7v8F1JZhJbi3U2AmMuZD0DVzuJ/K6l45BTRT4H H1QUulatPNG114fPCTaI7mW0OWtrAgkAVsQ5Wovta44vIbCnspMhMZ1/T+SrDj3lzLhk D1yjE1N0e5YNub5Z8vXJzNmHnMRoewYNLGgTigIQO3s9TgYxS6BlW4EFHxwRwwxJZ44i 8GtgpkH4Fxpf50j3HNVmomNkGv+UiqlazauHEzf88rECSi8BLnNwGkPqbiBLPt/SezrX sLfjlVeX+RNXp2wVvSqiEEobC+B/OEAKEF6Etnzu8AmfOQwIkqNZNibdEE+zHhaNaGD7 LXxg== 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=RQBvtvOnNOLxA+nRfFuTucNV0Ekz8lLlAeFH3UMP38Y=; fh=d7cY2QdVwxId6Dx1igf5fBtS3fpLRdmR4yQOIkcttVI=; b=YjtRgQFfeCBM9p9e2kSwraPp7R7pjpvc0+eFuziHYdAcsFd4Wc7cw/U8AcasUzuekf gd6aIrplamP5nFwcnLAnI1PalED6eGvPHiHn6Mu/eBaGDsbO1OlfxivB7bxc7y4wgSNU ulJIR27VftF6epH5r05IjQngVR7gnhAHLc+Y3ScRlBU9iqIcSHZNMpsQYc382cqjtRb0 wRnyWuy5vriQASNWA6UbGNHcEKQ6sRGal/tdK1e1OhG6XlnzZLG1D6cDDoKnjjxj2IgP gCBwZXBCdxvLBua/WfoHbOiF5CuhDMmv4cTHys22jN5DxFUGRaP2V0v3fOFmMkKMCquj jLJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YimEVX3V; 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 h15-20020a17090aea8f00b00263a2156cd5si502893pjz.30.2023.07.25.20.51.06; Tue, 25 Jul 2023 20:51:18 -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=YimEVX3V; 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 S230182AbjGZDKh (ORCPT + 99 others); Tue, 25 Jul 2023 23:10:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjGZDKZ (ORCPT ); Tue, 25 Jul 2023 23:10:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 460B42689 for ; Tue, 25 Jul 2023 20:10:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CF291611A5 for ; Wed, 26 Jul 2023 03:10:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2F5E5C433C9; Wed, 26 Jul 2023 03:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690341020; bh=hMCPvZFKLanrr69pIj6onTahy0FPfqQtFdYlgvZi8yY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=YimEVX3V/lBXfT96mJNBU5jx32jZYm5v4zTE705PjphtYXL2qupJSdfsRy2BevZ3u 3duXn+r4F2YEpcfAsD8TT29XmLB/N7Dfzcpp+YHtsEBHftnD3bs1eNMd721M/kbYi8 AtT/P50rsFFJgNCNiQ4NHh2UMp6pTRpGKFbBzBA2+twecVWj7sXcmJI54SDVp/z3xA P8YmG+ZH8PJfYpD+38kc4IyMHRuLeUYJ8U7A0XLCmad1oA85W7Z3L28DD40ITTcahc XScC9P1kymg2ix0UziIX9xLFBwsFLjeGI0rTtIlctyuquJoDOcXzMmnaivcjrQjpmy b+RUFwz1fnP7Q== 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 0B4A7C73FE2; Wed, 26 Jul 2023 03:10:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v1] macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169034102003.18310.5663605946528991892.git-patchwork-notify@kernel.org> Date: Wed, 26 Jul 2023 03:10:20 +0000 References: <20230723080205.3715164-1-linma@zju.edu.cn> In-Reply-To: <20230723080205.3715164-1-linma@zju.edu.cn> To: Lin Ma Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 (main) by Jakub Kicinski : On Sun, 23 Jul 2023 16:02:05 +0800 you wrote: > The previous commit 954d1fa1ac93 ("macvlan: Add netlink attribute for > broadcast cutoff") added one additional attribute named > IFLA_MACVLAN_BC_CUTOFF to allow broadcast cutfoff. > > However, it forgot to describe the nla_policy at macvlan_policy > (drivers/net/macvlan.c). Hence, this suppose NLA_S32 (4 bytes) integer > can be faked as empty (0 bytes) by a malicious user, which could leads > to OOB in heap just like CVE-2023-3773. > > [...] Here is the summary with links: - [v1] macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF https://git.kernel.org/netdev/net/c/55cef78c244d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html