[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050946-CVE-2025-37888-ef69@gregkh>
Date: Fri, 9 May 2025 08:45:55 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37888: net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists