🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26255

Re: [PATCH net] net/mlx5e: psp: Fix stack info leak in PSP device stats

#26255
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 09:50
24 lines
8977 bytes
Hello:

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

On Thu, 26 Nov 2026 23:11:15 +0200 you wrote:
> mlx5e_psp_get_stats() reads the PSP flow counters into an uninitialized
> on-stack struct. mlx5e_accel_psp_fs_get_stats_fill() ignores the
> mlx5_fc_query() return value, and a failed query, e.g. -ENOLINK when the
> device is in internal error state, leaves the counter fields unset. The
> uninitialized stack values are then reported to user space through the
> PSP get-stats netlink command.
> 
> [...]

Here is the summary with links:
  - [net] net/mlx5e: psp: Fix stack info leak in PSP device stats
    https://git.kernel.org/netdev/net-next/c/f996d0d8ae18

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179629140550.2490293.10096028379445531147.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376456-linux-kernel-netdev=dewy.ru
References: <20261126211115.767481-1-tariqt@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376456-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/mlx5e: psp: Fix stack info leak in PSP device
 stats
Date: Thu, 03 Dec 2026 09:50:05 +0000
Organization: Usenet Network
Message-ID: <179629140550.2490293.10096028379445531147.git-patchwork-notify@kernel.org>
References: <20261126211115.767481-1-tariqt@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2452428"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dHV8balSdTIMm88mo4PYAtfb1hw= sha256:nCcxVNy0XuJBptCMeY7/cIvsjR6E26ENNBK1foL5YSE=
	sha1:J2qDG2OPd5vSMfzznaKrx2nTfP4= sha256:BY+L4jXJ/l9IErozYKxRE06JWFGQaCMuu9Gsii9+V1g=
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 F3F591178B3; Thu,  3 Dec 2026 12:50:21 +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 f1KkvbLUvr2w;
	Thu,  3 Dec 2026 12:50:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376456-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 95C711178B0; Thu,  3 Dec 2026 12:50:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id AC1C730E64; Thu,  3 Dec 2026 09:50:08 +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=1796291408;
	b=WdM0tjNVspZd4nM+IJxfnG6vTA88sBFqN9/Otnf12dqeJSc0gMBv33YPMzMY88YdcSV2
	 aAfm8lO4WBtUa+OS97ilvleZKWacQJ70gUf9oITWbu8ApN7xCrnCAvW+loCu326KfI3Mk
	 a1IuFLIdt+aSlDARxWPiyN9C4IuK/kB6BZTSqhpGCo6Su150BkZNgN9pF6GfCUsZYUtGP
	 FTkGdhiP+xQC0eQ8Dk3i3MzEZeOg9EeR6GnC2Wy66hMsdMMwUasIsPI5mpEXDkt1ImE0o
	 wNbfhUEMDeQeQ2UUg/KcIxyR4giBeeO6HMmIxvHcO8J36cbJVHUzRCVLuxZd0fPLoVg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796291408;
	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=kmKsdzJBG+pOaVUlUeVirrVl+8lkIS3xDC4jl4Xt8UM=;
	b=W6J1+GuCC1Lg3Hl5UjInWY9eTiTG8/W0N9XXgfrkYiI/DGovufiz0Iqtg3IN31yVFYPz
	 ll/QwLI+6oCEcS963Rxu8okf74knedl/skYZgv/PGxe2fACFkB+NMFnwC55xcQQoS/gUI
	 iiPBTEyeQYH3c8dp8v3ccLlw/9or/yQhS8tRFi5+HoqOa0xWTTNnpsCKT5u6vXOIXUJhX
	 WsjVN06gou7z3YyikqA+Wz4HYIOnffYcWgeUQLK/MilvLdLBXM9/av6GcAT3RDAOMuJ16
	 zJ2wvA2mwgychI9YpLEOx3wBoz1zK79FQNPMHSoUpoZEDmFurEAXOaujVElHoVSD4fw==
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=DK0jfkz+;
	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 EE88B606A335;
	Thu,  3 Dec 2026 09:50:07 +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=DK0jfkz+
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=1796291407;
	b=FdfpOq314HuIiVPIJPzV5MvR7lv6RA5fm7AW+ZP5FsrrSAOoZoXzmrNMn/Sp3jYPssGk
	 ciMJsZje2+2SxgdFwgJbl6SiCxBVvqw0lTcXnIYgwp0kmWKgUi/W9NJS8+xwElfQySeln
	 pgpsBgdBWuKCUI4RwcNWK2wRsPkNTlkGIRHWORBKyUYTOBgu5I7tosCYYhZHlay9MkVKB
	 0btOAsydt/LeOOT9zt3eNhCgk1EtGYp780LFFIkHebyOFLXSSbsCcF+oEtsFHvypm7wyQ
	 yq0W6Yqh4slc53wwCn8kTw9LUKZ9PsExyYIX2RwNRt29aBgtjx6r2gXNmRQXqknZhXg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796291407;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=kmKsdzJBG+pOaVUlUeVirrVl+8lkIS3xDC4jl4Xt8UM=;
	b=gmpwc/tehh4hoQxqhnGld3OwiAhlZvjKrRSVuXgYh4PMjKIZEGlzcJ/qDZIjYE4kz2O4
	 ZtQ5yUpxme6J3AW0jUUhaDQG8XY1wv496PQtsWf1KIYAMFR00O/6LhZVDCFFAjZ2QINmT
	 TJiKuQWeJrRb8zFQ2M7Lfbg1dPayv8SaRltgfQoQPgenHiLE3xw4h/8GaID6B9nh8GaJl
	 UBylSf3M8APIAthkc6k1z7EwWwiC2DR+b0XSB8dn9tVU9J8hSnT6qJjZKaie+GT+jQHAf
	 97Mg6Jx5D4fnsSQkYl1+LV7wbwec5F31UUBInQ8RIIBH3+YFpy85ONaPkF6mw2ZGJHg==
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=DK0jfkz+;
	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 19769606A333;
	Thu,  3 Dec 2026 09:50:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B76D21F000C1;
	Thu,  3 Dec 2026 09:50:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796291406;
	bh=kmKsdzJBG+pOaVUlUeVirrVl+8lkIS3xDC4jl4Xt8UM=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=DK0jfkz+liCLBWWc3gHnWbOXBsLPK/U4e587vk/nM23U+BsqOUHpjTfI+FFo00V4F
	 pbbegP6fdSLac3XQshrUb+CFxV1WoIEMcPyt1XJJOCr4+lO5AXhMjfYy9dSsCWdsq5
	 YVwkWwWGNuVNhyxbssyGEc9UfojsHRiljAJAObk26i7/tc9EjxufXlcSPnIFVdEnF8
	 E5+m37Y8Syev2lMHhgS79/PZ6MNI6NVyxl2FlokHf8HewpFMXNOSTysjk9AU4WvSki
	 LximQpS4UtR7d/jIL7VWmkbmCD12wb1b2IAwG7uS/kWMXlRBvgLVrIJUv3N5XhZNCV
	 o424g/ncO62+g==
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 AE9093808236;
	Thu,  3 Dec 2026 09:50:06 +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: <20261126211115.767481-1-tariqt@nvidia.com>
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com,
 willemb@google.com, aleksandr.loktionov@intel.com, borisp@nvidia.com,
 cratiu@nvidia.com, daniel.zahka@gmail.com, dtatulea@nvidia.com,
 gal@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org,
 mbloch@nvidia.com, raeds@nvidia.com, rrameshbabu@nvidia.com,
 saeedm@nvidia.com