Article View: linux.kernel.netdev
Article #17513Re: [PATCH net v3] net: usb: smsc75xx: reject frames without a full header and FCS
From: patchwork-bot+netdevbpf
Date: Mon, 16 Nov 2026 23:40
Date: Mon, 16 Nov 2026 23:40
26 lines
8869 bytes
8869 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 12 Nov 2026 16:23:27 +0000 you wrote:
> From: Joas Antonio dos Santos <joasantonio108@gmail.com>
>
> smsc75xx_rx_fixup() takes the frame length from the RX command word
> supplied by the device and strips the FCS by using "size - 4" for the
> allocation, skb_put() and memcpy() of each frame that is not the last
> one in the URB. The length is only checked against an upper bound and
> against skb->len, so a device can report a length field of 2..5, which
> gives a size of 0..3 after RXW_PADDING is subtracted.
>
> [...]
Here is the summary with links:
- [net,v3] net: usb: smsc75xx: reject frames without a full header and FCS
https://git.kernel.org/netdev/net/c/1b02f90976d4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179487240653.241382.6072784955848476091.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364824-linux-kernel-netdev=dewy.ruReferences:
<20261112-smsc75xx-rx-fcs-v3-1-6ad0378d0384@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364824-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3] net: usb: smsc75xx: reject frames without a full header and FCS Date: Mon, 16 Nov 2026 23:40:06 +0000 Organization: Usenet Network Message-ID: <179487240653.241382.6072784955848476091.git-patchwork-notify@kernel.org> References: <20261112-smsc75xx-rx-fcs-v3-1-6ad0378d0384@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2195037"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:i71yBy7LvfkXoDNM76vVl1KdCP4= sha256:yw/rKL/hboFuDswGCN/rnZWuCg5E+JPcFXdjXF443YE= sha1:W55SDk6rsGt6o3Deimn9lqP5wgc= sha256:Uf+OK4gNSNXpiex0sI4gbBQ0hzFaBQh71VjqG/Dd7ko= 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 0BB08114DC2; Tue, 17 Nov 2026 02:40:37 +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 VFqbD3C4oQEd; Tue, 17 Nov 2026 02:40:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-364824-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 00D1A114DBF; Tue, 17 Nov 2026 02:40:24 +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 850E322122; Mon, 16 Nov 2026 23:40:19 +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=1794872414; b=obgZFu3gvJMdeOF4F0CT23L24qIzdkIDwaZqBPXkli3y8BOIyiXWQuEaTnKBiJkDFoC0 0y8EsfciPgbCUU4Mrn3iPXqqshb1uFSId1Cco65YIpzUFmFbNuk2jHvxwqgUl8ssd8zMi UF18n6s+URcnFud27ezfqn9Ahj4Xq+m90Fokb5ntnDxh2Rwi21ayYz7Dfq6n0BcDApa2R /mUsz9p8V/kcPI1HKnV1qJglripOud/ayKDHWLqv6Zx8ZhRpbxfZfesOOINxeL50q86Qd QADcASutFagWdoF8TWkRF50SC0Apzv5eXr/pVPW+iG6NvUkDxCoMdouJJeV19U0dEyw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794872414; 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=o6DtZ4QfLqxd8P7gv4EDdAGSJ0MyhP4XAhBB0Bn7C10=; b=BGR3Dr4aMuItCJINuG55qjsDaaeQNX+h99OHAHLEwMe9ZicnZYEMwbCBBp8bfGF0ZVSS HFfchT1UOHwsuOGH/sGijCNvfWtp/4vRDlcukOFn0p6c3Ocze/R7UCSudZ8RwMoGxdbJe 9mXRkH8SzVdvF1CKy2yU7ZKv2U6bVppir2vMR8SfUExPY1Q1IlLtRZrR2VFTHCd3S4pkY SEaMBoxXS9Jb6mJGfw4hCliB8q0v1f1MBlA0yDrTfq5OeRzHApexzY/NkOD+jsm8nRXhA UWtDRhjgf/3Iun2C4mk90jyOZph7OW+Q/wK9KyXFyr2H/0bd4eUym0bgUTV9WQ5NL8g== 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=hMn2r7El; 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 49B20606A338; Mon, 16 Nov 2026 23:40:14 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hMn2r7El 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=1794872408; b=mD2ivrQ5zg9R+Nnhp8fkdPiZnvvTrv1NF0LAi/4QAsBPGAF62qH4cPfehb96IJpiXYem VeGpJrq8Fu3x1NwZuPCGX/GqR8ler05innfXxkIiL1eFmDdfK9yAmEFQYCLLTIxccW0m1 OCHqO4uOXnZUCOJOGTeqxiohKDgLd6KotpcIjISc0jotCHxujyAKi9dXt8eNg9VLM7LCg 6RC2MULc4DAfIkCO7SLk3KlVv50PEZ1XSRiewBpGY+5QtnM20ht9EoDetT2G9DYh8ZubY q9tHbdM26UWrAn1nEgp6UOGmGI1+fZ3PVOkiWrML2QRjiHhvmysr1lMhhDuSfRCUcKQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794872408; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=o6DtZ4QfLqxd8P7gv4EDdAGSJ0MyhP4XAhBB0Bn7C10=; b=VI534x1wUieAthb1Bf2i0OqngHYvn9VfYxKssoU3a5xYmStonH1clBYrUlfCpsMlB3Hi He1PfaGJK2maj0pOe3M9mOlVEl5NM3hNaPLfTCf1UMRX/o1/29ENhqsJPvJAgzDGgpRts sOxLPz0FL1qd3VbOC5yYUrE4iop9TrY54sxStKIumNYkWHs9+owPvcQrrK587Vu3vnJLd iq0US8tcODqnDtwDL1F4JEJ5MVluXfWfv8bqunmLXRNewMZS/PAkHmQxHBxPHsNpZiPPT 8zTZ4fI3ctUlK+vuS9UltwG2/Bcsfr2dCx7C2wk6wubIwyyYru8nl5KvT+wZ5z4ni1A== 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=hMn2r7El; 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 6554D606A31C; Mon, 16 Nov 2026 23:40:08 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0542E1F000C4; Mon, 16 Nov 2026 23:40:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794872408; bh=o6DtZ4QfLqxd8P7gv4EDdAGSJ0MyhP4XAhBB0Bn7C10=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=hMn2r7ElX2F4bb6Auv3+NkvkHnsEkeYOaWKf28eVtGHd09D220QGl2lyvDTWluI8c a1H1Ct/NWWcoap6W0aU3MOmeGtrRRlzACR0MDhRoiYmpAG+kTsdZZs8NEEcHcWIfjH vpi747AHkYPKWvnpowhJc5hbcZBcxNEVPKQCxdpXNMe+qVDg+Wy0ntk2VJZaN+o3vZ aDdIY0diwviF0vUrfoR/orAx6K+pcEH49QDS2TM5/3H9Doc1A1zx/IloXHCCzT0Vxz s8mp4kI9vtJaFpI/bGRF1VD9/r4bahfd/mRAXJC1LtwvfxpfwvlzFF+fpr+gi0MhfT Uat8+UasY6f2A== 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 F150F391B059; Mon, 16 Nov 2026 23:40:07 +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: <20261112-smsc75xx-rx-fcs-v3-1-6ad0378d0384@gmail.com> X-Cc: steve.glendinning@shawell.net, andrew+netdev@lunn.ch, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, mim@microchip.com, edumazet@kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org