From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E2CB2C433F5 for ; Tue, 19 Apr 2022 13:20:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349866AbiDSNW7 (ORCPT ); Tue, 19 Apr 2022 09:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348439AbiDSNW5 (ORCPT ); Tue, 19 Apr 2022 09:22:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A8CFDF8A for ; Tue, 19 Apr 2022 06:20:12 -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 810F161630 for ; Tue, 19 Apr 2022 13:20:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DB5D4C385AD; Tue, 19 Apr 2022 13:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650374412; bh=DC0Xb0Npd1G7yjXbe9NNKYjqNA35lhaHmwTAus+3eaM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=B9RoW+J4yBLLYQ11j2RVTSD10csbeDau3/PMQ5dN8DTmaEeIk+WOPI5NdNO+nWuGS ZWH+5SOsN/FyIMmxLXudPZW6SQuIoAWzhtNeQckriP9PGYrTFl60QeCcjhBXxhOo4Z 3LRWtXoYlhdLefTRXW6tgBbBoDlcxWZTk2Gynk+1RfWcGWmTLcmR7wS4D0qUmoCR7T /kh1V7Eo621l5q9qLWdrpEFrzzc+samt8nyhmP1ImQ3mkqP4+gjJ1EFLbPyYttGrV0 XAukDfvqsOWbEkyCXc/zUOUIhtEjdxNz9ifm6OmXY2pqRhyU0YTIca/iuUOHQmIU50 eR7gwZIZ10vpA== 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 B96D2E8DD61; Tue, 19 Apr 2022 13:20:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] netlink: reset network and mac headers in netlink_dump() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165037441175.13215.17556619254098753644.git-patchwork-notify@kernel.org> Date: Tue, 19 Apr 2022 13:20:11 +0000 References: <20220415181442.551228-1-eric.dumazet@gmail.com> In-Reply-To: <20220415181442.551228-1-eric.dumazet@gmail.com> To: Eric Dumazet Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, edumazet@google.com, syzkaller@googlegroups.com Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Paolo Abeni : On Fri, 15 Apr 2022 11:14:42 -0700 you wrote: > From: Eric Dumazet > > netlink_dump() is allocating an skb, reserves space in it > but forgets to reset network header. > > This allows a BPF program, invoked later from sk_filter() > to access uninitialized kernel memory from the reserved > space. > > [...] Here is the summary with links: - [net] netlink: reset network and mac headers in netlink_dump() https://git.kernel.org/netdev/net/c/99c07327ae11 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html