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 B8B6E346ACD for ; Wed, 24 Dec 2025 13:09:46 +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=1766581787; cv=none; b=D9NDrAG9SQ2NmhMyaRA2moYOSvYPbUEaGdw7tQVD1B66dORm2zaC7a0qmb51TxlklEe1989IAlrl0Kz4negZZpcCe6YLLuXT9lmbCss8ynKqvxFo9h9fB5Kv+YVxoKeMJzGaPFgLrD5/xmYKgI6PD0a1xQWT1VY0seiG6qAabGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581787; c=relaxed/simple; bh=YGlI+81kLzMUyE1rqGFXBIrW3LaL/knAN9peQd3P2eA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F0vFEPFITcJP41OHPYGylKs3upUB5KPhtTVif2jtPwNo0iS0fpIJqUkY7Jz9PbRfqzCLMahsCpqwjhWDkC5jpKpDNp+nb2TKIPYqSXYJ9yTXydGXqH2yrknBwUa17fyVfHmleaWH3EFks2IJZB1nGgecLTAnd87vfUnpQpSftmM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i0pWWB4E; 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="i0pWWB4E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE08DC4CEFB; Wed, 24 Dec 2025 13:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581786; bh=YGlI+81kLzMUyE1rqGFXBIrW3LaL/knAN9peQd3P2eA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=i0pWWB4EprHx9MhaL7HqPzvdnfHRK6DBdBWa3pUsfINhr5Bsiaaaow4i32r/ZcAEc Y8PMIbMfC/ap8+ADxKn1ZnROxt1EEIOj8sKhLoPEwk25n05MRHPfQio7N72Ov+eGrj VoY8YFhli9yYcoPHCHqVZP8yj6efFIyDDizUwqZk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54106: net/mlx5: fix potential memory leak in mlx5e_init_rep_rx Date: Wed, 24 Dec 2025 14:07:03 +0100 Message-ID: <2025122412-CVE-2023-54106-b8da@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2262; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JzBAoY7pG0CvQ0IvVUkcmepzkZ7xcPDC6ADJI9OzRHo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT100a3fVT5e+eDsh2bieU8ny5/M7/Ue9o6Y9rDuq8 VPnniZrRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzksRbDPLNNqb8ank2wZX8g xzalv2yybYcHD8Ncqfb2JFH5+rzXOxZ2XZt0vOfhmgI1AA== 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/mlx5: fix potential memory leak in mlx5e_init_rep_rx The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx(). The Linux kernel CVE team has assigned CVE-2023-54106 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit af8bbf7300686961f74e72e2dc10a76672603cb3 and fixed in 6.1.45 with commit 0582a3caaa3e2f7b80bcb113ad3c910eac15a63e Issue introduced in 6.0 with commit af8bbf7300686961f74e72e2dc10a76672603cb3 and fixed in 6.4.10 with commit c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3 Issue introduced in 6.0 with commit af8bbf7300686961f74e72e2dc10a76672603cb3 and fixed in 6.5 with commit c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a 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-54106 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_rep.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/0582a3caaa3e2f7b80bcb113ad3c910eac15a63e https://git.kernel.org/stable/c/c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3 https://git.kernel.org/stable/c/c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a