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 4A11A26E159 for ; Fri, 9 May 2025 06:46: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=1746773190; cv=none; b=f9g1s7/0jZFl9YiigOpb5gWHLUn8G7jBYnF9ZtyM69FuJxgkGm6QhtF6PXO2u01Zcx+3CHF+0Y+DlerCVmQLryF6vB7brOK+0DiDRPy8yJCNCZqjl+/UYpxPYb4hhWIKqVOiWW9Umoj8CbWIa6nBb4cGYTodlVp0qQW88IUqWTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746773190; c=relaxed/simple; bh=yxgwrrVR1QlfGTD1lb+O8g/qg4dSvmBVFm2b9c/oUqU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sr++PK5jgZhchZ7X7MHu+v0E+YtSdfL830NS0yCxollTmgrQmGUog1+gtUcBWvbMbWVGXcI788eFjZXVLYSEXkU/wPfcXFo0JIuc20xg2MbXcMDzCPmq5Gm4EBhNYDrh3TAvyplFR6QYF6riWvQc18JwKIewotPSwOE4WtvWksQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jGy2nKjZ; 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="jGy2nKjZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B931DC4CEE4; Fri, 9 May 2025 06:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746773190; bh=yxgwrrVR1QlfGTD1lb+O8g/qg4dSvmBVFm2b9c/oUqU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jGy2nKjZEyemgk9qRS+wtm/RltZfYQDXFWX3FC14+5smUlx1GvwdDEMXXuz/SvU6G Yi6fkiOrz/QAUV08O5Urgn5ioEvJfNoX7C66TMrMivhlYo4TjZmRztqSexNZG07+ld l0CAHdp5XQCI1Xk853VpsCkaMSoBeo1V/YlOUMbs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37888: net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table() Date: Fri, 9 May 2025 08:45:55 +0200 Message-ID: <2025050946-CVE-2025-37888-ef69@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=2185; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nEGmmJUP8iNxdgZHDO1mEJxThB7AWlC0k8N00DnObWg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmyS2ZlpH5w2+FztX7y7O+v0tkfPLr95YxNsID0fqVLp d8u73d50xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATcd/HMD85uotv8687Va8U n/xY1l/WfKD+8CeGBX2PAnmEJ7C3tTy4cVv27AfVbz3BkgA= 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 null-ptr-deref in mlx5_create_{inner_,}ttc_table() Add NULL check for mlx5_get_flow_namespace() returns in mlx5_create_inner_ttc_table() and mlx5_create_ttc_table() to prevent NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2025-37888 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 137f3d50ad2a0f2e1ebe5181d6b32a5541786b99 and fixed in 6.12.26 with commit 0b682680b12b08cd62b113ea92b2938195de1dfe Issue introduced in 6.10 with commit 137f3d50ad2a0f2e1ebe5181d6b32a5541786b99 and fixed in 6.14.5 with commit ecd9d2647ddb4f42a121de648e48659ae1856c39 Issue introduced in 6.10 with commit 137f3d50ad2a0f2e1ebe5181d6b32a5541786b99 and fixed in 6.15-rc4 with commit 91037037ee3d611ce17f39d75f79c7de394b122a 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-37888 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/lib/fs_ttc.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/0b682680b12b08cd62b113ea92b2938195de1dfe https://git.kernel.org/stable/c/ecd9d2647ddb4f42a121de648e48659ae1856c39 https://git.kernel.org/stable/c/91037037ee3d611ce17f39d75f79c7de394b122a