Article View: linux.kernel.netdev
Article #17517Re: [PATCH net] ip6mr: prevent info-leak in ip6mr_cache_report()
From: patchwork-bot+netdevbpf
Date: Mon, 16 Nov 2026 23:50
Date: Mon, 16 Nov 2026 23:50
29 lines
8930 bytes
8930 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 12 Nov 2026 12:24:15 +0800 you wrote:
> The non-WHOLEPKT branch copies the IPv6 header at offset 0 and then
> appends 40 bytes with skb_put(), but the mrt6msg is written at offset 0
> after skb_reset_transport_header(), so the appended 40 bytes are never
> initialized. They hold stale heap contents.
>
> The report is queued to the mroute6 socket and copied into the
> IP6MRA_CREPORT_PKT netlink attribute, disclosing the stale bytes to
> user space. The stale bytes can contain kernel heap and image
> pointers, and the report is reachable from an unprivileged user
> namespace (MRT6_INIT in a new netns, plus the non-root
> RTNLGRP_IPV6_MROUTE_R group).
>
> [...]
Here is the summary with links:
- [net] ip6mr: prevent info-leak in ip6mr_cache_report()
https://git.kernel.org/netdev/net/c/ea538b5790ee
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179487300602.245276.10787515440158212496.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364830-linux-kernel-netdev=dewy.ruReferences:
<20261112042415.617221-1-bsdhenrymartin@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364830-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] ip6mr: prevent info-leak in ip6mr_cache_report() Date: Mon, 16 Nov 2026 23:50:06 +0000 Organization: Usenet Network Message-ID: <179487300602.245276.10787515440158212496.git-patchwork-notify@kernel.org> References: <20261112042415.617221-1-bsdhenrymartin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2196242"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cM9zmBem50M4S9/5tmtZfho+r2E= sha256:Q06shAdDyD7HQP6nEY/fJpsx+Gg/gzTYhXHkxwYPA28= sha1:lIellGSil4gUW1OWaUPmU+eSNME= sha256:zadfevWTZoLON9VHcgr2OydjIcQxsZvlXa7WB7Dqjow= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 8AD05114DC4; Tue, 17 Nov 2026 02:50:44 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LMDAvhMgh377; Tue, 17 Nov 2026 02:50:41 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364830-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C1E69114D72; Tue, 17 Nov 2026 02:50:32 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 7433334104; Mon, 16 Nov 2026 23:50:16 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794873013; b=hstf3/0RDYP+yqaAY/Xl6/sJFwREnFnqqdb24iZJNQ/yK7ktGrEEYTvWZ8FlXAmuGy+o rKNLto2CXFk6QEnz2zValLzBKK99yaD/X17S+Gapw62vbQGsBJ73R+97o0ryPb83+jAOc rhhBGZE3UOAV3I117BNyqAfpFZNOunouGTXaAcjLReGjeelJW+htFItY6UXh9tyaX2eHI UqprI3RhKCabTPwwJ1KApCQMYO4KmnQW+UGuoxYjeuOugGkKZx7JRmRcrmI1jJ6a6ofHg Ufnonpi1MqiX8tWwD7P6JI0qt53iJx2CR38Ah+G7+o4Z1y8RlcuSXP0MoVW/3O6b7OA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794873013; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=j9YGFS1vfURmuJvSQa+yC+JqaVeCUndQjeuah01yDdo=; b=pDpcLLDddUH98s6q+y3jppAWo+uX8EiDd0ZgX+P83TCL6IqLqJ5yJ3cxwjznrrVRGkeO bEw8R0NjP0f93cOotRlHmLhn69AOSSZ+632fHCG9jzoe750r2I06MUbGaNlW6th79sbtP KQuZxws0sPnglo6ERpIzr5aj4pTwE3YvdQXPicz8yKchmatiPe3tz40pWvXjrOfEN6QgE ZiFhOcqHgrb2tm/lVcKgCnMvmVxMFjQPBnL8Zzl3awyMAEHkx5wDJSnrQJICJEopXjFHU L/vO6vJ/J6TI4nCQVhXs0aaB3V3lQkfiPEBnOfsCXSkeDppwl1c3Sr+j35Dp1n7Xp2w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c5fEV6cF; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D357F606A888; Mon, 16 Nov 2026 23:50:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c5fEV6cF X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794873008; b=b0UkOXBYwh1iVy+EIQbJ8hU+1dIdqkvALdDODeviH2L9Q4gCanpnMImzQ2i4cKlCs06p JgvhRk8p64Swj0gKUlUFGZykvGhFP5zdwpH4NJf7hFlHemDbkcaQxnohxJoo/GOE8QIu3 zzTaxptKUi33qq+3T5eyd7FxJ+XoXN19EO2AMuzrz7ztGCFbVQOL5mGMw8GaY8c4yykg3 kwgM9ohUlDW1r3YZFKHu2jc0vWHoxfFIzJMPbdtsxwCOvSBj0QZU5/meU3iUEp0Cz+8a1 1vgWAMOhYEFM4BqPzFmKfVBSnoco4LBMCBNn3T670VsT6juaNMSWUALS6gwkkZoS+Kg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794873008; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=j9YGFS1vfURmuJvSQa+yC+JqaVeCUndQjeuah01yDdo=; b=BlSgrkN1DNsggZwpJ8fvw4LNh5vBaOeyRhrccvY3O1RlQ5P3tgeTdR0vxA8eA4Ta/VxL nevwXGNs2U8Xelfvi0uGp7YNcW893SvWet4/JKq04uFgiUaJBTIbiT8YiUT5Z7oMGZnKE JAx41aXTeyhfZwbeSjtLNGMIsvwuqL8T+RhvFus4ZYAGTigoYEpUDmc2udd//TgLEBaln Pm0zofQT08vWE0YEt4qQUzo9LbBoXlunbkJUIasKdtVrmcoJnrvaVBKrdubiNAMzlMpOs xcVJCHnX2jk/nzKVKbikZFkGYT7UjmtM5s1Zqapk+XIW4Hu58HA+QECrjCVhs9X/XFg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c5fEV6cF; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3551606A33E; Mon, 16 Nov 2026 23:50:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83BFD1F000C4; Mon, 16 Nov 2026 23:50:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794873007; bh=j9YGFS1vfURmuJvSQa+yC+JqaVeCUndQjeuah01yDdo=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=c5fEV6cFmui2rM7Uy7v4HfHFdBwlkTln/YvwNf1nH5COblzdU3NvZMzn7zXPO0VEC AZUaBSKOj6kabkZq9i66OPTARtSKydFKzNehchTq38HHAg/KChewMNI0Fjo+nrMd26 tbAGGKrhEl6iDNsQ2M9tx1clgxlbQweq6fcI7h8AuBD3vU23eQ8iQT91Y/jZEG7oiJ ag84m2EFOVJr22RMP8WKRqBfzbhtSWyn3roHWxdPN/Az4iAQOjYQYK5e4dNh+ztbrO XVuxZ4xoQDIo0zovt1x7AURyc0jwoEZnkpswlXPg+DwZ71z2Wm5s6rCNh9MUsra9LO PBw6heN8a3yJw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 77413391B059; Mon, 16 Nov 2026 23:50:07 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261112042415.617221-1-bsdhenrymartin@gmail.com> X-Cc: dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org