🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14712

Re: [PATCH net v3] ipv6: reject routes without an inet6_dev

#14712
From: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 22:00
27 lines
8869 bytes
Hello:

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

On Mon,  9 Nov 2026 16:29:40 +0800 you wrote:
> ip6_route_output() and ip6_route_lookup() can return an error-free route
> whose rt6i_idev is NULL.  Lowering an external nexthop device's MTU below
> IPV6_MIN_MTU tears down its inet6_dev, while fib6_ifdown() leaves routes
> using nexthop objects in the FIB.
> 
> An unprivileged user with CAP_NET_ADMIN in a private user and network
> namespace can construct this state.  Consumers which treat a route without
> an error as usable can then dereference the NULL rt6i_idev.  This was
> reproduced as a KASAN NULL pointer dereference in ip6_tnl_xmit().
> 
> [...]

Here is the summary with links:
  - [net,v3] ipv6: reject routes without an inet6_dev
    https://git.kernel.org/netdev/net/c/08a1eb7a634f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179443440545.1663612.15743969370880416230.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-361297-linux-kernel-netdev=dewy.ru
References: <tencent_91DA7FD8277B509C55906702D1E425FBC906@qq.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-361297-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3] ipv6: reject routes without an inet6_dev
Date: Wed, 11 Nov 2026 22:00:05 +0000
Organization: Usenet Network
Message-ID: <179443440545.1663612.15743969370880416230.git-patchwork-notify@kernel.org>
References: <tencent_91DA7FD8277B509C55906702D1E425FBC906@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="950540"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qK0XHLriQxQJzQqztb30PYP6kKs= sha256:AnwlS8Xenu7pQj6kXRufQGzGyYfvOZnEolDDc894lUY=
	sha1:pDlnLAy9JrjYt3AYEi1B5tPEh3g= sha256:bVtjcCPcpEvxGHYeRjRmsdyJ7TEF12vuP2YRf1dd4rs=
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 2E7C6113FFB; Thu, 12 Nov 2026 01:17:43 +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 BYGsISb54Fl3;
	Thu, 12 Nov 2026 01:17:39 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-361297-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id B4467113FEE; Thu, 12 Nov 2026 01:17:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 3B20F47D94; Wed, 11 Nov 2026 22:01:09 +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=1794434408;
	b=kA/BRKDpqhfcNOPnE1D92ENzlzEV+dxqBVLwRCWaet8RiCZHQ96xKvG8D9rbIm2U6Gbt
	 WVo/EuU2Lk69ADnMjaoU4YPYU1OLZTplM0aaPIVe7GzMeH2CHjPR+TKejSTQtcYl32Ead
	 eRsdOjt6zjwjREM/AoAZKni8E/v/z5KqNGvetVtQWJ0EDmyHw1VIUsM5z4BPoS8k9QpF1
	 dHZobgk1zuYb8nBRFU21KZz1Hxo2llU5sT//PPHUorrXCxpqIdizGz5Hc7gjNQiAigU2t
	 vlQNkdtaM9vUL7flyeRPGepL4vnRrHW4r1Xa4c3tIo9dm4Lt6E1jh/AP1PF7JJil4mQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794434408;
	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=QPlbAjgLicca9iUK/LTU+4HhXH7DfDFsly5gN5ecr1Q=;
	b=p8rUnucFuZCzCxoqCPYGvkblirWSQFI+WnT4kbDuUnmNFk9SLB8lIzvCHT2LM9L6Qx75
	 c14dm/Doao0Rz/OEfdGuiV78X77Rr12mcS+XbNc0IQ0VwbNd8GNRHjlALqZhpkIO/210N
	 da7cIZWACisPCPcYx7bEdaOXtfPb2JW+oeYHCdFQMbMD/Jda4qZdF8sqzfb8NActVoQHz
	 DA/qx4wLfWPRPt0U2r4gR2erWwiW10I85d6TexOsWNV4coUTTSaoaWEaGYvBjadc5Jfs0
	 O+RwsSKA57wvxlWFfjd6Xf7coJjEfLOwJJYI7xa1FFxjsjq0Mol48mz7a8wUnH8VOcg==
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=Hu8bhn01;
	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 655F260A261F;
	Wed, 11 Nov 2026 22:00:08 +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=Hu8bhn01
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=1794434407;
	b=DtJH6umQ4i+J55CttDpo9FOhNSM5jznBykdd8H3vrTiIZFrF7DzqoPl352KLvdKquF+L
	 klYie1ibCqiLvWU0JE1VpBcWZ8ZHyHwHoZcSW4AjRhdS2LfsByCeXxF887DRe43dqBFMg
	 ILD3pOUdi7fSOhXw6vBUAvNh1jegliaRJ6/h9Lh1sazwIFMM5vr46l+y1kMAQKWJ5zrnK
	 V1Aqgd9mWJnKu8CUjocvlyd8hLahFBge7IBYim1Rsn4m2Zz+U3qX2RLhi/Y9hfe5SeU2M
	 egb4ajThssdWmD4ot+cIae+6168SvB/8pnbHONl/KVAmJ5YN1MWx1iarDU1gdoJOAXQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794434407;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=QPlbAjgLicca9iUK/LTU+4HhXH7DfDFsly5gN5ecr1Q=;
	b=EHdNPHQxnNBm4bwG+TKogicB4JOgZ63dJQnIWKuR4hwAMPHPzUf52UAu40Lhg5SgH2aW
	 7cmoOvlEdiQqlAEAFGetiCOpav5XxBnSo2gtopMcgJsHCCAD4m9sMVSUoj3WtHp7ZRCpm
	 coH09sXjhTa9TmBLcXneb8anC8O91Vxqd6Zf58H/my9OhTQmm24T370Y4wus9LeuDgTDY
	 3FFg1G5N82aO23xT/6LnhQw1roD3ZD5yrT9hHVBBDoPKd6jby2iJZrdyLf9UsV8GyjReH
	 nlqUfchRtmrCigUkdtFMT6m+DcZWIblknfqA9OplUD8+UMGwSWkTcULuUesatZNXtzg==
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=Hu8bhn01;
	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 84D3360A2612;
	Wed, 11 Nov 2026 22:00:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1E031F00A06;
	Wed, 11 Nov 2026 22:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794434407;
	bh=QPlbAjgLicca9iUK/LTU+4HhXH7DfDFsly5gN5ecr1Q=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Hu8bhn01VnJLyF7O5DPtLJu7cCqzN3d+r5S/LtoY1L59o9i39jVDodWcTL5o84FtO
	 cefXcpHc9paHVp4aF5mpLjrg3H3ouMf5bikAzcSxPb4PB2vMb3ZmOgVwyroXkYKpOJ
	 yztLItBEz1mdKpCMT5SR51xfXdbAkxtI0q0I+IuBm7AyD88rgnLoEnnlDcu/exC17x
	 vf+9D2UhU7YUwQ56IO654gGmPPKZ4fwkqV3Vs4fUF1GqVsbirNZi/Lxl8ErhREfR78
	 8rHKRVBbGWqGJko1W+TkL7r6FS0OH6e5TOO4COmWWd+l2MCPjfLW/120SzfBlvCYga
	 thgXqAaD8lwpg==
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 D8254391AFAA;
	Wed, 11 Nov 2026 22:00:06 +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: <tencent_91DA7FD8277B509C55906702D1E425FBC906@qq.com>
X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org,
 liuhangbin@kylinos.cn