CVE-2024-56660
Mellanox Technologies Linux Kernel Null Pointer Dereference
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, prevent potential error pointer dereference The dr_domain_add_vport_cap() function generally returns NULL on error but sometimes we want it to return ERR_PTR(-EBUSY) so the caller can retry. The problem here is that "ret" can be either -EBUSY or -ENOMEM and if it's and -ENOMEM then the error pointer is propogated back and eventually dereferenced in dr_ste_v0_build_src_gvmi_qpn_tag().
INFO
Published Date :
Dec. 27, 2024, 3:15 p.m.
Last Modified :
Jan. 6, 2025, 6:43 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-56660
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-56660
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-56660
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.121 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.67 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.6 *cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8 No Types Assigned https://git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8 Patch Changed Reference Type https://git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618 No Types Assigned https://git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618 Patch Changed Reference Type https://git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca No Types Assigned https://git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca Patch Changed Reference Type https://git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f No Types Assigned https://git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 27, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, prevent potential error pointer dereference The dr_domain_add_vport_cap() function generally returns NULL on error but sometimes we want it to return ERR_PTR(-EBUSY) so the caller can retry. The problem here is that "ret" can be either -EBUSY or -ENOMEM and if it's and -ENOMEM then the error pointer is propogated back and eventually dereferenced in dr_ste_v0_build_src_gvmi_qpn_tag(). Added Reference https://git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8 Added Reference https://git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618 Added Reference https://git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca Added Reference https://git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-56660
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-56660
weaknesses.