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 7EF5030B52A for ; Thu, 18 Sep 2025 13:36:24 +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=1758202584; cv=none; b=NC9Skbcai0uA4Eeq+vAbju7er7RwqCs/mCx+q2cOOff8XWBRK2KM6TrMaB1N6tw1nGMvMC5dJ9fZXdFhj1jt0c6CYWWaEgrQVg6ZAiS2nNQVjQV/XNM2XRK0BlR3+9JSK3JAmsAEcXH2UMd7mggBfOXDv5VgOjVrzkMR4dQqbr4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202584; c=relaxed/simple; bh=6wu8Z4aoLnQRr0z3e6uavP5ZWx/NlzXCgU9PkAO288M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tdtri2IpN5QYRgsDZeRXms69LypaAHmR/6cY9chdwlLdHFRP4VTzy69f4miURO/U9DNuPNuB1CWhbgaD6A9fuLN0m+6vVy8tcKCCCeDb7HIPmqIRZY+QJ4wWmvDzs3IqoU987D01rAPOyZfUF8hcqWKhm49i4gtQXcH7WM6TctM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QQf5MJdc; 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="QQf5MJdc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 002CCC4CEE7; Thu, 18 Sep 2025 13:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202584; bh=6wu8Z4aoLnQRr0z3e6uavP5ZWx/NlzXCgU9PkAO288M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QQf5MJdcCvMTQW6A9KZp+UCJdkSL6d5RzlGsGM8nK4n7M7mGzo9VtiIR3g0VmYWOF kyJEMlnX9xwqE9P1L10eIOI832zoXk5l4ELZJOgiyOyY8ys7EC4p1RLCafA+CiN2qW WbURbm0qEXtRjRLaRzTQJAaclV4rH8xSuKOAao8Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53394: net/mlx5e: xsk: Fix crash on regular rq reactivation Date: Thu, 18 Sep 2025 15:34:39 +0200 Message-ID: <2025091859-CVE-2023-53394-dd17@gregkh> X-Mailer: git-send-email 2.51.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=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=foG8SZVXEjhPideogDXTgchbCa0vdr4H4/ugEcJqeFI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuNxfsHydfOrNgamXqib6Sq52jyn+ECcyTeSazc4DW rdj3X11OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi4lcZ5gplvuCMizCsdVc7 5t9jtefDpzt3IxkWtHT9d/jPbS2110fk3rLdfY7JLTv6AA== 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: xsk: Fix crash on regular rq reactivation When the regular rq is reactivated after the XSK socket is closed it could be reading stale cqes which eventually corrupts the rq. This leads to no more traffic being received on the regular rq and a crash on the next close or deactivation of the rq. Kal Cuttler Conely reported this issue as a crash on the release path when the xdpsock sample program is stopped (killed) and restarted in sequence while traffic is running. This patch flushes all cqes when during the rq flush. The cqe flushing is done in the reset state of the rq. mlx5e_rq_to_ready code is moved into the flush function to allow for this. The Linux kernel CVE team has assigned CVE-2023-53394 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 082a9edf12fef88400172e7d1b131d65a3ed492e and fixed in 6.4.10 with commit 02a84eb2af6bea7871cd34264fb27f141f005fd9 Issue introduced in 6.1 with commit 082a9edf12fef88400172e7d1b131d65a3ed492e and fixed in 6.5 with commit 39646d9bcd1a65d2396328026626859a1dab59d7 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-2023-53394 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/02a84eb2af6bea7871cd34264fb27f141f005fd9 https://git.kernel.org/stable/c/39646d9bcd1a65d2396328026626859a1dab59d7