Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9C89712E5B for ; Wed, 18 Jun 2025 09:34:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239241; cv=none; b=WPQEjTxreJoMiFVNVmvadhpQtoB2yzZQVi4MY+owq4cBnppWytOVrjsGzxwxt+2WFdJ8/Wt+sO1k/Tm7hjDUoYcaguadAKnOrI15kkUgS3kpWD70RykzGPzNBlnEgCXfxlABLOoflk9bfmJMFHToePnaSngHdaFvxfUCLoPg9zA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239241; c=relaxed/simple; bh=T8DDP/tfT0udC8d8UmVts2e480P/pjq+Tx0W0ssUXZo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c+Fxgl/EGl4oEgdpU6ZqjGMzmzi2I0CgnwSndCRNaMojLk0+VrrdSezYeBVLqoHR0c0UaIToUXOBpLdHLCn35nn6tPTFmSRlfmGHj19Jld3AiJu3/imny4M/m6++23jtAXFHkA0pybVP3+GltBntfk4wLvlFv3pt9J1KDC9ZmRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MMFsshtE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MMFsshtE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0BBDC4CEE7; Wed, 18 Jun 2025 09:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239241; bh=T8DDP/tfT0udC8d8UmVts2e480P/pjq+Tx0W0ssUXZo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MMFsshtERR6xty6FApwebrOAg9o90LlThOy7e5J/N12Bflcf4D44UNn4fkFBE8mE4 FZlyOv0WyMGoAxI4WgAxYb1aArnWZOdFtYa49edXgnJDdQw5b2CASZb+hJvvzRI9md Tqsc627JYQ/35hA5PHAOy65St77j4vFARvb5TsQs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38039: net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled Date: Wed, 18 Jun 2025 11:33:35 +0200 Message-ID: <2025061827-CVE-2025-38039-919c@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2250; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aXgrYpBydumu8+YzrRRzfUFU0vm1JDTRnH/doV7ItJk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlB7c/rllZmN53Ly+v5wH0hxM80MjusJ+L1ojfywuJOy 8QtNp3riGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlUPmCYH79zx++bvhsYFTTe 2sQdzVKpb+xjYZhnEThvRpvjt0i37VUvRTTFuXV9t+QBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled When attempting to enable MQPRIO while HTB offload is already configured, the driver currently returns `-EINVAL` and triggers a `WARN_ON`, leading to an unnecessary call trace. Update the code to handle this case more gracefully by returning `-EOPNOTSUPP` instead, while also providing a helpful user message. The Linux kernel CVE team has assigned CVE-2025-38039 to this issue. Affected and fixed versions =========================== Fixed in 6.6.93 with commit 090c0ba179eaf7b670e720aa054533756a43d565 Fixed in 6.12.31 with commit b82e496531c571caf8a2ef247f51c160bab2162e Fixed in 6.14.9 with commit 9e2bac6835f73895598df5a3a125a19497fad46b Fixed in 6.15 with commit 689805dcc474c2accb5cffbbcea1c06ee4a54570 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-38039 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/mellanox/mlx5/core/en_main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/090c0ba179eaf7b670e720aa054533756a43d565 https://git.kernel.org/stable/c/b82e496531c571caf8a2ef247f51c160bab2162e https://git.kernel.org/stable/c/9e2bac6835f73895598df5a3a125a19497fad46b https://git.kernel.org/stable/c/689805dcc474c2accb5cffbbcea1c06ee4a54570