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 291AE25A2C1 for ; Fri, 2 May 2025 15:57:20 +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=1746201442; cv=none; b=gBSUBXLLi3WduTNqs/dctaq8pke/a3HooCQpZ3HKJPmWyJJQKVIbLbX/R1CcNAtX3Qe66RJMatFCQliSTdBsNEAf43SqlXDy0PFizSQExLqHE/MVL4jJki0K2XAhymt5gejZm4yeKoHXhiYriKazmcVFM0BG82iQgk1Yx7cPiPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201442; c=relaxed/simple; bh=YENk5NlZJES+4NLiCBAy4ayyWqFIdmOPSMx+7KsDBAc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NyVUonUELvF+V3rZuvKmKUoR5IfRrS5I9hgo3uRGvoCqEV0pnVM2ed9dGvSZQiufkvGXqb0aQmHmO2Vxe/XNfN3pxiWw3ZlcNCyFazXnoFfkxlJT0KC4Acc0Uj8wI94tEg8mQNEHvjAvVB5PL2QfoOVc7vLk1taSQoRRGYdK6O0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wasn03h1; 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="wasn03h1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29D0DC4CEE4; Fri, 2 May 2025 15:57:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201440; bh=YENk5NlZJES+4NLiCBAy4ayyWqFIdmOPSMx+7KsDBAc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wasn03h1Ylj4KPBTMvSPf2No+rL+T9uzCQT5iuILIct49LLY7iNnCiEUvZeZFjaa3 2QsOccaSE4umgDlAOsPXrQ82DnV7KNTm/ri1/7DXR4tfqiQy3rW+PpNNTo5q7ErDUP lI1FDe0OBTvbA3wWZ0iM58NrOWMqepWQ1XiuvcNo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53058: net/mlx5: E-Switch, Fix an Oops in error handling code Date: Fri, 2 May 2025 17:55:23 +0200 Message-ID: <2025050208-CVE-2023-53058-a2e2@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=2609; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=c+j/qwV4tSF6volwxKkVpRDBXkQcuFar6YO+3uHKXM0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkir+5Wz/4a196bwH78nKRpdNtd0Re1GVvkev4z57X9z TScZruvI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayoJxhnj1v5qHCCw+eqinF O1e8zO0sKRR4wbDguGT8ydTPyyYq/rnj/GoRn61kmVwCAA== 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: E-Switch, Fix an Oops in error handling code The error handling dereferences "vport". There is nothing we can do if it is an error pointer except returning the error code. The Linux kernel CVE team has assigned CVE-2023-53058 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 133dcfc577eaec6538db4ebd8b9205b361f59018 and fixed in 5.10.177 with commit 5eadc80328298ef7beaaf0cd96791667d3b485ca Issue introduced in 5.8 with commit 133dcfc577eaec6538db4ebd8b9205b361f59018 and fixed in 5.15.105 with commit 388188fb58bef9e7f3ca4f8970f03d493b66909f Issue introduced in 5.8 with commit 133dcfc577eaec6538db4ebd8b9205b361f59018 and fixed in 6.1.22 with commit c4c977935b2fc60084b3735737d17a06e7ba1bd0 Issue introduced in 5.8 with commit 133dcfc577eaec6538db4ebd8b9205b361f59018 and fixed in 6.2.9 with commit 1a9853a7437a22fd849347008fb3c85087906b56 Issue introduced in 5.8 with commit 133dcfc577eaec6538db4ebd8b9205b361f59018 and fixed in 6.3 with commit 640fcdbcf27fc62de9223f958ceb4e897a00e791 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-53058 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/esw/acl/ingress_ofld.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/5eadc80328298ef7beaaf0cd96791667d3b485ca https://git.kernel.org/stable/c/388188fb58bef9e7f3ca4f8970f03d493b66909f https://git.kernel.org/stable/c/c4c977935b2fc60084b3735737d17a06e7ba1bd0 https://git.kernel.org/stable/c/1a9853a7437a22fd849347008fb3c85087906b56 https://git.kernel.org/stable/c/640fcdbcf27fc62de9223f958ceb4e897a00e791