🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7662

Re: [PATCH net v2 0/2] net: usb: pegasus: fix receive length handling

#7662
From: patchwork-bot+netdevbpf
Date: Mon, 26 Oct 2026 23:20
27 lines
8867 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 21 Oct 2026 10:03:08 +0800 you wrote:
> Two fixes for read_bulk_callback(), both reachable by a USB device that
> identifies itself as a Pegasus II adapter.
> 
> Patch 1 fixes an out-of-bounds write: on the 0x8513, every frame that
> is dropped because of an oversized length field advances the receive
> buffer by two bytes, until the host controller writes past the end of
> the skb data area.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/2] net: usb: pegasus: do not advance rx_skb->data on dropped frames
    https://git.kernel.org/netdev/net/c/bfa09dccf98c
  - [net,v2,2/2] net: usb: pegasus: check rx pkt_len against the received length
    https://git.kernel.org/netdev/net/c/efee699f6de0

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305680682.3450824.8798469906798497439.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-352113-linux-kernel-netdev=dewy.ru
References: <20261021020310.34045-1-law.wei.jie@gt.tech.gov.sg>

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-352113-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 0/2] net: usb: pegasus: fix receive length handling
Date: Mon, 26 Oct 2026 23:20:06 +0000
Organization: Usenet Network
Message-ID: <179305680682.3450824.8798469906798497439.git-patchwork-notify@kernel.org>
References: <20261021020310.34045-1-law.wei.jie@gt.tech.gov.sg>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1420484"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:WquNOBXmmihDWrobNUGuWo0KZa0= sha256:3KXPBNFiscr08dCe1JuWlvLF3vz2xFBcIIif37H1t/s=
	sha1:yw61iQ+o/rsdGf31+gA7PhSvStQ= sha256:nKN2fnJ11hJsmX/cSgLiP3HzndjqwK948izW/2z1E4A=
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 BCC23125BD7; Tue, 27 Oct 2026 02:22:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.639
X-Spam-Status: No, score=-2.639 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339,
	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 zkTCNq0R8LvM;
	Tue, 27 Oct 2026 02:22:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352113-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 F0554125BC4; Tue, 27 Oct 2026 02:22:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id E0C472D83C; Mon, 26 Oct 2026 23:20:32 +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=1793056829;
	b=5f/b+lDcTJoptqd1x00K5OHscXOlq3Oer/sjv+NftxrsuOoiaPXdVG1skWzGLDpgfmFK
	 8G1bsMPAG4Xvoo6Ej/5okimXw9eRU30BOCYs46RjOb/M3JgLPuomYL5bJHLdJoVof1zTK
	 TZYPROAKeFylYi+EIpdYks2UwRotq6EyWqnN4RxYsOJ8PGRkr06GNCNu9HI39C11dHAO3
	 w2qUw6WTLnn0vRqQt/iYE7AwoOtRUjCGUYMR64KsdqYE7NEGFs3yaTCQn1Ogh4xC1hoVO
	 biUYjMkulOihzFpwncPS3yXrPYJEYdDgOvKBxPj4LrrM0lOHrxWRUW3/0qCzaDFRNLg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793056829;
	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=DcJrrkGlpe/1ePRnU9+2recCbP2BuwO9gOSF2VkPVyM=;
	b=bEsohtnHXwGxdgM2PL1Uc7mhnx5w3pSg8QIG/LC7sQUXuQFSKhciI+npX2Nf/a2JBhxz
	 N1hi9Pbt9IawCCCfmXdFCMhOA9s5T9cYmU2sbvtC79F8qkqtCCUxZws5oqhd1+ssdFVMY
	 feoutPLOf3EsFMbFIh3B90U1Kg6eNfENWNi7dTn9tNyl/7pNlw1kw0lCxr9HYRdmVzvJs
	 TbLJABgmjTWBqAZwwz13kOgzmoje4ocCUuGngJk5THqntE9HWgMk9X9gewDod9NZnirQ/
	 QxJ+Q5FnpY9cbeh7ExwH0HosKulx3+fwUkLbUrZmeAQATrzsXPrB+DD3dtq5O3DcM6A==
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=X2yr45Ip;
	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 C8E43606A323;
	Mon, 26 Oct 2026 23:20: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=X2yr45Ip
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=1793056809;
	b=dgWbXFXIGsKlLk+zgcCZB6Hm9g1MUf9/O20JBrCFEHL2kiN1XcHWH8zvO64++qgyYeo0
	 7DzGUQd0aKbecI1JN+5+HGiSGfA8/e2Ychov5qtupTyUpILXcB0EfLGrHS6AZqcYQ3RWq
	 AV+y16eHJ5J5AvSX4y90+3Vng7pVJN345MPnUE9YRAzHyWfQmeuVx5jhjXi4w8k/DtXTR
	 o/HyNNCYr/2jEKfmv7gNupMtHl++zvxhNTcvJwqI+M9WFBBr7uewtGrKkDJaGLV1trUXs
	 OBPmPpoKhfW4nU//OSUw7PNc7R8Il3jJ0fx6Q0ggmiqR64gvV4t1Zag1ak7/x7414IQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793056809;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=DcJrrkGlpe/1ePRnU9+2recCbP2BuwO9gOSF2VkPVyM=;
	b=XMiAJeOPE0FVclXrlKji0pRNqYJmzB/c7WobXe4HOfNUSTIQT4PfgUExdzfTlA+Gb4Pp
	 o2W6eEXF9Y2NV+GHK8QGAovcWTH+JWbtY0VaLJzyozmrbZkoaVWQ7qEV0lr+k9ts/NqVF
	 e9mX+5MfUeW5ynxqvscWC9RSm97ftAkyoCPWrH5qOMdSxqgxIkAG5kDFreU7ZjlVMAw3z
	 Ywus+dNQ2FbIp6sDfdVwjRNGZSzhoLSQrO9AwnZ6+hokBGq4cRmhWuA8XHPf12Nd1gNH+
	 NTZflp/NLWpCGlLy4JtBrHTlumef9h/SGrrWz6609Ps/xizyRYGORBETovabJxzS+Sg==
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=X2yr45Ip;
	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 AD753606A31B;
	Mon, 26 Oct 2026 23:20:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E95E1F01825;
	Mon, 26 Oct 2026 23:20:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793056808;
	bh=DcJrrkGlpe/1ePRnU9+2recCbP2BuwO9gOSF2VkPVyM=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=X2yr45IpGAqn23OzTwPQdMrH0BkKlt8+GilcEmpPh3JqsUS5TTpDADjnci9N7PvYS
	 RYh24qY6L9pDIchF+XHK05eM1zGQhw3J/DmJvIesacsrx4K7bFUGzB3Gz00bRwi1Yv
	 CFYykc/y1MqDdAQ2DpRZeJ+xn1lfOkBuE9hprKtLs+xEp/hvcxj3ZXVAVMgGbDct39
	 YSIUuoOihU+k5++yTVwv/yeejRsXOiJXNuq9F6QltryOAMXW8rOR2VTN8hUo84VxGn
	 eb/8DIYzO+yMh8APvnTPu3s7+uXDQxul3a/D3EJ0Y8u3YR5Ufpd1adxB9w9E56PInH
	 z4M9bXTeUuXBQ==
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 444563AA80F0;
	Mon, 26 Oct 2026 23:20: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: <20261021020310.34045-1-law.wei.jie@gt.tech.gov.sg>
X-Cc: petkan@nucleusys.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-usb@vger.kernel.org,
 linux-kernel@vger.kernel.org, 98lawweijie@gmail.com