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 70BE542072 for ; Sat, 2 Mar 2024 21:55:30 +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=1709416530; cv=none; b=IMnLWx4Duf7EbHGr9XOQqADG4mzS4i3vtiDtWbc+CfbqtpwswU+/qSwbdvAzMHumfQ0sd0CAA6xCrMfls2ys9ISV5BJlx5TLvSYeuSh3nGrC/GB6wqZPlv2EdOPbL/YfQ5nyIPzqi9KbSfoguFfZEKIxKErOsePXbNWZmARtLEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416530; c=relaxed/simple; bh=Vk/vWnKZ6CZlvIoSOenFejkg44+pFZ0tlyflu+I3vGQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fiqhrWp90UsA69conQsoWCL9HdZuIOt5ZDlaJ6l3Ppw0liRnVXyDzOi3pY1ufCPfMEc8CjvLUSsuyamaQb3PUQIzDVWelwA+fBzJI0V9CBiGFRP3CcfEutDwsgkHDp3Qrf7yuUB9JvNmwMGl12NiyCjdhK/g+ONM4nBZ8BdnpOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=otksFZnM; 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="otksFZnM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E82CFC43390; Sat, 2 Mar 2024 21:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416530; bh=Vk/vWnKZ6CZlvIoSOenFejkg44+pFZ0tlyflu+I3vGQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=otksFZnMg33jySLYkUnisXATU9VeY+LRZ+ovhC/tQq0sLhB0Dhzx+oBYZflUUL9RI FpFVDs0LSiz3BVm0g3IxSfBrowejLh9G+LmQS+Y1/BSIruClCS3v8aNLNFwjC9Hudk oYHf5Gzyfqq4nj2lIDJpW8OXYb0d5WzGX3aFLU4E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52532: net: mana: Fix TX CQE error handling Date: Sat, 2 Mar 2024 22:53:16 +0100 Message-ID: <2024030255-CVE-2023-52532-57db@gregkh> X-Mailer: git-send-email 2.44.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=2103; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Vk/vWnKZ6CZlvIoSOenFejkg44+pFZ0tlyflu+I3vGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmP5+84VvJu6eG/jtMmvm/+ub/z6+/qfR805v13PpZi9 a6kScTnSUcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBM5PUJhgUTxN+USC7/M3HV 69z5NwTXR/UJyfAyLLj2x9FqumO7XeLJNTMbv02cW+263gAA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix TX CQE error handling For an unknown TX CQE error type (probably from a newer hardware), still free the SKB, update the queue tail, etc., otherwise the accounting will be wrong. Also, TX errors can be triggered by injecting corrupted packets, so replace the WARN_ONCE to ratelimited error logging. The Linux kernel CVE team has assigned CVE-2023-52532 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit ca9c54d2d6a5 and fixed in 6.1.59 with commit b67d7b1bfc46 Issue introduced in 5.13 with commit ca9c54d2d6a5 and fixed in 6.5.7 with commit a910e0f63047 Issue introduced in 5.13 with commit ca9c54d2d6a5 and fixed in 6.6 with commit b2b000069a4c Please see https://www.kernel.org or 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-2023-52532 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/microsoft/mana/mana_en.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/b67d7b1bfc46d05c1a58b172516454698e8d5004 https://git.kernel.org/stable/c/a910e0f6304726da30a212feecec65cb97ff7a80 https://git.kernel.org/stable/c/b2b000069a4c307b09548dc2243f31f3ca0eac9c