CVE-2024-50001
"Meltdown of Mapped DMA Mapping in Mellanox Linux"
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix error path in multi-packet WQE transmit Remove the erroneous unmap in case no DMA mapping was established The multi-packet WQE transmit code attempts to obtain a DMA mapping for the skb. This could fail, e.g. under memory pressure, when the IOMMU driver just can't allocate more memory for page tables. While the code tries to handle this in the path below the err_unmap label it erroneously unmaps one entry from the sq's FIFO list of active mappings. Since the current map attempt failed this unmap is removing some random DMA mapping that might still be required. If the PCI function now presents that IOVA, the IOMMU may assumes a rogue DMA access and e.g. on s390 puts the PCI function in error state. The erroneous behavior was seen in a stress-test environment that created memory pressure.
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Oct. 30, 2024, 9:59 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-50001
.
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-50001
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50001
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]
Oct. 30, 2024
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 Changed Reference Type https://git.kernel.org/stable/c/26fad69b34fcba80d5c7d9e651f628e6ac927754 No Types Assigned https://git.kernel.org/stable/c/26fad69b34fcba80d5c7d9e651f628e6ac927754 Patch Changed Reference Type https://git.kernel.org/stable/c/2bcae12c795f32ddfbf8c80d1b5f1d3286341c32 No Types Assigned https://git.kernel.org/stable/c/2bcae12c795f32ddfbf8c80d1b5f1d3286341c32 Patch Changed Reference Type https://git.kernel.org/stable/c/8bb8c12fb5e2b1f03d603d493c92941676f109b5 No Types Assigned https://git.kernel.org/stable/c/8bb8c12fb5e2b1f03d603d493c92941676f109b5 Patch Changed Reference Type https://git.kernel.org/stable/c/ca36d6c1a49b6965c86dd528a73f38bc62d9c625 No Types Assigned https://git.kernel.org/stable/c/ca36d6c1a49b6965c86dd528a73f38bc62d9c625 Patch Changed Reference Type https://git.kernel.org/stable/c/ce828b347cf1b3c1b12b091d02463c35ce5097f5 No Types Assigned https://git.kernel.org/stable/c/ce828b347cf1b3c1b12b091d02463c35ce5097f5 Patch Changed Reference Type https://git.kernel.org/stable/c/ecf310aaf256acbc8182189fe0aa1021c3ddef72 No Types Assigned https://git.kernel.org/stable/c/ecf310aaf256acbc8182189fe0aa1021c3ddef72 Patch Changed Reference Type https://git.kernel.org/stable/c/fc357e78176945ca7bcacf92ab794b9ccd41b4f4 No Types Assigned https://git.kernel.org/stable/c/fc357e78176945ca7bcacf92ab794b9ccd41b4f4 Patch Added CWE NIST CWE-755 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix error path in multi-packet WQE transmit Remove the erroneous unmap in case no DMA mapping was established The multi-packet WQE transmit code attempts to obtain a DMA mapping for the skb. This could fail, e.g. under memory pressure, when the IOMMU driver just can't allocate more memory for page tables. While the code tries to handle this in the path below the err_unmap label it erroneously unmaps one entry from the sq's FIFO list of active mappings. Since the current map attempt failed this unmap is removing some random DMA mapping that might still be required. If the PCI function now presents that IOVA, the IOMMU may assumes a rogue DMA access and e.g. on s390 puts the PCI function in error state. The erroneous behavior was seen in a stress-test environment that created memory pressure. Added Reference kernel.org https://git.kernel.org/stable/c/ca36d6c1a49b6965c86dd528a73f38bc62d9c625 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ce828b347cf1b3c1b12b091d02463c35ce5097f5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fc357e78176945ca7bcacf92ab794b9ccd41b4f4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/26fad69b34fcba80d5c7d9e651f628e6ac927754 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ecf310aaf256acbc8182189fe0aa1021c3ddef72 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8bb8c12fb5e2b1f03d603d493c92941676f109b5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2bcae12c795f32ddfbf8c80d1b5f1d3286341c32 [No types assigned]
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-50001
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-50001
weaknesses.