๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #493

Re: [PATCH net] flow_dissector: avoid u16 truncation of hlen in bpf_flow_dissect()

#493
From: Eric Dumazet
Date: Thu, 08 Oct 2026 05:34
24 lines
7325 bytes
Le jeu. 8 oct. 2026 ร  02:56, Jakub Kicinski <kuba@kernel.org> a รฉcrit :
>
> On Wed, 7 Oct 2026 07:03:16 +0200 Eric Dumazet wrote:
> > > This is an automated message. This series looks like a fix, but its
> > > commit messages seem to be missing some information:
> > >
> > >   - Whether the issue was actually triggered, or is only theoretical
> > >     (e.g. found by code inspection). If it was triggered please include
> > >     the symptoms, like the stack trace or error messages.
> >
> > Changelog stated: Found by sashiko while reviewing the commit above.
>
> FWIW the AI is asking if PoC was constructed to validate that the issue
> can be triggered. I spent some time polishing this message but it's far
> from perfect. Not sure how to make it clear & concise :(

I was planning to extend the existing selftests in net-next, would it
help to mention
such a plan/followup in the future?

Thanks.
Technical Details
Message-ID: <CAL4WiiomZCPT3dM5NO2FHQ5JRVcvAOOyCKSxc6kAWqe034V5zw@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-342747-linux-kernel-netdev=dewy.ru
References: <20261007045616.445596-1-edumazet@kernel.org> <179134921160.2527009.6970913813334453403@kernel.org> <9f688c24-488a-4862-b8fa-7a34750285c5@kernel.org> <20261007175641.2fb7c38b@kernel.org>

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-342747-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] flow_dissector: avoid u16 truncation of hlen in bpf_flow_dissect()
Date: Thu, 8 Oct 2026 07:34:43 +0200
Organization: Usenet Network
Message-ID: <CAL4WiiomZCPT3dM5NO2FHQ5JRVcvAOOyCKSxc6kAWqe034V5zw@mail.gmail.com>
References: <20261007045616.445596-1-edumazet@kernel.org> <179134921160.2527009.6970913813334453403@kernel.org>
 <9f688c24-488a-4862-b8fa-7a34750285c5@kernel.org> <20261007175641.2fb7c38b@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="809669"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ErZnxhvFsXvhrJS5J/dR8ZEH7FY= sha256:ZZA7iaR6S7lVFU6zKuo5XSlzLNUtAF7nDliczCmdYso=
	sha1:KDrzIxogC9ixFXOIjopEVcp8yJo= sha256:Ur0gMLmSZquFjkbNOO82emdjKDsZPTD7wYgJt8F9wHk=
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 7BB2410F306; Thu,  8 Oct 2026 08:35:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, 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 oQ6xWUajPVzZ;
	Thu,  8 Oct 2026 08:35:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342747-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 3846F10F067; Thu,  8 Oct 2026 08:35:00 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id E302C2B8C0; Thu,  8 Oct 2026 05:34:57 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 71CAC3644C4;
	Thu,  8 Oct 2026 05:34:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Fjv4Vzed"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C2683B14C9
	for <netdev@vger.kernel.org>; Thu,  8 Oct 2026 05:34:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791437697; cv=none; b=FQCbWcevN+FzW2+c567yNzjEMgaWdezjbGWVHI3JIQt0JNe8Nv4uDMGz3ge0IbYQgZN13zKbYpuEVgZtneZl4fBIYb8z2gqnY+GhR5SOE4ziwFASqlvFVY0NmJ6MuIWKb/V/k9CzRJMOS8OpyRPE2+jdvB4mbxObqHmQMUdHPE0=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791437697; c=relaxed/simple;
	bh=9N1Z0bSFRifTcCgGnAazgNApIoFDnssI5YGdBPcOh4k=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=euZefruWCznXY+zpji0jk/FLRn9Q3uiPLqADvaEbGDNn1Ofh65AQ2RQ3+C4qF6BJ25O/b3qeGj6j4AJIV+KilRqJhqO8wN6f5ukduVal0/fa5KTHieAvktXdJILRR32dPVk+6LIeo+xuvrxBYnwsdxm6bFW6ndDjVdYE3y8xHMs=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Fjv4Vzed; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED7331F00898
	for <netdev@vger.kernel.org>; Thu,  8 Oct 2026 05:34:55 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791437696;
	bh=Ueg+nCAvFLpl6p6BjRN3zGaipJJqpL0in2iVc3G7fQQ=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc;
	b=Fjv4Vzed0dr5apTanU1/roIEhw+rifdTe4GmSHRP9Zy/lGN/4XI+Tx2FauMx6xjy5
	 psO7Qfc09Gh4+7mbNn8t8x/Fcs+Y2y9KnW7WS2G17dU1DNEgZsZhmjXxISAs0YNFDt
	 bxmx3DVm+J9y0RNZxKvAuQMYW7i5j/3ffRmboPZCYCrFG1W6/4jYrBrdTGwaPHLUHq
	 IKFZWVSrTNTvasmfcMHxQESxHElAhGj1m9C2aOvI6PR1vH5uoVT0Z9kXN/AQxUxB2o
	 JEM0TXWwibEHioMiP5s//XFQEu6gXoXmwPWwbb9vC7PBGbhTxlupSjPNXdYv6zJs7z
	 B+9pGwLni8wVw==
X-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-48e9476e26aso848697fac.3
        for <netdev@vger.kernel.org>; Wed, 07 Oct 2026 22:34:55 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvBzM7VGouanUyPYEd4ksTOM1AG6wv+cVHUdUBspLTlnDW4GbGg9Z1ebhtUqHwk7ys41oQvZIscM=@vger.kernel.org
X-Gm-Message-State: AFuF++m52jJlvkXV/d1pCypcMLUn5aviNSQorAOj2KY7dcHcxMCB6C3v
	MB6edd9dFaMrkQEzjgLOgPwavcrR/rqbkDMyWofSQnLLu5Z5VU04xpCJ+5oPBNwKQFvFV4Br8dT
	6qDemSdh7PEjOz81GYv2sOHuxIiPmswI=
X-Received: by 2002:a05:6871:3401:b0:48f:e116:db7a with SMTP id
 586e51a60fabf-4a259831150mr3956877fac.56.1791437695262; Wed, 07 Oct 2026
 22:34:55 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261007175641.2fb7c38b@kernel.org>
X-Gmail-Original-Message-ID: <CAL4WiiomZCPT3dM5NO2FHQ5JRVcvAOOyCKSxc6kAWqe034V5zw@mail.gmail.com>
X-Gm-Features: AclHuK-c_3A9-WT6HHeRNgKT0ysMEondmr5PROAFy2NVne25GtSVuE83TIuOjKg
X-Cc: netdev-bot+sinfo@kernel.org, "David S . Miller" <davem@davemloft.net>, 
	Paolo Abeni <pabeni@redhat.com>, Willem de Bruijn <willemb@google.com>, Simon Horman <horms@kernel.org>, 
	netdev@vger.kernel.org