🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #393

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

#393
From: Jakub Kicinski
Date: Thu, 08 Oct 2026 00:56
14 lines
6166 bytes
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 :(
Technical Details
Message-ID: <20261007175641.2fb7c38b@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-342612-linux-kernel-netdev=dewy.ru
References: <20261007045616.445596-1-edumazet@kernel.org> <179134921160.2527009.6970913813334453403@kernel.org> <9f688c24-488a-4862-b8fa-7a34750285c5@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-342612-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] flow_dissector: avoid u16 truncation of hlen in
 bpf_flow_dissect()
Date: Wed, 7 Oct 2026 17:56:41 -0700
Organization: Usenet Network
Message-ID: <20261007175641.2fb7c38b@kernel.org>
References: <20261007045616.445596-1-edumazet@kernel.org>
	<179134921160.2527009.6970913813334453403@kernel.org>
	<9f688c24-488a-4862-b8fa-7a34750285c5@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="771861"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:laQLc0oZ0KJOQ5GTB/XFSr6KUP0= sha256:u9vFDB6NDt605P/mCvBqPC8gcAf/6b7pCoAwXjxqji8=
	sha1:7LhCjs11RfR95lo85VwD3AQn0/E= sha256:eumgHWTt3g01mo22Gh7L0qPCa9qIogGUyUbKvBn0LqM=
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 58C8D10F294; Thu,  8 Oct 2026 03:57:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.641
X-Spam-Status: No, score=-3.641 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, 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 9Qx5RTvzSa18;
	Thu,  8 Oct 2026 03:56:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-342612-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 5359C10F291; Thu,  8 Oct 2026 03:56:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sin.lore.kernel.org (Postfix) with ESMTP id 8ABE326537; Thu,  8 Oct 2026 00:56:45 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 12906233134;
	Thu,  8 Oct 2026 00:56:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RikltY6a"
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 D128728E0F
	for <netdev@vger.kernel.org>; Thu,  8 Oct 2026 00:56:42 +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=1791421004; cv=none; b=KkodFnpDCDXH8xYRtG/8+Jr1ii6RITGZVJidJtpZ3hU2VGIUdCi4hKDTVUFQ8lMVg9BBF4WQ4hrvnOX/LpdIluoVVwBdWRFVoHiLuMRSSzk7cV6dum/ih4XVRtcfyGZOwSFNrMNCeuCLmd/RJi7fR7rfaF3LgXvDAjmKpxloE+k=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791421004; c=relaxed/simple;
	bh=DVGlQcfpGLVLCRielDG4h54LSZUipWSC5fLf2f757PE=;
	h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Type; b=TRw3SCftPxsLmZUWWrAFJwId35VhjCnFRpsOQ2ARls/RVcfJqSZxS7ADjcvZHqLZ7Yc6tWA9Qe6haKEK/fiVheU6fEf2McxeKQF5E3NQ2N6x/+p13XmfJSfsvQ4i5E1jKXBHhlu2QvdjlJ23BEFfWaD+kiB5Kjak+nArWoolC8w=
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=RikltY6a; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F10E1F000FF;
	Thu,  8 Oct 2026 00:56:42 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791421002;
	bh=sG1bolkgfI4KyjVMVO5Myt3WwHaJ6IV3lHtcR3qKqSE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=RikltY6aBhbaKkoqUseYZeiYzhjX4fMhQsX6dlPFl7VfytTEnqj67IGLUAiRiDvO9
	 ml0FfcuARw9w+rRWTGKXjeORF8mX822tE68ZQG/G+Ytm74Sqlg3cu6TD7uYe+xRgIT
	 0titOozVqypzIzz8MY5gSrAtZdOvMZluDNtMTE2BBcrjNBmmyaoyWQD9UaEuUdJ8G3
	 mvsCN0+XT6UVkrTGQP6zazDZyBAzCIdveHkrsifN6e+nqa3EnAy9UD60x1M7Rxpp8/
	 MPcOlz1Nc/Bh5VhVSrTx3tY6Q/Rxss5H6NOLAG/daIOY8NtDp4pXWEzAuyhvg/UVHe
	 tLqLmaLaNs2wQ==
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
X-In-Reply-To: <9f688c24-488a-4862-b8fa-7a34750285c5@kernel.org>
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>