🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12195

Re: [PATCH net v3 0/5] net: fix misc signed overflows caused by bad sysctl values

#12195
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 12:20
32 lines
9636 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Sun,  1 Nov 2026 14:11:58 +0800 you wrote:
> Recently I have reviewed quite a few fixes for variable overflows caused
> by config values, i.e. a value set from sysctl, module params or netlink
> that is accepted as valid but later overflows when it is used in a
> calculation. I believe there are more of these still out there, so I
> used an LLM to dig through the code and it found the issues fixed in
> this series.
> 
> [...]

Here is the summary with links:
  - [net,v3,1/5] ipv6: restrict gc_elasticity to 31
    https://git.kernel.org/netdev/net-next/c/3ff59dd75d71
  - [net,v3,2/5] ipv4: fix shift-out-of-bounds in ip_rt_send_redirect()
    https://git.kernel.org/netdev/net-next/c/26627b7bf8cd
  - [net,v3,3/5] ipv6: restrict mld_qrv to 255
    https://git.kernel.org/netdev/net-next/c/6d6bdc1b943c
  - [net,v3,4/5] ipv4: restrict igmp_qrv to 255
    https://git.kernel.org/netdev/net-next/c/0bc7b5b2985f
  - [net,v3,5/5] net: restrict message_cost and message_burst to non-negative values
    https://git.kernel.org/netdev/net-next/c/75f5722df2b4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179396760723.585103.10973765623205620658.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-358015-linux-kernel-netdev=dewy.ru
References: <20261101061331.286404-1-jiayuan.chen@linux.dev>

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-358015-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 0/5] net: fix misc signed overflows caused by bad
 sysctl values
Date: Fri, 06 Nov 2026 12:20:07 +0000
Organization: Usenet Network
Message-ID: <179396760723.585103.10973765623205620658.git-patchwork-notify@kernel.org>
References: <20261101061331.286404-1-jiayuan.chen@linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3889427"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:zlC7bFBd/W4mzEUbP9Wv+foSoUU= sha256:qSP669T+ZWHHq+uv28rB0MbA/3YqfNjKYBbHDz/m0Z0=
	sha1:9qdtSciHzZMZbgt4z4iEIODl1Rk= sha256:I8043LtD/nMeksnmM9frU+uIVqNqVRk5CO3d0Awll3k=
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 0BE4111326C; Fri,  6 Nov 2026 16:35:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 7XRg6_QujDJT;
	Fri,  6 Nov 2026 16:35:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-358015-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id C83A6113220; Fri,  6 Nov 2026 16:35:38 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id B321960066F; Fri,  6 Nov 2026 13:35:35 +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=1793972135;
	b=Im91CZnjAaUtyCKZnUuzmcDwoTMBSn8WknfMARPEPj4ZGeQC95n82glO5TKnqot3YsyP
	 aqvLXWcVpIpLOJjOekXk5aALo67BXDu8MgZHRAOWIH+k7FbALsAMbUP8jujCjCbyPGSsm
	 XGVriazdJx/6UGzLK1tSzqhB3iOiNFSBrllexAiATcOKKxugrolLg7z0N6G9IRxqW0cpm
	 F0KeSzIoYXh+YiGMN5D+wmE3Z7H5IXl271+Bm4Pa1XVZ+AZbZr3mZKNMbK2bBGhcivKP9
	 RRbaTQX8mvR4RRsI02cAIfnpHV97i4j7ih9fnrgcfTf3NYH7Aqox4l1MGA35Ldxjcyg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793972135;
	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=fohuWXyq77Ss8QYfh4jv6v7E27bHAfRVMXpFhoQ08go=;
	b=lNWOsZDMfDto+ZHx5akZMRkrmmt2MWm5xmZ/pv9PRtdfUKo31bjL+IDfdetW+QQpU6Ur
	 aiaWovdL5P9zST0uxSIGkOJ/97M/ruJMbwfvEH3e22+S/I6PLuFOPblMISDqObVRDoCZs
	 8AKsX5lzoHEAO5i/6cEf5kZ4cDbFSna/3x62mjrzYwBOQ6dTwjCB+aH8ajR6iUPZim+KU
	 /oTbKf9BfYJobRJKuKi5c7NgwdVspT0sk0Bdp93QZkTgBij7K/d62VLZRHFOp2ObbmSp7
	 hw2GoisbDYMst6ClAOqFk9s2YGEEWLLZKNWx0e4H/jQIQosrVGhxhbtoedsypL69XQg==
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=PKX+LDI2;
	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 EA7BB606A331;
	Fri,  6 Nov 2026 13:35:34 +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=PKX+LDI2
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=1793972129;
	b=rm1ce9UoAZr+6GniUExHDDKn7g55122u249hSz8jbPOPLkHzaud7PUeip2H84eDApFV/
	 wqGWy4RrP1iWp4nGvowfJX2bibQko+q64ZYuQMxEYrYiAshuDcYyFipLfzpabwYxFrrs/
	 PBmYc2VA/i7mcbCsuGyPztbgnNiqw5O9IsUE3NFEtlaK1sphR1V9QTV0yH4Vq6qwnsQKA
	 iWhy/74hH3vAOGu/OHvCObl0o9iIi9H80iY3NygPuHavQFYmCTHSq+3IutJcyK/N+vrPa
	 LZxdqpDVQ4dhXGucULdMjXbwgUiT7wtn5c4TB5q1saCySryQ8iGOdbb30Buazbdq8wg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793972129;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=fohuWXyq77Ss8QYfh4jv6v7E27bHAfRVMXpFhoQ08go=;
	b=Ae9CG3n2qH9FGzOanc1PEfxUry5sXD/dpmPeC/zHHWo3gTsmo96Orbh49sy2ZCtkauCx
	 tZrShhz2cSyVweRErLXXM96QR2nukFclTRSRkRZQ99cY4GyMi2ZEYH4cUDBBlyY3613hi
	 w1gNLUeHl1GVZy+lKntdZ/Jk/hfWPs4tlEUl4zkzTZR6Vrpzr4coFrL+AkSoo6YSwQyph
	 3v/vt1vVGHa/EOipHvAuarM8tDlAE5SNOXgScyhS/n0uOEn/O+kYoAUHjIYYC2tAm2g+q
	 7w+836OGpauqU5EVwOSmREaw9cNLNExO4FqD/Qm5yyP85EopNkY/0jm5JDNs9N/OQxg==
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=PKX+LDI2;
	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 CAAD5606A326;
	Fri,  6 Nov 2026 13:35:28 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 442C01F008A1;
	Fri,  6 Nov 2026 13:35:28 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793972128;
	bh=fohuWXyq77Ss8QYfh4jv6v7E27bHAfRVMXpFhoQ08go=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=PKX+LDI2y+5KgLQ/KPBy9kZygwh6GOdQyFOlpdYq7Pim3zDIR2xznEwuhs/0Xt8kN
	 sjVtgXnnYyQdmxWmDzMMODK/4VEMqAs0A6KemFFmChFNCQNnfXXYuhS31bydfuDp56
	 0fGnpGftOnXX9FWzeNKuyUvm19AnVorQ67WHEOrrIPxMesK96LcqgABpcJZOfu8M4q
	 7JUV1b6udqO8uhx+0ZcmSBNDqDA78Hbbum5//zDixYEKNt8sCx94QAAe8+2XI38f5n
	 y6Ud1LvJJDD3TdC9J26wtmDIa4rqDTROzqN9WTHUQHU08BX+pKzT1aAKoYFdLzBMIe
	 7fcVd5kuvic0A==
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 9B2663930E6D;
	Fri,  6 Nov 2026 12:20:08 +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: <20261101061331.286404-1-jiayuan.chen@linux.dev>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, corbet@lwn.net,
 skhan@linuxfoundation.org, rdunlap@infradead.org, dsahern@kernel.org,
 idosch@nvidia.com, tglx@kernel.org, joel.granados@kernel.org,
 fmancera@suse.de, petr.pavlu@suse.com, kuniyu@google.com, willemb@google.com,
 maoyi.xie@ntu.edu.sg, oleg@redhat.com, zhanxusheng1024@gmail.com,
 gerd.rausch@oracle.com, razor@blackwall.org,
 chia-yu.chang@nokia-bell-labs.com, bronzed_45_vested@icloud.com,
 hannes@stressinduktion.org, fbl@redhat.com, pmladek@suse.com,
 paulmck@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org