Article View: linux.kernel.netdev
Article #438Re: [PATCH net] net: usb: sierra_net: reject short firmware attribute reads
From: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 02:30
Date: Thu, 08 Oct 2026 02:30
26 lines
6534 bytes
6534 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 5 Oct 2026 11:59:20 -0400 you wrote:
> sierra_net_get_fw_attr() only checks usbnet_read_cmd() for negative
> return values before converting attrdata and storing it in *datap.
> A zero-length or one-byte response leaves attrdata wholly or partially
> uninitialized.
>
> Although sierra_net_bind() rejects responses of unexpected length, its
> dev_dbg() call uses fwattr before that check. When the debug message is
> enabled, the incomplete value may therefore be used in the debug output.
>
> [...]
Here is the summary with links:
- [net] net: usb: sierra_net: reject short firmware attribute reads
https://git.kernel.org/netdev/net-next/c/8df0638138d3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179142661078.3776717.16561807411140979685.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-342662-linux-kernel-netdev=dewy.ruReferences:
<20261005155920.27735-1-xinsheng.zhu.ny@gmail.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-342662-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: usb: sierra_net: reject short firmware attribute reads Date: Thu, 08 Oct 2026 02:30:10 +0000 Organization: Usenet Network Message-ID: <179142661078.3776717.16561807411140979685.git-patchwork-notify@kernel.org> References: <20261005155920.27735-1-xinsheng.zhu.ny@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="786417"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:IxUFvHt9HFivRVdUm3Wd6jMdBT8= sha256:yuqQs9/6f8jM3m1nfc8QS77yn3D26OL4KTs66bkApuo= sha1:YzM5VFH/jbcumLUnZHRzJhaFIMU= sha256:IgqG0wj83IPT8VUgOljJDW39ugSLg9pvAXHEu0M6RDU= 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 3789010F2C2; Thu, 8 Oct 2026 05:35:40 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.541 X-Spam-Status: No, score=-2.541 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, 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 LlVlUUqgto4b; Thu, 8 Oct 2026 05:35:37 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342662-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id B967810F2BE; Thu, 8 Oct 2026 05:35:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id A72613813C; Thu, 8 Oct 2026 02:30:19 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38D6D3A6F0F; Thu, 8 Oct 2026 02:30:15 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T8asDnF9" 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 025313A640C; Thu, 8 Oct 2026 02:30:12 +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=1791426615; cv=none; b=QeKq32Yz20u0wzYDN6a0I2wiMqPyvb02pHTrhkm3c2+wnAxkJN7ZqAzOH3efqE9zo4YKGnurcHrRIWvR+f+HM+N9dm1r4hnsgk0Le+vdJiqMsWIv/SA5g3kkQ+wadtkIwujFFfqcQUt/pQI7/+cOicMorS0zYImhNrYwIwMmIzE= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791426615; c=relaxed/simple; bh=UG65C4IDU3VlyKRnlkmfRa2dC5KPK4ySDU3A8ry9JDU=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=uiHeRx+po1lWwD7dm0VYf+yIs9u5VeUFhkv5KNpSRqmLF3ixTtoZZnJ8G8BdkszfMg6X/uP1qLKNbwqqrdUbQwK1G31bhTgVCeTGK1PTiyP2+xbVQvQxBQJzOGE+U+OKWcskI5KY9PO4IFYDDJrO8g4rxTMAsDQPfps3sFBKAk4= 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=T8asDnF9; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 422101F000FF; Thu, 8 Oct 2026 02:30:12 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791426612; bh=UjBPjN42LTuc2WEP64HAaVsRMJ76g1tba9cFhSCdN0E=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=T8asDnF9D50sVRcdaKdXWqSl1r2ki1Td1LLloAIzTnWiAEeNPXp71nCtOSUmmv13/ uOYljS6uRrYwKFBDtD+RbYtEmcTvuCd5iGnoh/s0KSWLBmVTTkOtQLVRWIh9k6TvGo exh2tb5FKLCWPrH/HWo7S6y9gKH9rcMHSjOhtYtmZ9CmBeEMa7akFdS3FnR+o3lOHd wG7Egg0NP9VPp5SNpKatZkT05wb6QZuHIwW+ZAO6VDUvaq37pf/3p/p442GIgcRvoM OoD+g3466fIGGqDesJsxp3aaBqAtZ7zj+uYiKwxPaRjohQ5s2kKyapaPDgL1WXgbSy shIBrMRQzB43A== 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 3A27C3809A09; Thu, 8 Oct 2026 02:30:12 +0000 (UTC) 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: <20261005155920.27735-1-xinsheng.zhu.ny@gmail.com> X-Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, rfiler@sierrawireless.com, epasheva@sierrawireless.com