🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6515

Re: [BUG] net/sched: act_csum can checksum beyond a short IPv6 jumbogram skb

#6515
From: Jamal Hadi Salim
Date: Thu, 22 Oct 2026 15:46
39 lines
13293 bytes
On Thu, Oct 22, 2026 at 11:36 AM Andrew Lunn <andrew@lunn.ch> wrote:
>
> On Thu, Oct 22, 2026 at 02:46:53PM +0000, shaos wrote:
> > Hello,
> >
> > An unprivileged process with namespace-scoped CAP_NET_ADMIN and CAP_NET_RAW installs a csum action for UDP-Lite and sends a 300-byte IPv6 frame with a Jumbo Payload value of 0xffffffca and UDP-Lite coverage longer than the bytes present. The jumbo-length addition wraps the pull-length check, while the later checksum path still uses the unwrapped length.
>
> Please configure your editor to wrap lines at around 70
> characters. Standard netiquette rules should be used on mailing lists.
>
> Flooding the netdev list with bug reports like this will just result
> in them being directed to /dev/null.
>
> If you want to do something useful, fix the issue. Please do it
> slowly, one bug report at a time, so you can learn how to do it
> correctly without wasting peoples time.
>

And worse:
1) cross-posting to the security mailing list on bugs that require
CAP_NET_ADMIN and CAP_NET_RAW
2) Parroting quiet a few bugs that are already posted on the list and
undergoing revision adding more work to reviewers.

Which LLM do you use? Teach them to read the mailing list before
declaring an issue unknown. Just because it is not already patched in
the kernel does not mean work isn't already underway. If you fix these
issues, post again.

cheers,
jamal

>    Andrew
Technical Details
Message-ID: <CAM0EoMnP3VkEV6fOAMdZ9ma9egUpV4AFfB+44k4VD7jx2dHPNA@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350670-linux-kernel-netdev=dewy.ru
References: <20261022144653.60550-1-shawnq1@163.com> <76f5a903-90cc-4eeb-8afc-99b5cd89b75d@lunn.ch>

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-350670-linux-kernel-netdev=dewy.ru
From: jhs@mojatatu.com (Jamal Hadi Salim)
Newsgroups: linux.kernel.netdev
Subject: Re: [BUG] net/sched: act_csum can checksum beyond a short IPv6
 jumbogram skb
Date: Thu, 22 Oct 2026 11:46:47 -0400
Organization: Usenet Network
Message-ID: <CAM0EoMnP3VkEV6fOAMdZ9ma9egUpV4AFfB+44k4VD7jx2dHPNA@mail.gmail.com>
References: <20261022144653.60550-1-shawnq1@163.com> <76f5a903-90cc-4eeb-8afc-99b5cd89b75d@lunn.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="248539"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5GEtxnTdK39pnwxoWTNVDLlCTuU= sha256:c7FjdnwDXj4Z69nAAOKjJ+ZSJT0RR9FLNUrjxup8VFk=
	sha1:evC35vXfM7DZb11I2dgxE2k8NGA= sha256:YrKKlU67WaVTpzozcd8IgA2ybHSvLrlLQbWrm79Lick=
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 1472E1112E2; Thu, 22 Oct 2026 18:52:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=mojatatu.com
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 iizai8oFBC33;
	Thu, 22 Oct 2026 18:52:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-350670-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 51D4F1112A1; Thu, 22 Oct 2026 18:51:52 +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 43A612BAB5; Thu, 22 Oct 2026 15:47:14 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792684032;
	b=ZEZtAwMq3vnVHt4ZVCb2GDwN9BSKrQ0RdRaQe8DZRmUDIG0inkqVxuzYeoOib45FS2Uj
	 0vYFPBpE0inRmyUF/+o6XDGtkEnPeDb4R7m7Uy0ga9gzCAm4Aby6sOYM8Jc8HWGEOGO9i
	 Jhgz8myrx6RH4ohVhf8865QsqXiuBbJrqqGNMRE8lbm1P8P7Gpc7wIT1Fvxe0f5binlCD
	 oWUHdOEXjrqlDyrSzpvgqYJOGI5n6T88r1xLcUjfMduAf9tNzSmjEq/pNJFl9rq3rOFP1
	 Jg97ev7s8/XAF4W8GeTbE2RjdpsU1v5qrQZ1TzA7e2yZ6x9nCLswKy6eQM6u72o7i5A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792684032;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
	 Cc:Content-Type:Content-Transfer-Encoding;
	bh=K87CCPS1qg3XSuuyQwUVQwMf99DWkHVL+uF6Y4gOyqM=;
	b=JWGSFqcQifBZufxjMf8ob4Dq65J1XDA7/QE7Bs13DBknJ5siiFkL2wRGplMDRl28DNOX
	 cRogARQ9rcyuPhh5lPHmpKyj02eLLaB7aDn7luRm0+wHyY18LjaeiZgALKs5ZFwOlNf5s
	 ZpRcCozcIeRGiMuzMEg0rIPg4/B5N8pc2luokBGgCJasVUQyVBrqiccdQuf2qhe0M8M8Q
	 qhr7Jfl36Dj/BxVOWwwiWJJk5vCuwXrIrOw0kTT8XJgJWtrxg2CFX2lFECZFJ6jAnM6SB
	 YpA+P6s9PSlLT8bkB0qQdV9GaJZCBlL4IN8kpItGyeTceckZYa94YWmz/KI6/Z8jf8A==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=TsC7NEuf;
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	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 A5CB1606A337;
	Thu, 22 Oct 2026 15:47:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=TsC7NEuf
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.169
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792684021;
	b=pVSh65AaWXStFrNDMRJC8QsNla9xm+RbeVcaVbLxNshkW7uBBrldMt3sWm0BEn8rshFl
	 9UyccB/XBTR26TspjSj8p34Gu315HLwwHHCLj+8iioJtKYdIsNXR1mpXPMQK3GnTD//E8
	 5uJ46Wd36QpDqheirjTztMiJ+3D6tiH+UXIpoN0WczpXP7lqEt96IncdoGVvw+7BcJEA0
	 byD+h2BYjLQczvf1Pgs9M6jqAZERAaA9ylpzY8VrtQ5buXMwXs2QANknr0bixGJsW9duP
	 wH5zk8J66kzK30JUiZ6sUabs5spg2gWErSgVUjrBjBrkqcv5ugsLTnJveMnBlhsdJgw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792684021;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
	 Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
	bh=K87CCPS1qg3XSuuyQwUVQwMf99DWkHVL+uF6Y4gOyqM=;
	b=mnbvfG+t+w28udvB18HNq6eHO88refgCaN2O4YZJmykUurPfCWywVX6ba+hvxqY73MfU
	 2GMDJ5f/WbJUjmt+hfvCqWwLkt558cw672/2b5GeOKGYPLRYqMQjM58rQK+mXuT/bvoQg
	 IOWKtJIyqiKLfT3P4KXZ4881W70AXBVEqeNBe8FFtzb6+JmLgGm8OT6P4NGL1wJEx8gCD
	 /zEIIHXhdkwbkLBBMl7GbU9gGc8cMrYvMW6qIYfQWA8SKjLgRgEUnMG4N7k3WHP3xZmL+
	 V3tg9bXfw7JhcTp/oOxVwgUziX2jMf4WIiMhbeCV2sL29/JWqiV7m6IrPnc9W5YS3DA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.169
X-Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E42D1606A31A
	for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 15:46:59 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E42D1606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com
X-Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-89f28c3ac7bso8633b3a.0
        for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 08:46:59 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792684019; cv=none;
        d=google.com; s=arc-20260327;
        b=qGRArxao6ylNnrkSiBbboeerTap/namygO3T7lT2ZWrHDRHZcBFQr7cFM5S+IzUX8M
         2nW6oTV5ikA/AImwH8dUVbCXeAsLwulAteG8UNXM0/RYseHTcYRGH8K30bber6s89Kpt
         Su/yUvhGwJ/F9VX88+kzbN8LF+GtLlVVk2P5WmM1NkhhVm5LSoT7NiPpyio9KD6koPjY
         gfVShW0DbccL0vrLWkrWLa1ZBw+GJOT60p/3Dt81IuxRjOtI5+NM+HVV73aiikDn9Rg6
         tTTd/mbKOJEwX/I9g4MhsOPK0Y2uTXwYLhGtWY5IaPCURH7S3bf15oe6Dbcfu2HEm33+
         owTg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=K87CCPS1qg3XSuuyQwUVQwMf99DWkHVL+uF6Y4gOyqM=;
        fh=J6u7NKbv6OYCSiqVyy1bYlLyBdb42GmcLXFlnQQ2Gxc=;
        b=LhFsV+pb910yn191/WlnQMyYims2tInErBZ5ct0UMlsmF4Cyw2bAJ2lPh39ajh3utc
         20rnHSpei1d41HxhegX4SZsVsYTHOnfq3n8CNtiRHTJdvKqSY6d6fgfjXtRNZ9FOPvWJ
         GAeO4/jrc+SyPLkdb9mBzgZKUS3PeCP2v0MXTmsgYLvAtODxL6muvZzuE1vYyvQY1wig
         LUALhRS9Vh5RYsnQDWEDpQrLwUeOoW2PLjThfVVut+S2eHUFZO6OqQkO7RbjupKtMnXi
         T0zHQP+JaOXaI13bX8KQImjjcUEuU9Hy/JvQZdhe4WiHNwk6sjxWyMMcl9wyNLzQimry
         J2nA==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=mojatatu.com; s=google; t=1792684019; x=1793288819; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=K87CCPS1qg3XSuuyQwUVQwMf99DWkHVL+uF6Y4gOyqM=;
        b=TsC7NEufCbv28J8S4G5i+oT1hwSTJtty6U4/45do0DqJovZpBLkWWvwGHpA23hWyjp
         BVHWoOYa3vqQKkpmcwBvjZtrdFEs/G9rrigRuQNPtiNZ24hzHQ3j3t2Xi0Vt8brw8wrl
         fcGX9wT57wm9lbBTyFcb5ZFrzncdN+VhBuGiI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792684019; x=1793288819;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=K87CCPS1qg3XSuuyQwUVQwMf99DWkHVL+uF6Y4gOyqM=;
        b=Xdmn/+7jEyv6bI2o6c/ZNHNSA6qKfezvdomNie6RDdZ5PwGOeR3t7Fd/9cykM30Rcc
         9m5UM2fJcF6wwWzwwxBozg8ildPu9OHZZoqLYb+fFRESeUYM7R+CiGLf7yyg1i6v+Nd2
         oVZcoNcNXG1+OpQNXjwJwx2jl1Pj/LUEoYb54RXgOdx+8Yicv2GWl7ZI7VaFRlPsm1yZ
         Ucy6HVKVqbTtoCtezgkb4b4/ow1spQp5IGx5FczKySZsG+EuxBtgcxJ2wz6pD+9E+90a
         LaGsGL1rRyVDzx5CJshIcSi/wX51da7LqK5QcwRqZU10dZizZFEgEkAkN3n/lJHotliX
         RalA==
X-Forwarded-Encrypted: i=1; AKwUvByCk/KWiJj25bUIKKUnqoiIxtCDJPgn6jqaIV5oPYK0VCFi4wibWrYGH0srxDtWqjjmXUGZqNU=@vger.kernel.org
X-Gm-Message-State: AFq9FYKSa/bsiGjf0C8Fp+8oTKpyPbPClDLGO8SjPY+LkBT0EDpTAXHB
	1ro2bUjawydgXw4JPLtpBsWssNhwxdDktKyHa4Lboaq7WGLYyQR1yzAhYLy3X+3TnsxqCVaIL89
	0ZF9YyCPI/+F8Ss0irEYly6wCYF2IFoyz2XdQ68ly
X-Gm-Gg: AYBFou2IaC+kroCanUW0mSyptv1ALtuDfks049PK8p6Jb16/Zf1ZuHu6S3ozM2Wa9QB
	vc7OrbgwYAHg5dVyafSzHDPrjJZbp7MwRbx8g/C+8kcmj/NRfEOg2iJo4zuCOnqQAm2OucwRBwr
	2Big01YgKURGmslN5kOF+AIspBfEsJ83FcZHvvma4NoNIJeWqsdDEyf4ItnVB0YP4cTFWVnVXlG
	Ik4oEJBauvJTAVIQRVP8NT0pviKzmvtykjfW/qK5/aEpO06CyritqebFnr2EIpMwuj8/C1jcr2d
	ZVIkbU6c8/Gj75VprVf7XZjwii7Nmk/Fd/bSOY0d2OSU2byG0gsB0AiDSp88ty86CMTFSxiGHxJ
	dX5sh+o0EdV1e2shVMZNAEJZ5oFr5sL/8sdXbc8slTqt/ROQUYAhQ7M63QZRWUw6M7i72pgDXQh
	uIQSUQLUIJfraQOb4=
X-Received: by 2002:a05:6a00:ba02:b0:87c:9094:b72d with SMTP id
 d2e1a72fcca58-8a089c3e63dmr4812509b3a.6.1792684019112; Thu, 22 Oct 2026
 08:46:59 -0700 (PDT)
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: <76f5a903-90cc-4eeb-8afc-99b5cd89b75d@lunn.ch>
X-Gm-Features: AclHuK-D0LdlgAYPPPOkW4ENypnkCNUafVGtRqQogBa08w_vna_OR2uqMMb0vO8
X-Cc: shaos <shawnq1@163.com>, Jiri Pirko <jiri@resnulli.us>, 
	"David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, 
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, 
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org, security@kernel.org