🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #27427

Re: net/sched: act_csum: reject over-long packets before adding the offset

#27427
From: Piyus Kedia
Date: Sat, 05 Dec 2026 17:09
17 lines
11313 bytes
Hello,

Thanks for addressing this issue.

Since this patch fixes the bug reported in our original report:
https://lore.kernel.org/all/20261112075159.3552470-1-piyus@iiitd.ac.in/

Could you please include the following attribution in the commit message?

Reported-by: Piyus Kedia <piyus@iiitd.ac.in>
Reported-by: Kapil Vaswani <kapil@presceralabs.ai>

This would help preserve attribution for the original discovery.

Best,
Piyus
Technical Details
Message-ID: <act-csum-prior-report.20261205@iiitd.ac.in>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378051-linux-kernel-netdev=dewy.ru
References: <179629740500.2548291.10616450113560060327.git-patchwork-notify@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378051-linux-kernel-netdev=dewy.ru
From: piyus@iiitd.ac.in (Piyus Kedia)
Newsgroups: linux.kernel.netdev
Subject: Re: net/sched: act_csum: reject over-long packets before adding the offset
Date: Sat,  5 Dec 2026 22:39:24 +0530
Organization: Usenet Network
Message-ID: <act-csum-prior-report.20261205@iiitd.ac.in>
References: <179629740500.2548291.10616450113560060327.git-patchwork-notify@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3075727"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VykCXFoVFrHhh6pQ0mzvbFoehxI= sha256:NLAIOmTaN8xbXbqoOmuk42qqXd7XWzti1fh19PsK0Tg=
	sha1:dE5pYsY+XGA6iIOfxxCTNHEWWgA= sha256:otnXmfemd2unMiwZ+Q8PbMv1fZ31BDbt+wWwnJw5uPc=
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 C6B02117E60; Sat,  5 Dec 2026 20:09:55 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.298
X-Spam-Status: No, score=-3.298 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.001,
	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=iiitd.ac.in
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 WUJnQcUTwXrR;
	Sat,  5 Dec 2026 20:09:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-378051-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=iiitd.ac.in
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9DD13117E39; Sat,  5 Dec 2026 20:09:38 +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 1E7053125D; Sat,  5 Dec 2026 17:09: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=1796490575;
	b=4C3TZqDu5RhSI5gywUHPGyFRBwves2/ns3r03HL/Kzso+vSEWlfWIwWwYirx3DipGTuD
	 BApU0ERWjSjJu2Ty1P6iAdvyV5pA84tH5OQR/g6HQaqD7uC0z+nxnLEevQOC7GiwFxzQl
	 DnblTc5n8gZTQdbdZofb4kdUcPFASQFOPjlmwbfbHBxVRpN0hw6K/DUdZeik/kJdztmB2
	 Nv6AAZL8sxIZGWqYl/w9OGjRKMeK7UAvnLZEJsnGPeX+NgGQ6ZMKDT2Prz03GHSUVVGjn
	 rt6/ihkba1XXpYSNlXP/b5fqhI4YaQwfutqQG2VVTC4IeB5knT81KExCvwW+Ql5LWTQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796490575;
	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:Received:From:To:Cc:Subject:Date:Message-Id:
	 X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Transfer-Encoding;
	bh=oHetdpADcH6Ayx4YMWKPNPO/KfEXEklIUV1/qd4U12E=;
	b=pXnA/cqMBd5YX1iyXdhNxBTh7RXr3WQYVxxbE0JGivB2hlkxSjuHIov0ymCBWYz2S3SY
	 UoZ9qSiUpf3BS91eqYqgS5aBx4Y6iX6wg8RgEDrqimwlhvLLEAsDxMDqLkDtxox0MIXV1
	 b9yHPFyuhYbN4CBzEr7f3L0pJcvH5DJ6MX2rcyLK+bBmgBCtDrg7HE7LHeqzmo+y6HISK
	 wIHIBCrhfpjSzUvJ26qu36swj4CztMl6wtps0TsbFPgT66wxjFc7/2sfq3EaNYLwZFF26
	 BCKsBoYeAbkksbMoNeJ3iPu3BPUfXMF1U3IEodVUd41giupWgBiFG4wkKs9K3stPuWQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=iiitd.ac.in header.i=@iiitd.ac.in header.a=rsa-sha256 header.s=google header.b=NAuUYbsf;
	dmarc=none header.from=iiitd.ac.in;
	spf=pass smtp.mailfrom=iiitd.ac.in;
	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 E9F7F606A334;
	Sat,  5 Dec 2026 17:09:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=iiitd.ac.in header.i=@iiitd.ac.in header.a=rsa-sha256 header.s=google header.b=NAuUYbsf
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.179
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796490574;
	b=OVP1b+7Kow6Ui3Wj5RxoigLZoK5u0tg7yD+orpdBcopVaxZfG2XLt30APLscvCCB4HhL
	 nR+av1404P8yG6iAndsioFBR2t6B4cwgb19NVifjo2yi5WqWhiM3JVP+F6+td/7+bTnbu
	 NjYwp3SJF8EExDYufG0dEmbUO9S1rxzj52+TbfUhMFIr+SrkA9pRwCpYddIMdCy4wF53f
	 CL8flomIfnffzehut5+r/+4es2Bkpgs0LP4CEuc8qVNhoSWBLrmg4Ka7oELsl2xKRAEh/
	 DMaglb5tBTFaz23Ah8ifGgxmVxjgF/SXPbOfTmSeoVIcNBmIZA1tGdIVQ74vdhh8K1A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796490574;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
	 From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding;
	bh=oHetdpADcH6Ayx4YMWKPNPO/KfEXEklIUV1/qd4U12E=;
	b=19pxxbPHXqmIy7zIGHt+PBPna0Lj1Xfd/tFlBZGDESrYSXIOkr8V/1K1noe1xS5Ld0dC
	 HlXECtNwD8DjUyo1HjPwYfny0ZCoS/AnJiGPS0+hzV5k00z6G8ldQ8gZR2xF0rc6abaxK
	 c6CqjMaAbSa5t6G/klvm8njIcA6baZSHQOBVGjbIibAJ1hdz1lQHyqhcE+JDUZKJQ5uTS
	 Ue8J2MP5a8djxut02uSfH3gy+RFe3xukMWJf6C0beXYBKbwLD87FsN1+oRH9j+d2g1GFf
	 eAmIlj91N3355Z36hcSEQWnxWpy4eynZl4p2LapB5PMBP5PkfH5/i4QikcQ4/1oCyJQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=iiitd.ac.in;
	spf=pass smtp.mailfrom=iiitd.ac.in;
	dkim=pass header.d=iiitd.ac.in header.i=@iiitd.ac.in header.a=rsa-sha256 header.s=google header.b=NAuUYbsf;
	arc=none smtp.remote-ip=74.125.82.179
X-Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179])
	(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 A7E04606A31F
	for <netdev@vger.kernel.org>; Sat,  5 Dec 2026 17:09:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A7E04606A31F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iiitd.ac.in
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iiitd.ac.in
X-Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-33bf40b0c8bso4405304eec.0
        for <netdev@vger.kernel.org>; Sat, 05 Dec 2026 09:09:32 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=iiitd.ac.in; s=google; t=1796490572; x=1797095372; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=oHetdpADcH6Ayx4YMWKPNPO/KfEXEklIUV1/qd4U12E=;
        b=NAuUYbsfx9tQxTVZ2yuaVOdq24jvCaqQoan+Ch/WAJ0n040/vmLycxcZwz/W3vLPfO
         R+gE4uNGux3WvpF0isobARxE5c86oHWgQ+lYAMrsw4drN5C9EIXnkY/4C8yQRpeb0uKG
         qLrXhgEPR5+rdeTGyLQnUfulnWVXveTwZ9S08=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796490572; x=1797095372;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=oHetdpADcH6Ayx4YMWKPNPO/KfEXEklIUV1/qd4U12E=;
        b=C5ewdm/AxbwNWuPYsYVXOYLtM+kz+6qX4xnEhLiZ/MMvvIGe0RNfzXiFPmV2Z/bRwG
         7VnYs7rZYpOxSPS6A3frZk9XX/obeudTHwcX8qC0KtiKvKVL4+dL9S/oxO+eSkX3Kug7
         crb43fntHfiM94rOPDF5M6tyvUzNQd6He6oIlK0Vsvh84igp+nAycDkKDZseo1Fae76D
         Mh9x2yccf0Ymp+heg7k6x11KR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QieFdBJZZ0w9kPHfmz+1BWJNuuwSM+JyCuiTm97CDx1A5ajMRBeFzmZ
X-Received: by 2002:a05:693c:42dc:b0:386:9b72:274 with SMTP id 5a478bee46e88-38752199d2fmr5320736eec.39.1796490571684;
        Sat, 05 Dec 2026 09:09:31 -0800 (PST)
X-Received: from iiitd-S2600STB.iiitd.edu.in ([103.25.231.160])
        by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38752204591sm24666045eec.21.2026.12.05.09.09.27
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sat, 05 Dec 2026 09:09:31 -0800 (PST)
X-Cc: juny24602@gmail.com,
	corvus@tencent.com,
	baronchon@n7mm.org,
	davem@davemloft.net,
	edumazet@kernel.org,
	kuba@kernel.org,
	horms@kernel.org,
	jhs@mojatatu.com,
	hadi@cyberus.ca,
	jiri@resnulli.us,
	netdev@vger.kernel.org,
	kapil@presceralabs.ai
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <179629740500.2548291.10616450113560060327.git-patchwork-notify@kernel.org>
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