🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7684

Re: [PATCH net 0/2] ipmr, ip6mr: Fix several info leaks

#7684
From: patchwork-bot+netdevbpf
Date: Mon, 26 Oct 2026 23:50
28 lines
8879 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 25 Oct 2026 09:17:27 +0200 you wrote:
> ip{,6}mr_cache_report() copy the IP header of a packet that triggered an
> upcall to a report packet that is delivered to user space. The header
> is not always fully initialized or present, resulting in info leaks
> flagged by KMSAN.
> 
> Patch 1 fixes an info leak in the RTM_GETROUTE path, caused by the fact
> that ipmr_get_route() does not fully initialize the IP header of the
> packet that it creates. IPv6 does not suffer from this problem.
> 
> [...]

Here is the summary with links:
  - [net,1/2] ipmr: fully initialize the synthetic IP header in ipmr_get_route()
    https://git.kernel.org/netdev/net/c/134351edc28e
  - [net,2/2] ipmr, ip6mr: validate packets injected into the register vif on xmit
    https://git.kernel.org/netdev/net/c/aa1799e93f5e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305860867.3465814.11702728052795787601.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352136-linux-kernel-netdev=dewy.ru
References: <20261025071729.34967-1-idosch@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352136-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 0/2] ipmr, ip6mr: Fix several info leaks
Date: Mon, 26 Oct 2026 23:50:08 +0000
Organization: Usenet Network
Message-ID: <179305860867.3465814.11702728052795787601.git-patchwork-notify@kernel.org>
References: <20261025071729.34967-1-idosch@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1425605"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:nxUuqcVRLfF9/Xj0hMgn9mw9a/c= sha256:SEFR+qPBGGompGReM59ISIogavzle4Uqsd8K/Tulkvg=
	sha1:nb1ndb/q51579XfdFiNopY7MsPU= sha256:oGlSCdjq/DxFRfR1/cXcnsmwxQgr6hZw9UnGF0NJWIU=
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 44645125BD6; Tue, 27 Oct 2026 02:52:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 o8GOuYSZKtfu;
	Tue, 27 Oct 2026 02:52:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352136-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 91600125AD8; Tue, 27 Oct 2026 02:52:29 +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 BB5D229E86; Mon, 26 Oct 2026 23:50:11 +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=1793058611;
	b=Hw+eTcsVE36G6ukAQZ5rrKIxvLaNmJjWnKoKX+E2Zi12/EBxuT7fWnZ6sscBqfyFusxF
	 6xg+O+6VJ+36FTNgVwqKAhRdH0Hgg4XPwzkAlexMgIkxiHomkqv13iuBj87BGk/yZuES+
	 AjbZhdbfaeLANSuXVgkXtika/612n+EWp6vsvC0rgkCCT+77he7sDn/lNxxnCqisStd6m
	 VkWVUS1peMclTAgnx3fb5AKUTK6Q46uOa38IkFB328W5YgUpDCAILQ5KDbJvU7OSaKwlO
	 Wq+KcvHE7Ts2uVsdZNMGvfB6TrE/b1b3TTHLhoHmNd/pY2FzrYNGaU5LboWX2vyZjnw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793058611;
	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=GNADXg2V622Yxr65qM2wv5tZQIWoR6xmp2ryOsAa94w=;
	b=ij42Y4GXHWpuj5J1Um1RqD9GdXtUZ33sglAEHL6wdTXxY+wwFtLTe6+d+zNVnHOtiPEq
	 zrrfRxipQzGjElxKuuwAMSA43FI2IKowLZRLWRC5dxhQo61/Gsitxrztrr9XRDD50MFKq
	 K0wGGGEDyTl/Cq0s44SvGx6dFChrCnWRLsPdvHDEtzie88YWdsg8bmNIMIj2VtpyXSa/+
	 TCOysZ49YT10VJPDJ380L5V59igwS+zghr5xHARAzJtyLimo+9+FL0qlaZtPY4pLm44Jc
	 R86duW4XT3fqn1UpU3wOwBdSzdnkM81z2dDjhDntzbclj/OZeomHGg6VJrpKgjudD4Q==
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=SySVkDVK;
	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 922B4606A320;
	Mon, 26 Oct 2026 23:50:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SySVkDVK
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=1793058610;
	b=uwvOTAAzEg8RojQ59Gpx5oTtZGrZzRawUk1dGpfMDVQ9uodY61HhfFyWm/XHptq/5UnX
	 ypc5rmh3GfhsLQugqbQbZ16syhryhgHqYu5X2RYfQQaX/8Vj5YLSe4a0TtIg+6bKxqSts
	 7HT/Q2vPJvlM3GbtAe772ScxL2rkF4XVLwlzrbNCZnW2z4pR08r+SnS2OuM9TaO8vPhMI
	 5piACuGdDeFV14ceDLXltCBCew0cHuXPWrl6tX3Vj2trqiyD00J+yWDu9q51RqhbzN/1I
	 nUVok55HvlLQj5PnJmclyfJ/cHu/F0synoLH3hxE5XNOd6Bw2z63L5hf03CR2KTUgmQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793058610;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=GNADXg2V622Yxr65qM2wv5tZQIWoR6xmp2ryOsAa94w=;
	b=yi+4RKs9ufVtw4KjcIseOpOjof3QooeNGr4pcgmMjvO/ww4Fk9XwjDUFJPN2ob/fE2IK
	 6X2uaRHJeGvwfQKiXeCJpLqewFG5d10EWGxCFuWib116iiUVokAEo8rQrGCCkiErTusOT
	 XSDZE9XLilqiqSUcXXS3fTs5sETCwv50cvcyVn61CehR0sq71GFEe7dGdzNy2X8AS4Iq/
	 CmE5O5GS557bPYkLVH0oFyoD1Rn7IGue/+5aK595IotWr4f0ylEZuJGxSlF/YN061pIgd
	 gDK9Wx4WmbwvedntrU64B7eO+a59WmfNr4BLQ7gDs4aooKlDyI7uw+k3dAUR55Jmw2w==
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=SySVkDVK;
	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 6C138606A31B
	for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 23:50:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10BD71F01829;
	Mon, 26 Oct 2026 23:50:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793058610;
	bh=GNADXg2V622Yxr65qM2wv5tZQIWoR6xmp2ryOsAa94w=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=SySVkDVK6d1oLzJJpX2sAaWXZRnj+w8HrRYi+g9VJN4HoSRC36CjYpOKZyJXryzrc
	 kSdLtf6xQ48b1CxXmfmSFwFZOmFfsYhySN0Y8IRAgi6/jtitnC+moHgLLO7T/dTyqN
	 57tU94FBXmgFAE+1dyk6jugVZO2VCtE9UmKMxjsbR7M0jqY7QlMZKNJMX86fC7wJt+
	 TvkJHYq4t5ockur9xLiyuJCeZ5P9Wfh/cxY6qg0BrQ73NwPTvtQGUs5dWG+nj4HEHK
	 1B96+PUw/iHRtnFw4rXFqiR2MPWALSpo/fqzYlRqHvG5Dxwh54OI8BSVzyLg/xzWic
	 Wlnd8Owx/35wA==
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 072893AA80F1;
	Mon, 26 Oct 2026 23:50:10 +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: <20261025071729.34967-1-idosch@nvidia.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
 pabeni@redhat.com, edumazet@kernel.org, dsahern@kernel.org, horms@kernel.org,
 yoshfuji@linux-ipv6.org