🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7945

Re: [PATCH net] net: lan966x: do not inject uninitialised bytes past skb->len

#7945
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 14:30
27 lines
8840 bytes
Hello:

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

On Mon, 26 Oct 2026 14:46:15 +0100 you wrote:
> lan966x_port_ifh_xmit() writes the frame to the injection FIFO one
> 32-bit word at a time, and pads frames shorter than 60 bytes with zero
> words.
> 
> Before this patch, the last word is loaded whole even when skb->len is
> not a multiple of four, so 1 to 3 bytes past the end of the frame are
> read. For a frame shorter than 60 bytes those bytes are also
> transmitted, as VLD_BYTES marks the whole last word valid and the
> padding starts at the next word.
> 
> [...]

Here is the summary with links:
  - [net] net: lan966x: do not inject uninitialised bytes past skb->len
    https://git.kernel.org/netdev/net/c/b4a7180558eb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179311140682.3859410.2714856393147356866.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-352487-linux-kernel-netdev=dewy.ru
References: <20261026-lan966x-inject-tail-bytes-v1-1-51d599a48313@microchip.com>

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-352487-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: lan966x: do not inject uninitialised bytes past
 skb->len
Date: Tue, 27 Oct 2026 14:30:06 +0000
Organization: Usenet Network
Message-ID: <179311140682.3859410.2714856393147356866.git-patchwork-notify@kernel.org>
References: <20261026-lan966x-inject-tail-bytes-v1-1-51d599a48313@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1559222"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wrRcBuEIaAq7r2s11Nz9Iqf0uYs= sha256:Z7/hYXbnUcDVLhsUHNOEWb0GpGZiSSyY+Sqp8RLUdP8=
	sha1:ljn9z8NtIRRitpS4LIhXLI0m+3k= sha256:/azTW62Chucmu7Xr83hOPxpr4clnrC/+ViBLz1VnkmY=
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 08FB3125BFF; Tue, 27 Oct 2026 17:34:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 VoERAWI--Y4D;
	Tue, 27 Oct 2026 17:34: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-352487-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 8AF4C125C05; Tue, 27 Oct 2026 17:33:51 +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 628E92205E; Tue, 27 Oct 2026 14:30:31 +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=1793111429;
	b=XcFy3rs1MJCXhW6IhNaMJQZsB3KLqsicDYgl2fv57dQYUrNAWq7LfP5JEG12lcdWBNW8
	 S98VLPDZ9PXgYXLEYmh8x6PhjMpXZJwQb07Yd6aD3S6f9d7yfINJCgG3IDcc5OLHGwlZL
	 bCgUlvT51gainsRg/qgFUrJst+uUxZPJwbtjdBj8jhTvvgKsvVvUrW2+cnF1bRTUwHcUx
	 NsxSoH0eMxCClV5lZumfPMuDgI43U5hFASMxRzDpElF6a6ryJHLpsGUBJRv95m8oIoKX2
	 dEdw47YTPWjppB9zZbODtrW7Lf3X4tpNho4REuFzrUBE0BKF0yvKX1nA05Eaz6I/B9g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793111429;
	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=kYgo0vXw1mXNGTCPxn9U6dd5qYtZxrvBfUqi/NIIW+c=;
	b=pT3CGjqttPZKSZ5gvAei1nU+ykPGQpWh0+AxpMz4Tqwr/PuwasDlYu0/njzz1YqgMA05
	 RlkWTvbnMsiiQpGqq69DofmQgdiY46/EZsjbRzrbXYvxjf6BtmUtP8EA0KXIoexFxY+m6
	 t97a836v2B7gGCwiaNo8BW1x0nx/gjwnC2b+42J8rFW99gQ8Z3lxlMAtAh0imATwAeamS
	 cJrVW9N/682MqSLh44I0mTT21KT8LbxwEzoG8vqMIh1kiim+vW3S7Rugz4QHXWIecZosO
	 jhTT2PT4nFK2/QnAxqughB/v9QN9dZOgdG3/HjLZes2MQmIiO+c892Ur+8ZOqyWzMYA==
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=dsUJ0M1x;
	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 2AE10606A31E;
	Tue, 27 Oct 2026 14:30:29 +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=dsUJ0M1x
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=1793111409;
	b=LvG4JVGV98eccPhaunKtjIETA5U223Htm9NzlKEUR8t1A/FgPeVaB+7EDFZmV1ippsO4
	 Hi1IN4ghekrH9GUM8afv5dEyt/ApqZJQ1k9T8uuLLTPYfeqv787wBAFaEjrw/Vee0cWlz
	 c1ZRDzkcoR5hkCKtIPLECool+ZB1soB2aTVae+j3PcssriCLtbtJNOvXymSOiN+dzUML4
	 vlthy9RWA+ZbDml6rWAbWIFyoQh7NXjIiEN586eLhlshO9CYkFwvMv2Y7Wbwl1OOgblG/
	 d7bOB1ehHc+UjErHxxE6VkX0Q606AmgwGoyCBUNl5+4ISBHk9zPfGuboTcHDxlB68/g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793111409;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=kYgo0vXw1mXNGTCPxn9U6dd5qYtZxrvBfUqi/NIIW+c=;
	b=DTV43jRw1CCDHQMyUyxmnmvd/FYGwh/HFlErmxHMtgB9hvRZM4TKSkOclTzbXhlsLhsN
	 LI8vZigZuM36wqsqKBP1Wl54XLgApt/bhkN6P56EQkOFMtAsJduSrthGgW3ssJ3CDvMXp
	 UAnjEmVm6foNpVaqnwEUl0+m3FGkEYT/4Pc/rPfEMPR36JKvRRv9UeB95pUFaDPGgzLGW
	 BwX7O2Ee9pDNBO51ib5+7b+CgGG+SENvTkydB1noQBSD2ei8SR17SGJxx8qgE9+vLNljx
	 LJOe+dc87zihfXVwXCY4a6NO+T/YM94H8RQuvyXPIymCrcrf6JzXp3gI2CbImr5v+dg==
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=dsUJ0M1x;
	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 AF352606A31B;
	Tue, 27 Oct 2026 14:30:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E5841F01825;
	Tue, 27 Oct 2026 14:30:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793111408;
	bh=kYgo0vXw1mXNGTCPxn9U6dd5qYtZxrvBfUqi/NIIW+c=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=dsUJ0M1xwV+i6rPVExbv8Tl115bID9mKOcprqS03XxmXpYqRfbr0xB1vWHxrrfPr4
	 ZnqwxACWMjx2xG429kIgyUGwbmMORBz7AoHx1Iiv+Uq4axGzmgoOAmTjOho63OEQfF
	 b/i/+MooRokBexdkQh3oiObxJcikgIJH2Od60A4BpotJgmtdjp5w8DMj9nn0P0Uuqn
	 DEzQMCA12qOpHEhHBxcDdiENBHm05eIP4ZvezbToR1SrafaEevNfACeqraai4LDUTM
	 oEdf9tpijQsfls3JFJc3TJk+mCLK9I4cKBmDJge5YrS7Jt6n5xNJgaLjBRZ3mEMsmJ
	 bzhilDae5B6Uw==
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 443F03AA942E;
	Tue, 27 Oct 2026 14:30: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:  <20261026-lan966x-inject-tail-bytes-v1-1-51d599a48313@microchip.com>
X-Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org